public class Cost extends PayPalModel
| Constructor and Description |
|---|
Cost()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Currency |
getAmount()
The cost, as an amount.
|
float |
getPercent()
Cost in percent.
|
int |
hashCode() |
Cost |
setAmount(Currency amount)
The cost, as an amount.
|
Cost |
setPercent(float percent)
Cost in percent.
|
toJSON, toStringpublic float getPercent()
public Currency getAmount()
public Cost setPercent(float percent)
public Cost 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