com.adyen.model.nexo.LoyaltyData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
package com.adyen.model.nexo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LoyaltyData", propOrder = {
"cardAcquisitionReference",
"loyaltyAccountID",
"loyaltyAmount"
})
public class LoyaltyData {
/**
* The Card acquisition reference.
*/
@XmlElement(name = "CardAcquisitionReference")
protected TransactionIdentification cardAcquisitionReference;
/**
* The Loyalty account id.
*/
@XmlElement(name = "LoyaltyAccountID")
protected LoyaltyAccountID loyaltyAccountID;
/**
* The Loyalty amount.
*/
@XmlElement(name = "LoyaltyAmount")
protected LoyaltyAmount loyaltyAmount;
/**
* Gets the value of the cardAcquisitionReference property.
*
* @return possible object is {@link TransactionIdentification }
*/
public TransactionIdentification getCardAcquisitionReference() {
return cardAcquisitionReference;
}
/**
* Sets the value of the cardAcquisitionReference property.
*
* @param value allowed object is {@link TransactionIdentification }
*/
public void setCardAcquisitionReference(TransactionIdentification value) {
this.cardAcquisitionReference = value;
}
/**
* Gets the value of the loyaltyAccountID property.
*
* @return possible object is {@link LoyaltyAccountID }
*/
public LoyaltyAccountID getLoyaltyAccountID() {
return loyaltyAccountID;
}
/**
* Sets the value of the loyaltyAccountID property.
*
* @param value allowed object is {@link LoyaltyAccountID }
*/
public void setLoyaltyAccountID(LoyaltyAccountID value) {
this.loyaltyAccountID = value;
}
/**
* Gets the value of the loyaltyAmount property.
*
* @return possible object is {@link LoyaltyAmount }
*/
public LoyaltyAmount getLoyaltyAmount() {
return loyaltyAmount;
}
/**
* Sets the value of the loyaltyAmount property.
*
* @param value allowed object is {@link LoyaltyAmount }
*/
public void setLoyaltyAmount(LoyaltyAmount value) {
this.loyaltyAmount = value;
}
}