Class ExchangeRate

    • Constructor Detail

      • ExchangeRate

        public ExchangeRate()
    • Method Detail

      • setSourceCurrency

        public void setSourceCurrency​(String sourceCurrency)
        The source currency from which to convert an amount.
      • setTargetCurrency

        public void setTargetCurrency​(String targetCurrency)
        The target currency to which to convert an amount.
      • setValue

        public void setValue​(String value)
        The target currency amount. Equivalent to one unit of the source currency. Formatted as integer or decimal value with one to 15 digits to the right of the decimal point.
      • getSourceCurrency

        public String getSourceCurrency()
        The source currency from which to convert an amount.
      • getTargetCurrency

        public String getTargetCurrency()
        The target currency to which to convert an amount.
      • getValue

        public String getValue()
        The target currency amount. Equivalent to one unit of the source currency. Formatted as integer or decimal value with one to 15 digits to the right of the decimal point.