public class AgreementStateDescriptor extends PayPalModel
| Constructor and Description |
|---|
AgreementStateDescriptor()
Default Constructor
|
AgreementStateDescriptor(Currency amount)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Currency |
getAmount()
The amount and currency of the agreement.
|
java.lang.String |
getNote()
Reason for changing the state of the agreement.
|
int |
hashCode() |
AgreementStateDescriptor |
setAmount(Currency amount)
The amount and currency of the agreement.
|
AgreementStateDescriptor |
setNote(java.lang.String note)
Reason for changing the state of the agreement.
|
toJSON, toStringpublic AgreementStateDescriptor()
public AgreementStateDescriptor(Currency amount)
public java.lang.String getNote()
public Currency getAmount()
public AgreementStateDescriptor setNote(java.lang.String note)
public AgreementStateDescriptor setAmount(Currency amount)
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