All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.StoredValueRequest Maven / Gradle / Ivy

There is a newer version: 28.4.0
Show newest version
package com.adyen.model.nexo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * Definition: Content of the Stored Value Request messageType. -- Usage: It conveys Information related to the Stored Value transaction to process
 *
 * 

Java 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>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StoredValueRequest", propOrder = { "saleData", "storedValueData" }) public class StoredValueRequest { /** * The Sale data. */ @XmlElement(name = "SaleData", required = true) protected SaleData saleData; /** * The Stored value data. */ @XmlElement(name = "StoredValueData", required = true) protected List storedValueData; /** * The Customer language. */ @XmlAttribute(name = "CustomerLanguage") protected String customerLanguage; /** * Gets the value of the saleData property. * * @return possible object is {@link SaleData } */ public SaleData getSaleData() { return saleData; } /** * Sets the value of the saleData property. * * @param value allowed object is {@link SaleData } */ public void setSaleData(SaleData value) { this.saleData = value; } /** * 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 set method 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 * {@link StoredValueData } * * @return the stored value data */ public List getStoredValueData() { if (storedValueData == null) { storedValueData = new ArrayList(); } return this.storedValueData; } /** * Gets the value of the customerLanguage property. * * @return possible object is {@link String } */ public String getCustomerLanguage() { return customerLanguage; } /** * Sets the value of the customerLanguage property. * * @param value allowed object is {@link String } */ public void setCustomerLanguage(String value) { this.customerLanguage = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy