-
public final class MoneyAmount to charge the card payment source ID in the specified currencyCode
-
-
Field Summary
Fields Modifier and Type Field Description private final Integeramountprivate final CurrencycurrencyCode
-
Method Summary
Modifier and Type Method Description final Integercomponent1()final Currencycomponent2()final Moneycopy(Integer amount, Currency currencyCode)final IntegergetAmount()final CurrencygetCurrencyCode()-
-
Method Detail
-
component1
final Integer component1()
-
component2
final Currency component2()
-
copy
final Money copy(Integer amount, Currency currencyCode)
- Parameters:
amount- Amount of money that will be charged (i.e 100 in GBP will be £1.currencyCode- The currency type the paymentSourceId will be charged in.
-
getCurrencyCode
final Currency getCurrencyCode()
-
-
-
-