public class Amount extends PayPalModel
| Constructor and Description |
|---|
Amount()
Default Constructor
|
Amount(java.lang.String currency,
java.lang.String total)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCurrency()
3-letter [currency code](https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/).
|
Details |
getDetails()
Additional details of the payment amount.
|
java.lang.String |
getTotal()
Total amount charged from the payer to the payee.
|
int |
hashCode() |
Amount |
setCurrency(java.lang.String currency)
3-letter [currency code](https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/).
|
Amount |
setDetails(Details details)
Additional details of the payment amount.
|
Amount |
setTotal(java.lang.String total)
Total amount charged from the payer to the payee.
|
toJSON, toStringpublic Amount()
public Amount(java.lang.String currency,
java.lang.String total)
public java.lang.String getCurrency()
public java.lang.String getTotal()
public Details getDetails()
public Amount setCurrency(java.lang.String currency)
public Amount setTotal(java.lang.String total)
public Amount setDetails(Details details)
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