Class Currency

java.lang.Object
com.whatsapp.api.domain.messages.Currency

public class Currency extends Object
The type Currency.
  • Constructor Details

    • Currency

      public Currency()
      Instantiates a new Currency.
    • Currency

      public Currency(String fallbackValue, String code, long amount1000)
      Instantiates a new Currency.
      Parameters:
      fallbackValue - the fallback value
      code - the code
      amount1000 - the amount 1000
  • Method Details

    • getFallbackValue

      public String getFallbackValue()
      Gets fallback value.
      Returns:
      the fallback value
    • setFallbackValue

      public Currency setFallbackValue(String fallbackValue)
      Sets fallback value.
      Parameters:
      fallbackValue - the fallback value
      Returns:
      the fallback value
    • getCode

      public String getCode()
      Gets code.
      Returns:
      the code
    • setCode

      public Currency setCode(String code)
      Sets code.
      Parameters:
      code - the code
      Returns:
      the code
    • getAmount1000

      public long getAmount1000()
      Gets amount 1000.
      Returns:
      the amount 1000
    • setAmount1000

      public Currency setAmount1000(long amount1000)
      Sets amount 1000.
      Parameters:
      amount1000 - the amount 1000
      Returns:
      the amount 1000