Class 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 a

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

      • AmountsResp

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