com.adyen.model.nexo.SaleTerminalData 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 Sale Terminal. -- Usage: In the Login Request, if a Sale Terminal is involved in the login. In other messages, when a logical device is out of order (SaleCapabilites), or when the other data have changed since or were not in the Login.
*
* Java class for SaleTerminalData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SaleTerminalData">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SaleCapabilities" type="{}SaleCapabilities" minOccurs="0"/>
* <element name="SaleProfile" type="{}SaleProfile" minOccurs="0"/>
* </sequence>
* <attribute name="TerminalEnvironment" type="{}TerminalEnvironmentType" />
* <attribute name="TotalsGroupID" type="{}TotalsGroupID" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SaleTerminalData", propOrder = {
"saleCapabilities",
"saleProfile"
})
public class SaleTerminalData {
/**
* The Sale capabilities.
*/
@XmlList
@XmlElement(name = "SaleCapabilities")
protected List saleCapabilities;
/**
* The Sale profile.
*/
@XmlElement(name = "SaleProfile")
protected SaleProfile saleProfile;
/**
* The Terminal environment.
*/
@XmlAttribute(name = "TerminalEnvironment")
protected TerminalEnvironmentType terminalEnvironment;
/**
* The Totals group id.
*/
@XmlAttribute(name = "TotalsGroupID")
protected String totalsGroupID;
/**
* Gets the value of the saleCapabilities 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 saleCapabilities property.
*
*
* For example, to add a new item, do as follows:
*
* getSaleCapabilities().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SaleCapabilitiesType }
*
* @return the sale capabilities
*/
public List getSaleCapabilities() {
if (saleCapabilities == null) {
saleCapabilities = new ArrayList();
}
return this.saleCapabilities;
}
/**
* Gets the value of the saleProfile property.
*
* @return possible object is {@link SaleProfile }
*/
public SaleProfile getSaleProfile() {
return saleProfile;
}
/**
* Sets the value of the saleProfile property.
*
* @param value allowed object is {@link SaleProfile }
*/
public void setSaleProfile(SaleProfile value) {
this.saleProfile = 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 totalsGroupID property.
*
* @return possible object is {@link String }
*/
public String getTotalsGroupID() {
return totalsGroupID;
}
/**
* Sets the value of the totalsGroupID property.
*
* @param value allowed object is {@link String }
*/
public void setTotalsGroupID(String value) {
this.totalsGroupID = value;
}
}