Class CurrencyModel

java.lang.Object
net.avalara.avatax.rest.client.models.CurrencyModel

public class CurrencyModel extends Object
Represents an ISO 4217 currency code used for designating the currency of a transaction.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for code The ISO 4217 currency code for this currency.
    Getter for decimalDigits The number of decimal digits to use when formatting a currency value for display.
    Getter for description A friendly human-readable name representing this currency.
    void
    setCode(String value)
    Setter for code The ISO 4217 currency code for this currency.
    void
    Setter for decimalDigits The number of decimal digits to use when formatting a currency value for display.
    void
    Setter for description A friendly human-readable name representing this currency.
    Returns a JSON string representation of CurrencyModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CurrencyModel

      public CurrencyModel()
  • Method Details

    • getCode

      public String getCode()
      Getter for code The ISO 4217 currency code for this currency.
    • setCode

      public void setCode(String value)
      Setter for code The ISO 4217 currency code for this currency.
    • getDescription

      public String getDescription()
      Getter for description A friendly human-readable name representing this currency.
    • setDescription

      public void setDescription(String value)
      Setter for description A friendly human-readable name representing this currency.
    • getDecimalDigits

      public Integer getDecimalDigits()
      Getter for decimalDigits The number of decimal digits to use when formatting a currency value for display.
    • setDecimalDigits

      public void setDecimalDigits(Integer value)
      Setter for decimalDigits The number of decimal digits to use when formatting a currency value for display.
    • toString

      public String toString()
      Returns a JSON string representation of CurrencyModel
      Overrides:
      toString in class Object