Class Money
- java.lang.Object
-
- com.broadleafcommerce.paypal.micro.gateway.domain.orders.Money
-
- All Implemented Interfaces:
Serializable
public class Money extends Object implements Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Money()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCurrencyCode()
The three-character ISO-4217 currency code that identifies the currency.String
getValue()
The value, which might be: An integer for currencies like JPY that are not typically fractional. A decimal fraction for currencies like TND that are subdivided into thousandths. For the required number of decimal places for a currency code, see Currency Codes.void
setCurrencyCode(String currencyCode)
The three-character ISO-4217 currency code that identifies the currency.void
setValue(String value)
The value, which might be: An integer for currencies like JPY that are not typically fractional. A decimal fraction for currencies like TND that are subdivided into thousandths. For the required number of decimal places for a currency code, see Currency Codes.
-
-
-
Method Detail
-
setCurrencyCode
public void setCurrencyCode(String currencyCode)
The three-character ISO-4217 currency code that identifies the currency.
-
setValue
public void setValue(String value)
The value, which might be:- An integer for currencies like JPY that are not typically fractional.
- A decimal fraction for currencies like TND that are subdivided into thousandths.
-
getCurrencyCode
public String getCurrencyCode()
The three-character ISO-4217 currency code that identifies the currency.
-
getValue
public String getValue()
The value, which might be:- An integer for currencies like JPY that are not typically fractional.
- A decimal fraction for currencies like TND that are subdivided into thousandths.
-
-