com.adyen.model.nexo.StoredValueAccountID 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;
import java.util.ArrayList;
import java.util.List;
/**
* Definition: Identification of the stored value account or the stored value card -- Usage: It contains the identifications of the stored value account or the stored value card, and the associated product sold by the Sale System for stored value requests.
*
* Java class for StoredValueAccountID complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StoredValueAccountID">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="StoredValueAccountType" use="required" type="{}StoredValueAccountType" />
* <attribute name="StoredValueProvider" type="{}StoredValueProvider" />
* <attribute name="OwnerName" type="{}OwnerName" />
* <attribute name="ExpiryDate" type="{}ExpiryDate" />
* <attribute name="EntryMode" use="required" type="{}EntryMode" />
* <attribute name="IdentificationType" use="required" type="{}IdentificationType" />
* <attribute name="StoredValueID" use="required" type="{}StoredValueID" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StoredValueAccountID")
public class StoredValueAccountID {
@XmlElement(name = "StoredValueAccountType", required = true)
@Schema(description = "Type of stored value account")
protected StoredValueAccountType storedValueAccountType;
@XmlElement(name = "StoredValueProvider")
@Schema(description = "Identification of the provider of the stored value account load/reload --Rule: If available for the card or account.")
protected String storedValueProvider;
@XmlElement(name = "OwnerName")
@Schema(description = "Owner name of an account --Rule: If available for the card or account.")
protected String ownerName;
@XmlElement(name = "ExpiryDate")
@Schema(description = "Date after which the card cannot be used. --Rule: If required for the card or account.")
protected String expiryDate;
@XmlElement(name = "EntryMode", required = true)
@Schema(description = "Entry mode of the payment instrument information")
protected List entryMode;
@XmlElement(name = "IdentificationType", required = true)
@Schema(description = "Type of account identification")
protected IdentificationType identificationType;
@XmlElement(name = "StoredValueID", required = true)
@Schema(description = "Stored value account identification")
protected String storedValueID;
/**
* Gets the value of the storedValueAccountType property.
*
* @return possible object is
* {@link StoredValueAccountType }
*/
public StoredValueAccountType getStoredValueAccountType() {
return storedValueAccountType;
}
/**
* Sets the value of the storedValueAccountType property.
*
* @param value allowed object is
* {@link StoredValueAccountType }
*/
public void setStoredValueAccountType(StoredValueAccountType value) {
this.storedValueAccountType = value;
}
/**
* Gets the value of the storedValueProvider property.
*
* @return possible object is
* {@link String }
*/
public String getStoredValueProvider() {
return storedValueProvider;
}
/**
* Sets the value of the storedValueProvider property.
*
* @param value allowed object is
* {@link String }
*/
public void setStoredValueProvider(String value) {
this.storedValueProvider = value;
}
/**
* Gets the value of the ownerName property.
*
* @return possible object is
* {@link String }
*/
public String getOwnerName() {
return ownerName;
}
/**
* Sets the value of the ownerName property.
*
* @param value allowed object is
* {@link String }
*/
public void setOwnerName(String value) {
this.ownerName = value;
}
/**
* Gets the value of the expiryDate property.
*
* @return possible object is
* {@link String }
*/
public String getExpiryDate() {
return expiryDate;
}
/**
* Sets the value of the expiryDate property.
*
* @param value allowed object is
* {@link String }
*/
public void setExpiryDate(String value) {
this.expiryDate = value;
}
/**
* Gets the value of the entryMode 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 entryMode property.
*
*
* For example, to add a new item, do as follows:
*
* getEntryMode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EntryModeType }
*/
public List getEntryMode() {
if (entryMode == null) {
entryMode = new ArrayList<>();
}
return this.entryMode;
}
/**
* Gets the value of the identificationType property.
*
* @return possible object is
* {@link IdentificationType }
*/
public IdentificationType getIdentificationType() {
return identificationType;
}
/**
* Sets the value of the identificationType property.
*
* @param value allowed object is
* {@link IdentificationType }
*/
public void setIdentificationType(IdentificationType value) {
this.identificationType = value;
}
/**
* Gets the value of the storedValueID property.
*
* @return possible object is
* {@link String }
*/
public String getStoredValueID() {
return storedValueID;
}
/**
* Sets the value of the storedValueID property.
*
* @param value allowed object is
* {@link String }
*/
public void setStoredValueID(String value) {
this.storedValueID = value;
}
}