Class TransactionTotals


  • public class TransactionTotals
    extends Object
    Definition: Result of the Sale to POI Reconciliation processing. -- Usage: If Result is Success, contains all the totals, classified as required by the Sale in the messageType request. At least, transaction totals are provided per Acquirer, Acquirer Settlement, and Card Brand.

    Java class for TransactionTotals complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="TransactionTotals">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="PaymentTotals" type="{}PaymentTotals" maxOccurs="10" minOccurs="0"/>
             <element name="LoyaltyTotals" type="{}LoyaltyTotals" maxOccurs="6" minOccurs="0"/>
           </sequence>
           <attribute name="PaymentInstrument" use="required" type="{}PaymentInstrumentType" />
           <attribute name="AcquirerID" type="{}AcquirerID" />
           <attribute name="ErrorCondition" type="{}ErrorConditionType" />
           <attribute name="HostReconciliationID" type="{}HostReconciliationID" />
           <attribute name="CardBrand" type="{}CardBrand" />
           <attribute name="POIID" type="{}POIID" />
           <attribute name="SaleID" type="{}SaleID" />
           <attribute name="OperatorID" type="{}OperatorID" />
           <attribute name="ShiftNumber" type="{}ShiftNumber" />
           <attribute name="TotalsGroupID" type="{}TotalsGroupID" />
           <attribute name="PaymentCurrency" type="{}ISOCurrency3A" />
           <attribute name="LoyaltyUnit" type="{}LoyaltyUnitType" default="Point" />
           <attribute name="LoyaltyCurrency" type="{}ISOCurrency3A" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • paymentTotals

        @SerializedName("PaymentTotals")
        protected List<PaymentTotals> paymentTotals
        The Payment totals.
      • loyaltyTotals

        @SerializedName("LoyaltyTotals")
        protected List<LoyaltyTotals> loyaltyTotals
        The Loyalty totals.
      • paymentInstrumentType

        @SerializedName("PaymentInstrumentType")
        protected PaymentInstrumentType paymentInstrumentType
        The Payment instrument.
      • acquirerID

        @SerializedName("AcquirerID")
        protected String acquirerID
        The Acquirer id.
      • errorCondition

        @SerializedName("ErrorCondition")
        protected ErrorConditionType errorCondition
        The Error condition.
      • hostReconciliationID

        @SerializedName("HostReconciliationID")
        protected String hostReconciliationID
        The Host reconciliation id.
      • cardBrand

        @SerializedName("CardBrand")
        protected String cardBrand
        The Card brand.
      • poiid

        @SerializedName("POIID")
        protected String poiid
        The Poiid.
      • saleID

        @SerializedName("SaleID")
        protected String saleID
        The Sale id.
      • operatorID

        @SerializedName("OperatorID")
        protected String operatorID
        The Operator id.
      • shiftNumber

        @SerializedName("ShiftNumber")
        protected String shiftNumber
        The Shift number.
      • totalsGroupID

        @SerializedName("TotalsGroupID")
        protected String totalsGroupID
        The Totals group id.
      • paymentCurrency

        @SerializedName("PaymentCurrency")
        protected String paymentCurrency
        The Payment currency.
      • loyaltyUnit

        @SerializedName("LoyaltyUnit")
        protected LoyaltyUnitType loyaltyUnit
        The Loyalty unit.
      • loyaltyCurrency

        @SerializedName("LoyaltyCurrency")
        protected String loyaltyCurrency
        The Loyalty currency.
    • Constructor Detail

      • TransactionTotals

        public TransactionTotals()
    • Method Detail

      • getPaymentTotals

        public List<PaymentTotals> getPaymentTotals()
        Gets the value of the paymentTotals property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the paymentTotals property.

        For example, to add a new item, do as follows:

            getPaymentTotals().add(newItem);
         

        Objects of the following type(s) are allowed in the list PaymentTotals

        Returns:
        the payment totals
      • getLoyaltyTotals

        public List<LoyaltyTotals> getLoyaltyTotals()
        Gets the value of the loyaltyTotals property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the loyaltyTotals property.

        For example, to add a new item, do as follows:

            getLoyaltyTotals().add(newItem);
         

        Objects of the following type(s) are allowed in the list LoyaltyTotals

        Returns:
        the loyalty totals
      • setPaymentInstrumentType

        public void setPaymentInstrumentType​(PaymentInstrumentType value)
        Sets the value of the paymentInstrumentType property.
        Parameters:
        value - allowed object is PaymentInstrumentType
      • getAcquirerID

        public String getAcquirerID()
        Gets the value of the acquirerID property.
        Returns:
        possible object is String
      • setAcquirerID

        public void setAcquirerID​(String value)
        Sets the value of the acquirerID property.
        Parameters:
        value - allowed object is String
      • setErrorCondition

        public void setErrorCondition​(ErrorConditionType value)
        Sets the value of the errorCondition property.
        Parameters:
        value - allowed object is ErrorConditionType
      • getHostReconciliationID

        public String getHostReconciliationID()
        Gets the value of the hostReconciliationID property.
        Returns:
        possible object is String
      • setHostReconciliationID

        public void setHostReconciliationID​(String value)
        Sets the value of the hostReconciliationID property.
        Parameters:
        value - allowed object is String
      • getCardBrand

        public String getCardBrand()
        Gets the value of the cardBrand property.
        Returns:
        possible object is String
      • setCardBrand

        public void setCardBrand​(String value)
        Sets the value of the cardBrand property.
        Parameters:
        value - allowed object is String
      • getPOIID

        public String getPOIID()
        Gets the value of the poiid property.
        Returns:
        possible object is String
      • setPOIID

        public void setPOIID​(String value)
        Sets the value of the poiid property.
        Parameters:
        value - allowed object is String
      • getSaleID

        public String getSaleID()
        Gets the value of the saleID property.
        Returns:
        possible object is String
      • setSaleID

        public void setSaleID​(String value)
        Sets the value of the saleID property.
        Parameters:
        value - allowed object is String
      • getOperatorID

        public String getOperatorID()
        Gets the value of the operatorID property.
        Returns:
        possible object is String
      • setOperatorID

        public void setOperatorID​(String value)
        Sets the value of the operatorID property.
        Parameters:
        value - allowed object is String
      • getShiftNumber

        public String getShiftNumber()
        Gets the value of the shiftNumber property.
        Returns:
        possible object is String
      • setShiftNumber

        public void setShiftNumber​(String value)
        Sets the value of the shiftNumber property.
        Parameters:
        value - allowed object is String
      • getTotalsGroupID

        public String getTotalsGroupID()
        Gets the value of the totalsGroupID property.
        Returns:
        possible object is String
      • setTotalsGroupID

        public void setTotalsGroupID​(String value)
        Sets the value of the totalsGroupID property.
        Parameters:
        value - allowed object is String
      • getPaymentCurrency

        public String getPaymentCurrency()
        Gets the value of the paymentCurrency property.
        Returns:
        possible object is String
      • setPaymentCurrency

        public void setPaymentCurrency​(String value)
        Sets the value of the paymentCurrency property.
        Parameters:
        value - allowed object is String
      • setLoyaltyUnit

        public void setLoyaltyUnit​(LoyaltyUnitType value)
        Sets the value of the loyaltyUnit property.
        Parameters:
        value - allowed object is LoyaltyUnitType
      • getLoyaltyCurrency

        public String getLoyaltyCurrency()
        Gets the value of the loyaltyCurrency property.
        Returns:
        possible object is String
      • setLoyaltyCurrency

        public void setLoyaltyCurrency​(String value)
        Sets the value of the loyaltyCurrency property.
        Parameters:
        value - allowed object is String