com.adyen.model.nexo.LoyaltyAccountReq Maven / Gradle / Ivy
package com.adyen.model.nexo;
import io.swagger.v3.oas.annotations.media.Schema;
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 requested Loyalty program or account. -- Usage: In the Balance Inquiry Request messageType, the Sale Terminal sends the identification of the loyalty account to request the balance.
*
* Java class for LoyaltyAccountReq complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="LoyaltyAccountReq">
* <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"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LoyaltyAccountReq", propOrder = {
"cardAcquisitionReference",
"loyaltyAccountID"
})
public class LoyaltyAccountReq {
/**
* The Card acquisition reference.
*/
@XmlElement(name = "CardAcquisitionReference")
@Schema(description = "Reference to the last CardAcquisition, to use the same card. --Rule: If the loyalty account ID comes from a previous CardAcquisition")
protected TransactionIdentification cardAcquisitionReference;
/**
* The Loyalty account id.
*/
@XmlElement(name = "LoyaltyAccountID")
@Schema(description = "Identification of a Loyalty account. --Rule: If loyalty identification of the loyalty account is realised by the Sale System")
protected LoyaltyAccountID loyaltyAccountID;
/**
* 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;
}
}