Package com.adyen.model.nexo
Class StoredValueRequest
- java.lang.Object
-
- com.adyen.model.nexo.StoredValueRequest
-
public class StoredValueRequest extends Object
Definition: Content of the Stored Value Request messageType. -- Usage: It conveys Information related to the Stored Value transaction to processJava class for StoredValueRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StoredValueRequest"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="SaleData" type="{}SaleData"/> <element name="StoredValueData" type="{}StoredValueData" maxOccurs="unbounded"/> </sequence> <attribute name="CustomerLanguage" type="{}ISOLanguage2A" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcustomerLanguageThe Customer language.protected SaleDatasaleDataThe Sale data.protected List<StoredValueData>storedValueDataThe Stored value data.
-
Constructor Summary
Constructors Constructor Description StoredValueRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCustomerLanguage()Gets the value of the customerLanguage property.SaleDatagetSaleData()Gets the value of the saleData property.List<StoredValueData>getStoredValueData()Gets the value of the storedValueData property.voidsetCustomerLanguage(String value)Sets the value of the customerLanguage property.voidsetSaleData(SaleData value)Sets the value of the saleData property.
-
-
-
Field Detail
-
saleData
protected SaleData saleData
The Sale data.
-
storedValueData
protected List<StoredValueData> storedValueData
The Stored value data.
-
customerLanguage
protected String customerLanguage
The Customer language.
-
-
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
-
getStoredValueData
public List<StoredValueData> getStoredValueData()
Gets the value of the storedValueData 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 storedValueData property.For example, to add a new item, do as follows:
getStoredValueData().add(newItem);Objects of the following type(s) are allowed in the list
StoredValueData- Returns:
- the stored value data
-
getCustomerLanguage
public String getCustomerLanguage()
Gets the value of the customerLanguage property.- Returns:
- possible object is
String
-
-