Package com.adyen.model.nexo
Class AmountsReq
- java.lang.Object
-
- com.adyen.model.nexo.AmountsReq
-
public class AmountsReq extends Object
Definition: Various amounts related to the payment and loyalty request from the Sale System. -- Usage: Amounts requested by the Sale System for the payment and loyalty transaction, containing: The currency which is the same for all these amounts The requested amount to pay The cash back part of the requested amount for a payment with cashJava class for AmountsReq complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AmountsReq"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Currency" use="required" type="{}ISOCurrency3A" /> <attribute name="RequestedAmount" type="{}SimpleAmountType" /> <attribute name="CashBackAmount" type="{}SimpleAmountType" /> <attribute name="TipAmount" type="{}SimpleAmountType" /> <attribute name="PaidAmount" type="{}SimpleAmountType" /> <attribute name="MinimumAmountToDeliver" type="{}SimpleAmountType" /> <attribute name="MaximumCashBackAmount" type="{}SimpleAmountType" /> <attribute name="MinimumSplitAmount" type="{}SimpleAmountType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalcashBackAmountThe Cash back amount.protected StringcurrencyThe Currency.protected BigDecimalmaximumCashBackAmountThe Maximum cash back amount.protected BigDecimalminimumAmountToDeliverThe Minimum amount to deliver.protected BigDecimalminimumSplitAmountThe Minimum split amount.protected BigDecimalpaidAmountThe Paid amount.protected BigDecimalrequestedAmountThe Requested amount.protected BigDecimaltipAmountThe Tip amount.
-
Constructor Summary
Constructors Constructor Description AmountsReq()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetCashBackAmount()Gets the value of the cashBackAmount property.StringgetCurrency()Gets the value of the currency property.BigDecimalgetMaximumCashBackAmount()Gets the value of the maximumCashBackAmount property.BigDecimalgetMinimumAmountToDeliver()Gets the value of the minimumAmountToDeliver property.BigDecimalgetMinimumSplitAmount()Gets the value of the minimumSplitAmount property.BigDecimalgetPaidAmount()Gets the value of the paidAmount property.BigDecimalgetRequestedAmount()Gets the value of the requestedAmount property.BigDecimalgetTipAmount()Gets the value of the tipAmount property.voidsetCashBackAmount(BigDecimal value)Sets the value of the cashBackAmount property.voidsetCurrency(String value)Sets the value of the currency property.voidsetMaximumCashBackAmount(BigDecimal value)Sets the value of the maximumCashBackAmount property.voidsetMinimumAmountToDeliver(BigDecimal value)Sets the value of the minimumAmountToDeliver property.voidsetMinimumSplitAmount(BigDecimal value)Sets the value of the minimumSplitAmount property.voidsetPaidAmount(BigDecimal value)Sets the value of the paidAmount property.voidsetRequestedAmount(BigDecimal value)Sets the value of the requestedAmount property.voidsetTipAmount(BigDecimal value)Sets the value of the tipAmount property.
-
-
-
Field Detail
-
currency
protected String currency
The Currency.
-
requestedAmount
protected BigDecimal requestedAmount
The Requested amount.
-
cashBackAmount
protected BigDecimal cashBackAmount
The Cash back amount.
-
tipAmount
protected BigDecimal tipAmount
The Tip amount.
-
paidAmount
protected BigDecimal paidAmount
The Paid amount.
-
minimumAmountToDeliver
protected BigDecimal minimumAmountToDeliver
The Minimum amount to deliver.
-
maximumCashBackAmount
protected BigDecimal maximumCashBackAmount
The Maximum cash back amount.
-
minimumSplitAmount
protected BigDecimal minimumSplitAmount
The Minimum split 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
-
getRequestedAmount
public BigDecimal getRequestedAmount()
Gets the value of the requestedAmount property.- Returns:
- possible object is
BigDecimal
-
setRequestedAmount
public void setRequestedAmount(BigDecimal value)
Sets the value of the requestedAmount 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
-
getPaidAmount
public BigDecimal getPaidAmount()
Gets the value of the paidAmount property.- Returns:
- possible object is
BigDecimal
-
setPaidAmount
public void setPaidAmount(BigDecimal value)
Sets the value of the paidAmount property.- Parameters:
value- allowed object isBigDecimal
-
getMinimumAmountToDeliver
public BigDecimal getMinimumAmountToDeliver()
Gets the value of the minimumAmountToDeliver property.- Returns:
- possible object is
BigDecimal
-
setMinimumAmountToDeliver
public void setMinimumAmountToDeliver(BigDecimal value)
Sets the value of the minimumAmountToDeliver property.- Parameters:
value- allowed object isBigDecimal
-
getMaximumCashBackAmount
public BigDecimal getMaximumCashBackAmount()
Gets the value of the maximumCashBackAmount property.- Returns:
- possible object is
BigDecimal
-
setMaximumCashBackAmount
public void setMaximumCashBackAmount(BigDecimal value)
Sets the value of the maximumCashBackAmount property.- Parameters:
value- allowed object isBigDecimal
-
getMinimumSplitAmount
public BigDecimal getMinimumSplitAmount()
Gets the value of the minimumSplitAmount property.- Returns:
- possible object is
BigDecimal
-
setMinimumSplitAmount
public void setMinimumSplitAmount(BigDecimal value)
Sets the value of the minimumSplitAmount property.- Parameters:
value- allowed object isBigDecimal
-
-