All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.AmountsReq Maven / Gradle / Ivy

package com.adyen.model.nexo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import java.math.BigDecimal;


/**
 * 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 cash
 *
 * 

Java 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>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AmountsReq") public class AmountsReq { /** * The Currency. */ @XmlAttribute(name = "Currency", required = true) protected String currency; /** * The Requested amount. */ @XmlAttribute(name = "RequestedAmount") protected BigDecimal requestedAmount; /** * The Cash back amount. */ @XmlAttribute(name = "CashBackAmount") protected BigDecimal cashBackAmount; /** * The Tip amount. */ @XmlAttribute(name = "TipAmount") protected BigDecimal tipAmount; /** * The Paid amount. */ @XmlAttribute(name = "PaidAmount") protected BigDecimal paidAmount; /** * The Minimum amount to deliver. */ @XmlAttribute(name = "MinimumAmountToDeliver") protected BigDecimal minimumAmountToDeliver; /** * The Maximum cash back amount. */ @XmlAttribute(name = "MaximumCashBackAmount") protected BigDecimal maximumCashBackAmount; /** * The Minimum split amount. */ @XmlAttribute(name = "MinimumSplitAmount") protected BigDecimal minimumSplitAmount; /** * Gets the value of the currency property. * * @return possible object is {@link String } */ public String getCurrency() { return currency; } /** * Sets the value of the currency property. * * @param value allowed object is {@link String } */ public void setCurrency(String value) { this.currency = value; } /** * Gets the value of the requestedAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getRequestedAmount() { return requestedAmount; } /** * Sets the value of the requestedAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setRequestedAmount(BigDecimal value) { this.requestedAmount = value; } /** * Gets the value of the cashBackAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getCashBackAmount() { return cashBackAmount; } /** * Sets the value of the cashBackAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setCashBackAmount(BigDecimal value) { this.cashBackAmount = value; } /** * Gets the value of the tipAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getTipAmount() { return tipAmount; } /** * Sets the value of the tipAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setTipAmount(BigDecimal value) { this.tipAmount = value; } /** * Gets the value of the paidAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getPaidAmount() { return paidAmount; } /** * Sets the value of the paidAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setPaidAmount(BigDecimal value) { this.paidAmount = value; } /** * Gets the value of the minimumAmountToDeliver property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getMinimumAmountToDeliver() { return minimumAmountToDeliver; } /** * Sets the value of the minimumAmountToDeliver property. * * @param value allowed object is {@link BigDecimal } */ public void setMinimumAmountToDeliver(BigDecimal value) { this.minimumAmountToDeliver = value; } /** * Gets the value of the maximumCashBackAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getMaximumCashBackAmount() { return maximumCashBackAmount; } /** * Sets the value of the maximumCashBackAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setMaximumCashBackAmount(BigDecimal value) { this.maximumCashBackAmount = value; } /** * Gets the value of the minimumSplitAmount property. * * @return possible object is {@link BigDecimal } */ public BigDecimal getMinimumSplitAmount() { return minimumSplitAmount; } /** * Sets the value of the minimumSplitAmount property. * * @param value allowed object is {@link BigDecimal } */ public void setMinimumSplitAmount(BigDecimal value) { this.minimumSplitAmount = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy