Class ExchangeRate
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.orders.ExchangeRate
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe source currency from which to convert an amount.The target currency to which to convert an amount.getValue()
The target currency amount.void
setSourceCurrency
(String sourceCurrency) The source currency from which to convert an amount.void
setTargetCurrency
(String targetCurrency) The target currency to which to convert an amount.void
The target currency amount.
-
Constructor Details
-
ExchangeRate
public ExchangeRate()
-
-
Method Details
-
setSourceCurrency
The source currency from which to convert an amount. -
setTargetCurrency
The target currency to which to convert an amount. -
setValue
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
The source currency from which to convert an amount. -
getTargetCurrency
The target currency to which to convert an amount. -
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.
-