Package com.adyen.model.nexo
Class Amount
- java.lang.Object
-
- com.adyen.model.nexo.Amount
-
public class Amount extends Object
Definition: Common amount definition with currency -- Usage: Decimal unsigned amount with currency and amount before conversion.Java class for Amount complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Amount"> <simpleContent> <extension base="Decimal"> <attribute name="Currency" type="{}ISOCurrency3A" /> </extension> </simpleContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalamountValueThe Value.protected StringcurrencyThe Currency.
-
Constructor Summary
Constructors Constructor Description Amount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAmountValue()Gets the value of the amountValue property.StringgetCurrency()Gets the value of the currency property.voidsetAmountValue(BigDecimal value)Sets the value of the amountValue property.voidsetCurrency(String value)Sets the value of the currency property.
-
-
-
Field Detail
-
amountValue
protected BigDecimal amountValue
The Value.
-
currency
protected String currency
The Currency.
-
-
Method Detail
-
getAmountValue
public BigDecimal getAmountValue()
Gets the value of the amountValue property.- Returns:
- possible object is
BigDecimal
-
setAmountValue
public void setAmountValue(BigDecimal value)
Sets the value of the amountValue property.- Parameters:
value- allowed object isBigDecimal
-
getCurrency
public String getCurrency()
Gets the value of the currency property.- Returns:
- possible object is
String
-
-