com.adyen.model.nexo.POITerminalData 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.XmlList;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* Definition: Information related to the software and hardware feature of the POI Terminal -- Usage: Allows in a session to identify the features of the POI Terminal attached to a Sale Terminal per a Login Request messageType.
*
* Java class for POITerminalData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="POITerminalData">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="POICapabilities" type="{}POICapabilities"/>
* <element name="POIProfile" type="{}POIProfile" minOccurs="0"/>
* </sequence>
* <attribute name="TerminalEnvironment" use="required" type="{}TerminalEnvironmentType" />
* <attribute name="POISerialNumber" use="required" type="{}POISerialNumber" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "POITerminalData", propOrder = {
"poiCapabilities",
"poiProfile"
})
public class POITerminalData {
/**
* The Poi capabilities.
*/
@XmlList
@XmlElement(name = "POICapabilities", required = true)
protected List poiCapabilities;
/**
* The Poi profile.
*/
@XmlElement(name = "POIProfile")
protected POIProfile poiProfile;
/**
* The Terminal environment.
*/
@XmlAttribute(name = "TerminalEnvironment", required = true)
protected TerminalEnvironmentType terminalEnvironment;
/**
* The Poi serial number.
*/
@XmlAttribute(name = "POISerialNumber", required = true)
protected String poiSerialNumber;
/**
* Gets the value of the poiCapabilities 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 poiCapabilities property.
*
*
*
*
* For example, to add a new item, do as follows:
*
* getPOICapabilities().add(newItem);
*
*
*
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link POICapabilitiesType }
*
* @return the poi capabilities
*/
public List getPOICapabilities() {
if (poiCapabilities == null) {
poiCapabilities = new ArrayList<>();
}
return this.poiCapabilities;
}
/**
* Gets the value of the poiProfile property.
*
* @return possible object is {@link POIProfile }
*/
public POIProfile getPOIProfile() {
return poiProfile;
}
/**
* Sets the value of the poiProfile property.
*
* @param value allowed object is {@link POIProfile }
*/
public void setPOIProfile(POIProfile value) {
this.poiProfile = value;
}
/**
* Gets the value of the terminalEnvironment property.
*
* @return possible object is {@link TerminalEnvironmentType }
*/
public TerminalEnvironmentType getTerminalEnvironment() {
return terminalEnvironment;
}
/**
* Sets the value of the terminalEnvironment property.
*
* @param value allowed object is {@link TerminalEnvironmentType }
*/
public void setTerminalEnvironment(TerminalEnvironmentType value) {
this.terminalEnvironment = value;
}
/**
* Gets the value of the poiSerialNumber property.
*
* @return possible object is {@link String }
*/
public String getPOISerialNumber() {
return poiSerialNumber;
}
/**
* Sets the value of the poiSerialNumber property.
*
* @param value allowed object is {@link String }
*/
public void setPOISerialNumber(String value) {
this.poiSerialNumber = value;
}
}