Package com.adyen.model.nexo
Class LoyaltyData
- java.lang.Object
-
- com.adyen.model.nexo.LoyaltyData
-
public class LoyaltyData extends Object
Definition: Data related to a Loyalty program or account. -- Usage: In the Payment, Loyalty or Balance Inquiry Request messageType, it allows the Sale Terminal to send the identification of the loyalty account or an awarded amount or an amount to redeem to the loyalty account.Java class for LoyaltyData complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LoyaltyData"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="CardAcquisitionReference" type="{}TransactionIdentification" minOccurs="0"/> <element name="LoyaltyAccountID" type="{}LoyaltyAccountID" minOccurs="0"/> <element name="LoyaltyAmount" type="{}LoyaltyAmount" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected TransactionIdentificationcardAcquisitionReferenceThe Card acquisition reference.protected LoyaltyAccountIDloyaltyAccountIDThe Loyalty account id.protected LoyaltyAmountloyaltyAmountThe Loyalty amount.
-
Constructor Summary
Constructors Constructor Description LoyaltyData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionIdentificationgetCardAcquisitionReference()Gets the value of the cardAcquisitionReference property.LoyaltyAccountIDgetLoyaltyAccountID()Gets the value of the loyaltyAccountID property.LoyaltyAmountgetLoyaltyAmount()Gets the value of the loyaltyAmount property.voidsetCardAcquisitionReference(TransactionIdentification value)Sets the value of the cardAcquisitionReference property.voidsetLoyaltyAccountID(LoyaltyAccountID value)Sets the value of the loyaltyAccountID property.voidsetLoyaltyAmount(LoyaltyAmount value)Sets the value of the loyaltyAmount property.
-
-
-
Field Detail
-
cardAcquisitionReference
protected TransactionIdentification cardAcquisitionReference
The Card acquisition reference.
-
loyaltyAccountID
protected LoyaltyAccountID loyaltyAccountID
The Loyalty account id.
-
loyaltyAmount
protected LoyaltyAmount loyaltyAmount
The Loyalty amount.
-
-
Method Detail
-
getCardAcquisitionReference
public TransactionIdentification getCardAcquisitionReference()
Gets the value of the cardAcquisitionReference property.- Returns:
- possible object is
TransactionIdentification
-
setCardAcquisitionReference
public void setCardAcquisitionReference(TransactionIdentification value)
Sets the value of the cardAcquisitionReference property.- Parameters:
value- allowed object isTransactionIdentification
-
getLoyaltyAccountID
public LoyaltyAccountID getLoyaltyAccountID()
Gets the value of the loyaltyAccountID property.- Returns:
- possible object is
LoyaltyAccountID
-
setLoyaltyAccountID
public void setLoyaltyAccountID(LoyaltyAccountID value)
Sets the value of the loyaltyAccountID property.- Parameters:
value- allowed object isLoyaltyAccountID
-
getLoyaltyAmount
public LoyaltyAmount getLoyaltyAmount()
Gets the value of the loyaltyAmount property.- Returns:
- possible object is
LoyaltyAmount
-
setLoyaltyAmount
public void setLoyaltyAmount(LoyaltyAmount value)
Sets the value of the loyaltyAmount property.- Parameters:
value- allowed object isLoyaltyAmount
-
-