Package com.adyen.model.nexo
Class AmountsResp
- java.lang.Object
-
- com.adyen.model.nexo.AmountsResp
-
public class AmountsResp extends Object
Definition: Various amounts related to the payment response from the POI System. -- Usage: Amounts approved by the POI and the Acquirer for the payment and loyalty transaction, containing: The authorised amount to be paid The amount of the rebates The amount of financial fees The cash back part of the requested amount for aJava class for AmountsResp complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AmountsResp"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Currency" type="{}ISOCurrency3A" /> <attribute name="AuthorizedAmount" use="required" type="{}SimpleAmountType" /> <attribute name="TotalRebatesAmount" type="{}SimpleAmountType" /> <attribute name="TotalFeesAmount" type="{}SimpleAmountType" /> <attribute name="CashBackAmount" type="{}SimpleAmountType" /> <attribute name="TipAmount" type="{}SimpleAmountType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalauthorizedAmountThe Authorized amount.protected BigDecimalcashBackAmountThe Cash back amount.protected StringcurrencyThe Currency.protected BigDecimaltipAmountThe Tip amount.protected BigDecimaltotalFeesAmountThe Total fees amount.protected BigDecimaltotalRebatesAmountThe Total rebates amount.
-
Constructor Summary
Constructors Constructor Description AmountsResp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAuthorizedAmount()Gets the value of the authorizedAmount property.BigDecimalgetCashBackAmount()Gets the value of the cashBackAmount property.StringgetCurrency()Gets the value of the currency property.BigDecimalgetTipAmount()Gets the value of the tipAmount property.BigDecimalgetTotalFeesAmount()Gets the value of the totalFeesAmount property.BigDecimalgetTotalRebatesAmount()Gets the value of the totalRebatesAmount property.voidsetAuthorizedAmount(BigDecimal value)Sets the value of the authorizedAmount property.voidsetCashBackAmount(BigDecimal value)Sets the value of the cashBackAmount property.voidsetCurrency(String value)Sets the value of the currency property.voidsetTipAmount(BigDecimal value)Sets the value of the tipAmount property.voidsetTotalFeesAmount(BigDecimal value)Sets the value of the totalFeesAmount property.voidsetTotalRebatesAmount(BigDecimal value)Sets the value of the totalRebatesAmount property.
-
-
-
Field Detail
-
currency
protected String currency
The Currency.
-
authorizedAmount
protected BigDecimal authorizedAmount
The Authorized amount.
-
totalRebatesAmount
protected BigDecimal totalRebatesAmount
The Total rebates amount.
-
totalFeesAmount
protected BigDecimal totalFeesAmount
The Total fees amount.
-
cashBackAmount
protected BigDecimal cashBackAmount
The Cash back amount.
-
tipAmount
protected BigDecimal tipAmount
The Tip amount.
-
-
Method Detail
-
getCurrency
public String getCurrency()
Gets the value of the currency property.- Returns:
- possible object is
String
-
setCurrency
public void setCurrency(String value)
Sets the value of the currency property.- Parameters:
value- allowed object isString
-
getAuthorizedAmount
public BigDecimal getAuthorizedAmount()
Gets the value of the authorizedAmount property.- Returns:
- possible object is
BigDecimal
-
setAuthorizedAmount
public void setAuthorizedAmount(BigDecimal value)
Sets the value of the authorizedAmount property.- Parameters:
value- allowed object isBigDecimal
-
getTotalRebatesAmount
public BigDecimal getTotalRebatesAmount()
Gets the value of the totalRebatesAmount property.- Returns:
- possible object is
BigDecimal
-
setTotalRebatesAmount
public void setTotalRebatesAmount(BigDecimal value)
Sets the value of the totalRebatesAmount property.- Parameters:
value- allowed object isBigDecimal
-
getTotalFeesAmount
public BigDecimal getTotalFeesAmount()
Gets the value of the totalFeesAmount property.- Returns:
- possible object is
BigDecimal
-
setTotalFeesAmount
public void setTotalFeesAmount(BigDecimal value)
Sets the value of the totalFeesAmount property.- Parameters:
value- allowed object isBigDecimal
-
getCashBackAmount
public BigDecimal getCashBackAmount()
Gets the value of the cashBackAmount property.- Returns:
- possible object is
BigDecimal
-
setCashBackAmount
public void setCashBackAmount(BigDecimal value)
Sets the value of the cashBackAmount property.- Parameters:
value- allowed object isBigDecimal
-
getTipAmount
public BigDecimal getTipAmount()
Gets the value of the tipAmount property.- Returns:
- possible object is
BigDecimal
-
setTipAmount
public void setTipAmount(BigDecimal value)
Sets the value of the tipAmount property.- Parameters:
value- allowed object isBigDecimal
-
-