Class CurrencyAmount

java.lang.Object
com.restfb.types.whatsapp.CurrencyAmount

public class CurrencyAmount extends Object
  • Constructor Details

  • Method Details

    • 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

      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

      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")