Class 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 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>
     
    • 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.
    • Constructor Detail

      • AmountsReq

        public AmountsReq()
    • 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 is String
      • 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 is BigDecimal
      • 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 is BigDecimal
      • 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 is BigDecimal
      • 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 is BigDecimal
      • 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 is BigDecimal
      • 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 is BigDecimal
      • 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 is BigDecimal