Class CurrencyParameter

java.lang.Object
com.whatsapp.api.domain.messages.Parameter
com.whatsapp.api.domain.messages.CurrencyParameter

public class CurrencyParameter extends Parameter
The type Currency parameter.
  • Constructor Details

    • CurrencyParameter

      public CurrencyParameter()
      Instantiates a new Currency parameter.
    • CurrencyParameter

      public CurrencyParameter(Currency currency)
      Instantiates a new Currency parameter.
      Parameters:
      currency - the currency
  • Method Details

    • getCurrency

      public Currency getCurrency()
      Gets currency.
      Returns:
      the currency
    • setCurrency

      public CurrencyParameter setCurrency(Currency currency)
      Sets currency.
      Parameters:
      currency - the currency
      Returns:
      the currency