Class ExchangeRate
- java.lang.Object
-
- com.broadleafcommerce.paypal.micro.gateway.domain.orders.ExchangeRate
-
- All Implemented Interfaces:
Serializable
public class ExchangeRate extends Object implements Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExchangeRate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSourceCurrency()
The source currency from which to convert an amount.String
getTargetCurrency()
The target currency to which to convert an amount.String
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
setValue(String value)
The target currency amount.
-
-
-
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.
-
-