Class LoyaltyTransaction


  • public class LoyaltyTransaction
    extends Object
    Definition: Data related to the loyalty transaction.

    Java class for LoyaltyTransaction complex type.

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

     <complexType name="LoyaltyTransaction">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="OriginalPOITransaction" type="{}OriginalPOITransaction" minOccurs="0"/>
             <element name="TransactionConditions" type="{}TransactionConditions" minOccurs="0"/>
             <element name="SaleItem" type="{}SaleItem" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="LoyaltyTransaction" use="required" type="{}LoyaltyTransactionType" />
           <attribute name="Currency" type="{}ISOCurrency3A" />
           <attribute name="TotalAmount" type="{}SimpleAmountType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • originalPOITransaction

        protected OriginalPOITransaction originalPOITransaction
        The Original poi transaction.
      • transactionConditions

        protected TransactionConditions transactionConditions
        The Transaction conditions.
      • saleItem

        protected List<SaleItem> saleItem
        The Sale item.
      • currency

        protected String currency
        The Currency.
      • totalAmount

        protected BigDecimal totalAmount
        The Total amount.
    • Constructor Detail

      • LoyaltyTransaction

        public LoyaltyTransaction()
    • Method Detail

      • 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
      • getCurrency

        public String getCurrency()
        Gets the value of the currency property.
        Returns:
        possible object is String
      • setCurrency

        public void setCurrency​(String value)
        Sets the value of the currency property.
        Parameters:
        value - allowed object is String
      • getTotalAmount

        public BigDecimal getTotalAmount()
        Gets the value of the totalAmount property.
        Returns:
        possible object is BigDecimal
      • setTotalAmount

        public void setTotalAmount​(BigDecimal value)
        Sets the value of the totalAmount property.
        Parameters:
        value - allowed object is BigDecimal