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