public class ShippingCost extends PayPalModel
| Constructor and Description |
|---|
ShippingCost()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Currency |
getAmount()
The shipping cost, as an amount.
|
Tax |
getTax()
The tax percentage on the shipping amount.
|
int |
hashCode() |
ShippingCost |
setAmount(Currency amount)
The shipping cost, as an amount.
|
ShippingCost |
setTax(Tax tax)
The tax percentage on the shipping amount.
|
toJSON, toStringpublic Currency getAmount()
public Tax getTax()
public ShippingCost setAmount(Currency amount)
public ShippingCost setTax(Tax tax)
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