public class AmountOfMoney extends Object
| Constructor and Description |
|---|
AmountOfMoney() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAmount()
Amount in cents and always having 2 decimals
|
String |
getCurrencyCode()
Three-letter ISO currency code representing the currency for the amount
|
void |
setAmount(Long value)
Amount in cents and always having 2 decimals
|
void |
setCurrencyCode(String value)
Three-letter ISO currency code representing the currency for the amount
|
AmountOfMoney |
withAmount(Long value)
Amount in cents and always having 2 decimals
|
AmountOfMoney |
withCurrencyCode(String value)
Three-letter ISO currency code representing the currency for the amount
|
public Long getAmount()
public void setAmount(Long value)
public AmountOfMoney withAmount(Long value)
public String getCurrencyCode()
public void setCurrencyCode(String value)
public AmountOfMoney withCurrencyCode(String value)
Copyright © 2023 Worldline Online Payments Direct. All rights reserved.