Class LoyaltyAmount


  • public class LoyaltyAmount
    extends Object
    Definition: Amount of a loyalty account. -- Usage: An awarded amount or an amount to redeem to the loyalty account might be sent in the Payment request messageType. The amount to apply on the requested loyalty service, if not computed from the TotalAmount of the Loyalty request messageType. The

    Java class for LoyaltyAmount complex type.

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

     <complexType name="LoyaltyAmount">
       <simpleContent>
         <extension base="Decimal">
           <attribute name="LoyaltyUnit" type="{}LoyaltyUnitType" default="Point" />
           <attribute name="Currency" type="{}ISOCurrency3A" />
         </extension>
       </simpleContent>
     </complexType>
     
    • Field Detail

      • currency

        protected String currency
        The Currency.
    • Constructor Detail

      • LoyaltyAmount

        public LoyaltyAmount()
    • Method Detail

      • getValue

        public BigDecimal getValue()
        Gets the value of the value property.
        Returns:
        possible object is BigDecimal
      • setValue

        public void setValue​(BigDecimal value)
        Sets the value of the value 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