Class CurrencyModel
java.lang.Object
net.avalara.avatax.rest.client.models.CurrencyModel
Represents an ISO 4217 currency code used for designating the currency of a transaction.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
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
Setter for code The ISO 4217 currency code for this currency.void
setDecimalDigits
(Integer value) Setter for decimalDigits The number of decimal digits to use when formatting a currency value for display.void
setDescription
(String value) Setter for description A friendly human-readable name representing this currency.toString()
Returns a JSON string representation of CurrencyModel
-
Constructor Details
-
CurrencyModel
public CurrencyModel()
-
-
Method Details
-
getCode
Getter for code The ISO 4217 currency code for this currency. -
setCode
Setter for code The ISO 4217 currency code for this currency. -
getDescription
Getter for description A friendly human-readable name representing this currency. -
setDescription
Setter for description A friendly human-readable name representing this currency. -
getDecimalDigits
Getter for decimalDigits The number of decimal digits to use when formatting a currency value for display. -
setDecimalDigits
Setter for decimalDigits The number of decimal digits to use when formatting a currency value for display. -
toString
Returns a JSON string representation of CurrencyModel
-