Class LoyaltyResponse


  • public class LoyaltyResponse
    extends Object
    Definition: Content of the Loyalty Response messageType. -- Usage: It conveys Information related to the Loyalty transaction processed by the POI System.

    Java class for LoyaltyResponse complex type.

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

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

      • response

        protected Response response
        The Response.
      • saleData

        protected SaleData saleData
        The Sale data.
      • poiData

        protected POIData poiData
        The Poi data.
    • Constructor Detail

      • LoyaltyResponse

        public LoyaltyResponse()
    • Method Detail

      • getResponse

        public Response getResponse()
        Gets the value of the response property.
        Returns:
        possible object is Response
      • setResponse

        public void setResponse​(Response value)
        Sets the value of the response property.
        Parameters:
        value - allowed object is Response
      • 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
      • getPOIData

        public POIData getPOIData()
        Gets the value of the poiData property.
        Returns:
        possible object is POIData
      • setPOIData

        public void setPOIData​(POIData value)
        Sets the value of the poiData property.
        Parameters:
        value - allowed object is POIData
      • getLoyaltyResult

        public List<LoyaltyResult> getLoyaltyResult()
        Gets the value of the loyaltyResult 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 loyaltyResult property.

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

            getLoyaltyResult().add(newItem);
         

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

        Returns:
        the loyalty result
      • getPaymentReceipt

        public List<PaymentReceipt> getPaymentReceipt()
        Gets the value of the paymentReceipt 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 paymentReceipt property.

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

            getPaymentReceipt().add(newItem);
         

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

        Returns:
        the payment receipt