public class CustomAmount extends PayPalModel
| Constructor and Description |
|---|
CustomAmount()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Currency |
getAmount()
The custom amount value.
|
java.lang.String |
getLabel()
The custom amount label.
|
int |
hashCode() |
CustomAmount |
setAmount(Currency amount)
The custom amount value.
|
CustomAmount |
setLabel(java.lang.String label)
The custom amount label.
|
toJSON, toStringpublic java.lang.String getLabel()
public Currency getAmount()
public CustomAmount setLabel(java.lang.String label)
public CustomAmount 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