Class PaymentRequest


  • public class PaymentRequest
    extends Object
    Definition: Content of the Payment Request messageType. -- Usage: It conveys Information related to the Payment transaction to process

    Java class for PaymentRequest complex type.

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

     <complexType name="PaymentRequest">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="SaleData" type="{}SaleData"/>
             <element name="PaymentTransaction" type="{}PaymentTransaction"/>
             <element name="PaymentData" type="{}PaymentData" minOccurs="0"/>
             <element name="LoyaltyData" type="{}LoyaltyData" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • saleData

        protected SaleData saleData
        The Sale data.
      • paymentTransaction

        protected PaymentTransaction paymentTransaction
        The Payment transaction.
      • paymentData

        protected PaymentData paymentData
        The Payment data.
    • Constructor Detail

      • PaymentRequest

        public PaymentRequest()
    • Method Detail

      • getSaleData

        public SaleData getSaleData()
        Gets the value of the saleData property.
        Returns:
        possible object is SaleData
      • setSaleData

        public void setSaleData​(SaleData value)
        Sets the value of the saleData property.
        Parameters:
        value - allowed object is SaleData
      • setPaymentTransaction

        public void setPaymentTransaction​(PaymentTransaction value)
        Sets the value of the paymentTransaction property.
        Parameters:
        value - allowed object is PaymentTransaction
      • getPaymentData

        public PaymentData getPaymentData()
        Gets the value of the paymentData property.
        Returns:
        possible object is PaymentData
      • setPaymentData

        public void setPaymentData​(PaymentData value)
        Sets the value of the paymentData property.
        Parameters:
        value - allowed object is PaymentData
      • getLoyaltyData

        public List<LoyaltyData> getLoyaltyData()
        Gets the value of the loyaltyData 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 loyaltyData property.

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

            getLoyaltyData().add(newItem);
         

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

        Returns:
        the loyalty data