Class PaymentTransaction


  • public class PaymentTransaction
    extends Object
    Definition: Data related to the payment and loyalty transaction. -- Usage: Elements requested by the Sale System that are global to the payment or loyalty transaction.

    Java class for PaymentTransaction complex type.

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

     <complexType name="PaymentTransaction">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="AmountsReq" type="{}AmountsReq"/>
             <element name="OriginalPOITransaction" type="{}OriginalPOITransaction" minOccurs="0"/>
             <element name="TransactionConditions" type="{}TransactionConditions" minOccurs="0"/>
             <element name="SaleItem" type="{}SaleItem" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • PaymentTransaction

        public PaymentTransaction()
    • Method Detail

      • getAmountsReq

        public AmountsReq getAmountsReq()
        Gets the value of the amountsReq property.
        Returns:
        possible object is AmountsReq
      • setAmountsReq

        public void setAmountsReq​(AmountsReq value)
        Sets the value of the amountsReq property.
        Parameters:
        value - allowed object is AmountsReq
      • setTransactionConditions

        public void setTransactionConditions​(TransactionConditions value)
        Sets the value of the transactionConditions property.
        Parameters:
        value - allowed object is TransactionConditions
      • getSaleItem

        public List<SaleItem> getSaleItem()
        Gets the value of the saleItem 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 saleItem property.

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

            getSaleItem().add(newItem);
         

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

        Returns:
        the sale item