Class LoyaltyAccountStatus


  • public class LoyaltyAccountStatus
    extends Object
    Definition: Data related to the result of a loyalty Balance Inquiry. -- Usage: In the Message Response, the result of each loyalty brand transaction.

    Java class for LoyaltyAccountStatus complex type.

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

     <complexType name="LoyaltyAccountStatus">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="LoyaltyAccount" type="{}LoyaltyAccount"/>
           </sequence>
           <attribute name="CurrentBalance" type="{}SimpleAmountType" />
           <attribute name="LoyaltyUnit" type="{}LoyaltyUnitType" default="Point" />
           <attribute name="Currency" type="{}ISOCurrency3A" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • loyaltyAccount

        protected LoyaltyAccount loyaltyAccount
        The Loyalty account.
      • currentBalance

        protected BigDecimal currentBalance
        The Current balance.
      • currency

        protected String currency
        The Currency.
    • Constructor Detail

      • LoyaltyAccountStatus

        public LoyaltyAccountStatus()
    • Method Detail

      • getLoyaltyAccount

        public LoyaltyAccount getLoyaltyAccount()
        Gets the value of the loyaltyAccount property.
        Returns:
        possible object is LoyaltyAccount
      • setLoyaltyAccount

        public void setLoyaltyAccount​(LoyaltyAccount value)
        Sets the value of the loyaltyAccount property.
        Parameters:
        value - allowed object is LoyaltyAccount
      • getCurrentBalance

        public BigDecimal getCurrentBalance()
        Gets the value of the currentBalance property.
        Returns:
        possible object is BigDecimal
      • setCurrentBalance

        public void setCurrentBalance​(BigDecimal value)
        Sets the value of the currentBalance property.
        Parameters:
        value - allowed object is BigDecimal
      • setLoyaltyUnit

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