Class Currency


  • public class Currency
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Currency()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Gets the currency code.
      java.lang.String getSymbol()
      Gets the currency symbol.
      Currency setCode​(java.lang.String code)
      Sets the currency code.
      Currency setSymbol​(java.lang.String symbol)
      Sets the currency symbol.
      • Methods inherited from class java.lang.Object

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

      • Currency

        public Currency()
    • Method Detail

      • getCode

        public java.lang.String getCode()
        Gets the currency code.
        Returns:
        the currency code
      • setCode

        public Currency setCode​(java.lang.String code)
        Sets the currency code.
        Parameters:
        code - the currency code
      • getSymbol

        public java.lang.String getSymbol()
        Gets the currency symbol.
        Returns:
        the currency symbol
      • setSymbol

        public Currency setSymbol​(java.lang.String symbol)
        Sets the currency symbol.
        Parameters:
        symbol - the currency symbol