com.adyen.model.nexo.CardReaderInitResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
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 Card Reader Init Response messageType. -- Usage: It contains the result of the Card Reader by the POI Card Reader (magnetic stripe content, or chip initialisation data).
*
* Java class for CardReaderInitResponse complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CardReaderInitResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Response" type="{}Response"/>
* <element name="TrackData" type="{}TrackData" maxOccurs="4" minOccurs="0"/>
* <element name="ICCResetData" type="{}ICCResetData" minOccurs="0"/>
* </sequence>
* <attribute name="EntryMode" type="{}EntryMode" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardReaderInitResponse", propOrder = {
"response",
"trackData",
"iccResetData"
})
public class CardReaderInitResponse {
/**
* The Response.
*/
@XmlElement(name = "Response", required = true)
protected Response response;
/**
* The Track data.
*/
@XmlElement(name = "TrackData")
protected List trackData;
/**
* The Icc reset data.
*/
@XmlElement(name = "ICCResetData")
protected ICCResetData iccResetData;
/**
* The Entry mode.
*/
@XmlAttribute(name = "EntryMode")
protected List entryMode;
/**
* Gets the value of the response property.
*
* @return possible object is {@link Response }
*/
public Response getResponse() {
return response;
}
/**
* Sets the value of the response property.
*
* @param value allowed object is {@link Response }
*/
public void setResponse(Response value) {
this.response = value;
}
/**
* Gets the value of the trackData 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 trackData property.
*
*
*
*
* For example, to add a new item, do as follows:
*
* getTrackData().add(newItem);
*
*
*
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TrackData }
*
* @return the track data
*/
public List getTrackData() {
if (trackData == null) {
trackData = new ArrayList();
}
return this.trackData;
}
/**
* Gets the value of the iccResetData property.
*
* @return possible object is {@link ICCResetData }
*/
public ICCResetData getICCResetData() {
return iccResetData;
}
/**
* Sets the value of the iccResetData property.
*
* @param value allowed object is {@link ICCResetData }
*/
public void setICCResetData(ICCResetData value) {
this.iccResetData = 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 }
*
* @return the entry mode
*/
public List getEntryMode() {
if (entryMode == null) {
entryMode = new ArrayList();
}
return this.entryMode;
}
}