Class LoyaltyRequest


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

    Java class for LoyaltyRequest complex type.

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

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

      • saleData

        protected SaleData saleData
        The Sale data.
      • loyaltyTransaction

        protected LoyaltyTransaction loyaltyTransaction
        The Loyalty transaction.
    • Constructor Detail

      • LoyaltyRequest

        public LoyaltyRequest()
    • 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
      • setLoyaltyTransaction

        public void setLoyaltyTransaction​(LoyaltyTransaction value)
        Sets the value of the loyaltyTransaction property.
        Parameters:
        value - allowed object is LoyaltyTransaction
      • 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