Package com.adyen.model.nexo
Class LoyaltyRequest
- java.lang.Object
-
- com.adyen.model.nexo.LoyaltyRequest
-
public class LoyaltyRequest extends Object
Definition: Content of the Loyalty Request messageType. -- Usage: It conveys Information related to the Loyalty transaction to processJava class for LoyaltyRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LoyaltyRequest"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="SaleData" type="{}SaleData"/> <element name="LoyaltyTransaction" type="{}LoyaltyTransaction"/> <element name="LoyaltyData" type="{}LoyaltyData" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<LoyaltyData>loyaltyDataThe Loyalty data.protected LoyaltyTransactionloyaltyTransactionThe Loyalty transaction.protected SaleDatasaleDataThe Sale data.
-
Constructor Summary
Constructors Constructor Description LoyaltyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LoyaltyData>getLoyaltyData()Gets the value of the loyaltyData property.LoyaltyTransactiongetLoyaltyTransaction()Gets the value of the loyaltyTransaction property.SaleDatagetSaleData()Gets the value of the saleData property.voidsetLoyaltyTransaction(LoyaltyTransaction value)Sets the value of the loyaltyTransaction property.voidsetSaleData(SaleData value)Sets the value of the saleData property.
-
-
-
Field Detail
-
saleData
protected SaleData saleData
The Sale data.
-
loyaltyTransaction
protected LoyaltyTransaction loyaltyTransaction
The Loyalty transaction.
-
loyaltyData
protected List<LoyaltyData> loyaltyData
The Loyalty data.
-
-
Method Detail
-
getSaleData
public SaleData getSaleData()
Gets the value of the saleData property.- Returns:
- possible object is
SaleData
-
setSaleData
public void setSaleData(SaleData value)
Sets the value of the saleData property.- Parameters:
value- allowed object isSaleData
-
getLoyaltyTransaction
public LoyaltyTransaction getLoyaltyTransaction()
Gets the value of the loyaltyTransaction property.- Returns:
- possible object is
LoyaltyTransaction
-
setLoyaltyTransaction
public void setLoyaltyTransaction(LoyaltyTransaction value)
Sets the value of the loyaltyTransaction property.- Parameters:
value- allowed object isLoyaltyTransaction
-
getLoyaltyData
public List<LoyaltyData> getLoyaltyData()
Gets the value of the loyaltyData property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the loyaltyData property.For example, to add a new item, do as follows:
getLoyaltyData().add(newItem);Objects of the following type(s) are allowed in the list
LoyaltyData- Returns:
- the loyalty data
-
-