com.adyen.model.nexo.SaleData 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: Data related to the Sale System. -- Usage: Data associated to the Sale System, with a particular value during the processing of the payment by the POI, including the cards acquisition.
*
* Java class for SaleData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SaleData">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SaleTransactionID" type="{}TransactionIdentification"/>
* <element name="SaleTerminalData" type="{}SaleTerminalData" minOccurs="0"/>
* <element name="SponsoredMerchant" type="{}SponsoredMerchant" maxOccurs="unbounded" minOccurs="0"/>
* <element name="SaleToPOIData" type="{}SaleToPOIData" minOccurs="0"/>
* <element name="SaleToAcquirerData" type="{}SaleToAcquirerData" minOccurs="0"/>
* <element name="SaleToIssuerData" type="{}SaleToIssuerData" minOccurs="0"/>
* </sequence>
* <attribute name="OperatorID" type="{}OperatorID" />
* <attribute name="OperatorLanguage" type="{}ISOLanguage2A" />
* <attribute name="ShiftNumber" type="{}ShiftNumber" />
* <attribute name="SaleReferenceID" type="{}SaleReferenceID" />
* <attribute name="TokenRequested" type="{}TokenRequestedType" />
* <attribute name="CustomerOrderID" type="{}CustomerOrderID" />
* <attribute name="CustomerOrderReq" type="{}CustomerOrderReq" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SaleData", propOrder = {
"saleTransactionID",
"saleTerminalData",
"sponsoredMerchant",
"saleToPOIData",
"saleToAcquirerData",
"saleToIssuerData"
})
public class SaleData {
/**
* The Sale transaction id.
*/
@XmlElement(name = "SaleTransactionID", required = true)
protected TransactionIdentification saleTransactionID;
/**
* The Sale terminal data.
*/
@XmlElement(name = "SaleTerminalData")
protected SaleTerminalData saleTerminalData;
/**
* The Sponsored merchant.
*/
@XmlElement(name = "SponsoredMerchant")
protected List sponsoredMerchant;
/**
* The Sale to poi data.
*/
@XmlElement(name = "SaleToPOIData")
protected String saleToPOIData;
/**
* The Sale to acquirer data.
*/
@XmlElement(name = "SaleToAcquirerData")
protected String saleToAcquirerData;
/**
* The Sale to issuer data.
*/
@XmlElement(name = "SaleToIssuerData")
protected SaleToIssuerData saleToIssuerData;
/**
* The Operator id.
*/
@XmlAttribute(name = "OperatorID")
protected String operatorID;
/**
* The Operator language.
*/
@XmlAttribute(name = "OperatorLanguage")
protected String operatorLanguage;
/**
* The Shift number.
*/
@XmlAttribute(name = "ShiftNumber")
protected String shiftNumber;
/**
* The Sale reference id.
*/
@XmlAttribute(name = "SaleReferenceID")
protected String saleReferenceID;
/**
* The Token requested.
*/
@XmlAttribute(name = "TokenRequested")
protected TokenRequestedType tokenRequested;
/**
* The Customer order id.
*/
@XmlAttribute(name = "CustomerOrderID")
protected String customerOrderID;
/**
* The Customer order req.
*/
@XmlAttribute(name = "CustomerOrderReq")
protected List customerOrderReq;
/**
* Gets the value of the saleTransactionID property.
*
* @return possible object is {@link TransactionIdentification }
*/
public TransactionIdentification getSaleTransactionID() {
return saleTransactionID;
}
/**
* Sets the value of the saleTransactionID property.
*
* @param value allowed object is {@link TransactionIdentification }
*/
public void setSaleTransactionID(TransactionIdentification value) {
this.saleTransactionID = value;
}
/**
* Gets the value of the saleTerminalData property.
*
* @return possible object is {@link SaleTerminalData }
*/
public SaleTerminalData getSaleTerminalData() {
return saleTerminalData;
}
/**
* Sets the value of the saleTerminalData property.
*
* @param value allowed object is {@link SaleTerminalData }
*/
public void setSaleTerminalData(SaleTerminalData value) {
this.saleTerminalData = value;
}
/**
* Gets the value of the sponsoredMerchant 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 sponsoredMerchant property.
*
*
* For example, to add a new item, do as follows:
*
* getSponsoredMerchant().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SponsoredMerchant }
*
* @return the sponsored merchant
*/
public List getSponsoredMerchant() {
if (sponsoredMerchant == null) {
sponsoredMerchant = new ArrayList();
}
return this.sponsoredMerchant;
}
/**
* Gets the value of the saleToPOIData property.
*
* @return possible object is {@link String }
*/
public String getSaleToPOIData() {
return saleToPOIData;
}
/**
* Sets the value of the saleToPOIData property.
*
* @param value allowed object is {@link String }
*/
public void setSaleToPOIData(String value) {
this.saleToPOIData = value;
}
/**
* Gets the value of the saleToAcquirerData property.
*
* @return possible object is {@link String }
*/
public String getSaleToAcquirerData() {
return saleToAcquirerData;
}
/**
* Sets the value of the saleToAcquirerData property.
*
* @param value allowed object is {@link String }
*/
public void setSaleToAcquirerData(String value) {
this.saleToAcquirerData = value;
}
/**
* Gets the value of the saleToIssuerData property.
*
* @return possible object is {@link SaleToIssuerData }
*/
public SaleToIssuerData getSaleToIssuerData() {
return saleToIssuerData;
}
/**
* Sets the value of the saleToIssuerData property.
*
* @param value allowed object is {@link SaleToIssuerData }
*/
public void setSaleToIssuerData(SaleToIssuerData value) {
this.saleToIssuerData = value;
}
/**
* Gets the value of the operatorID property.
*
* @return possible object is {@link String }
*/
public String getOperatorID() {
return operatorID;
}
/**
* Sets the value of the operatorID property.
*
* @param value allowed object is {@link String }
*/
public void setOperatorID(String value) {
this.operatorID = value;
}
/**
* Gets the value of the operatorLanguage property.
*
* @return possible object is {@link String }
*/
public String getOperatorLanguage() {
return operatorLanguage;
}
/**
* Sets the value of the operatorLanguage property.
*
* @param value allowed object is {@link String }
*/
public void setOperatorLanguage(String value) {
this.operatorLanguage = value;
}
/**
* Gets the value of the shiftNumber property.
*
* @return possible object is {@link String }
*/
public String getShiftNumber() {
return shiftNumber;
}
/**
* Sets the value of the shiftNumber property.
*
* @param value allowed object is {@link String }
*/
public void setShiftNumber(String value) {
this.shiftNumber = value;
}
/**
* Gets the value of the saleReferenceID property.
*
* @return possible object is {@link String }
*/
public String getSaleReferenceID() {
return saleReferenceID;
}
/**
* Sets the value of the saleReferenceID property.
*
* @param value allowed object is {@link String }
*/
public void setSaleReferenceID(String value) {
this.saleReferenceID = value;
}
/**
* Gets the value of the tokenRequested property.
*
* @return possible object is {@link TokenRequestedType }
*/
public TokenRequestedType getTokenRequested() {
return tokenRequested;
}
/**
* Sets the value of the tokenRequested property.
*
* @param value allowed object is {@link TokenRequestedType }
*/
public void setTokenRequested(TokenRequestedType value) {
this.tokenRequested = value;
}
/**
* Gets the value of the customerOrderID property.
*
* @return possible object is {@link String }
*/
public String getCustomerOrderID() {
return customerOrderID;
}
/**
* Sets the value of the customerOrderID property.
*
* @param value allowed object is {@link String }
*/
public void setCustomerOrderID(String value) {
this.customerOrderID = value;
}
/**
* Gets the value of the customerOrderReq 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 customerOrderReq property.
*
*
* For example, to add a new item, do as follows:
*
* getCustomerOrderReq().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CustomerOrderReqType }
*
* @return the customer order req
*/
public List getCustomerOrderReq() {
if (customerOrderReq == null) {
customerOrderReq = new ArrayList();
}
return this.customerOrderReq;
}
}