Class 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

      All Methods Instance Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

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

      • CurrencyModel

        public CurrencyModel()
    • Method Detail

      • 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 class java.lang.Object