public class Incentive extends PayPalModel
| Constructor and Description |
|---|
Incentive()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCode()
Code that identifies the incentive.
|
java.lang.String |
getDescription()
Description of the incentive.
|
java.lang.String |
getExpiryDate()
expiry date of the incentive.
|
java.lang.String |
getId()
Identifier of the instrument in PayPal Wallet
|
java.lang.String |
getLogoImageUrl()
Logo image url for the incentive.
|
Currency |
getMinimumPurchaseAmount()
Indicates incentive is applicable for this minimum purchase amount.
|
java.lang.String |
getName()
Name of the incentive.
|
java.lang.String |
getTerms()
URI to the associated terms
|
java.lang.String |
getType()
Specifies type of incentive
|
int |
hashCode() |
Incentive |
setCode(java.lang.String code)
Code that identifies the incentive.
|
Incentive |
setDescription(java.lang.String description)
Description of the incentive.
|
Incentive |
setExpiryDate(java.lang.String expiryDate)
expiry date of the incentive.
|
Incentive |
setId(java.lang.String id)
Identifier of the instrument in PayPal Wallet
|
Incentive |
setLogoImageUrl(java.lang.String logoImageUrl)
Logo image url for the incentive.
|
Incentive |
setMinimumPurchaseAmount(Currency minimumPurchaseAmount)
Indicates incentive is applicable for this minimum purchase amount.
|
Incentive |
setName(java.lang.String name)
Name of the incentive.
|
Incentive |
setTerms(java.lang.String terms)
URI to the associated terms
|
Incentive |
setType(java.lang.String type)
Specifies type of incentive
|
toJSON, toStringpublic java.lang.String getId()
public java.lang.String getCode()
public java.lang.String getName()
public java.lang.String getDescription()
public Currency getMinimumPurchaseAmount()
public java.lang.String getLogoImageUrl()
public java.lang.String getExpiryDate()
public java.lang.String getType()
public java.lang.String getTerms()
public Incentive setId(java.lang.String id)
public Incentive setCode(java.lang.String code)
public Incentive setName(java.lang.String name)
public Incentive setDescription(java.lang.String description)
public Incentive setMinimumPurchaseAmount(Currency minimumPurchaseAmount)
public Incentive setLogoImageUrl(java.lang.String logoImageUrl)
public Incentive setExpiryDate(java.lang.String expiryDate)
public Incentive setType(java.lang.String type)
public Incentive setTerms(java.lang.String terms)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel