Package com.restfb.types.whatsapp
Class CurrencyAmount
java.lang.Object
com.restfb.types.whatsapp.CurrencyAmount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionValue of the amount in whole currency units (USD 123.45 = "123.45")Value of the amount in hundredths, i.e.Currency in which amount is givenValue of the amount in cents (USD 123.45 = "12345")void
Value of the amount in whole currency units (USD 123.45 = "123.45")void
setAmountInHundredths(String amountInHundredths)
Value of the amount in hundredths, i.e.void
setCurrency(String currency)
Currency in which amount is givenvoid
setOffsettedAmount(String offsettedAmount)
Value of the amount in cents (USD 123.45 = "12345")
-
Constructor Details
-
CurrencyAmount
public CurrencyAmount()
-
-
Method Details
-
getAmount
Value of the amount in whole currency units (USD 123.45 = "123.45") -
setAmount
Value of the amount in whole currency units (USD 123.45 = "123.45") -
getAmountInHundredths
Value of the amount in hundredths, i.e. (USD 123.45 = "12345", JYP 1 = "100") -
setAmountInHundredths
Value of the amount in hundredths, i.e. (USD 123.45 = "12345", JYP 1 = "100") -
getCurrency
Currency in which amount is given -
setCurrency
Currency in which amount is given -
getOffsettedAmount
Value of the amount in cents (USD 123.45 = "12345") -
setOffsettedAmount
Value of the amount in cents (USD 123.45 = "12345")
-