Package com.restfb.types.whatsapp
Class CurrencyAmount
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.whatsapp.CurrencyAmount
-
- All Implemented Interfaces:
Serializable
public class CurrencyAmount extends AbstractFacebookType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CurrencyAmount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAmount()
Value of the amount in whole currency units (USD 123.45 = "123.45")String
getAmountInHundredths()
Value of the amount in hundredths, i.e.String
getCurrency()
Currency in which amount is givenString
getOffsettedAmount()
Value of the amount in cents (USD 123.45 = "12345")void
setAmount(String amount)
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")-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
CurrencyAmount
public CurrencyAmount()
-
-
Method Detail
-
getAmount
public String getAmount()
Value of the amount in whole currency units (USD 123.45 = "123.45")
-
setAmount
public void setAmount(String amount)
Value of the amount in whole currency units (USD 123.45 = "123.45")
-
getAmountInHundredths
public String getAmountInHundredths()
Value of the amount in hundredths, i.e. (USD 123.45 = "12345", JYP 1 = "100")
-
setAmountInHundredths
public void setAmountInHundredths(String amountInHundredths)
Value of the amount in hundredths, i.e. (USD 123.45 = "12345", JYP 1 = "100")
-
getCurrency
public String getCurrency()
Currency in which amount is given
-
setCurrency
public void setCurrency(String currency)
Currency in which amount is given
-
getOffsettedAmount
public String getOffsettedAmount()
Value of the amount in cents (USD 123.45 = "12345")
-
setOffsettedAmount
public void setOffsettedAmount(String offsettedAmount)
Value of the amount in cents (USD 123.45 = "12345")
-
-