com.adyen.model.nexo.LoginRequest 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import java.util.ArrayList;
import java.util.List;
/**
* Definition: Content of the Login Request messageType. -- Usage: It conveys Information related to the session (period between a Login and the following Logout) to process
*
* Java class for LoginRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="LoginRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DateTime" type="{}DateTime"/>
* <element name="SaleSoftware" type="{}SaleSoftware"/>
* <element name="SaleTerminalData" type="{}SaleTerminalData" minOccurs="0"/>
* </sequence>
* <attribute name="TrainingModeFlag" type="{}TrainingModeFlag" default="false" />
* <attribute name="OperatorLanguage" use="required" type="{}ISOLanguage2A" />
* <attribute name="OperatorID" type="{}OperatorID" />
* <attribute name="ShiftNumber" type="{}ShiftNumber" />
* <attribute name="TokenRequested" type="{}TokenRequestedType" />
* <attribute name="CustomerOrderReq" type="{}CustomerOrderReq" />
* <attribute name="POISerialNumber" type="{}POISerialNumber" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LoginRequest", propOrder = {
"dateTime",
"saleSoftware",
"saleTerminalData"
})
public class LoginRequest {
/**
* The Date time.
*/
@XmlElement(name = "DateTime", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateTime;
/**
* The Sale software.
*/
@XmlElement(name = "SaleSoftware", required = true)
protected SaleSoftware saleSoftware;
/**
* The Sale terminal data.
*/
@XmlElement(name = "SaleTerminalData")
protected SaleTerminalData saleTerminalData;
/**
* The Training mode flag.
*/
@XmlAttribute(name = "TrainingModeFlag")
protected Boolean trainingModeFlag;
/**
* The Operator language.
*/
@XmlAttribute(name = "OperatorLanguage", required = true)
protected String operatorLanguage;
/**
* The Operator id.
*/
@XmlAttribute(name = "OperatorID")
protected String operatorID;
/**
* The Shift number.
*/
@XmlAttribute(name = "ShiftNumber")
protected String shiftNumber;
/**
* The Token requested.
*/
@XmlAttribute(name = "TokenRequestedType")
protected TokenRequestedType tokenRequestedType;
/**
* The Customer order req.
*/
@XmlAttribute(name = "CustomerOrderReq")
protected List customerOrderReq;
/**
* The Poi serial number.
*/
@XmlAttribute(name = "POISerialNumber")
protected String poiSerialNumber;
/**
* Gets the value of the dateTime property.
*
* @return possible object is {@link XMLGregorianCalendar }
*/
public XMLGregorianCalendar getDateTime() {
return dateTime;
}
/**
* Sets the value of the dateTime property.
*
* @param value allowed object is {@link XMLGregorianCalendar }
*/
public void setDateTime(XMLGregorianCalendar value) {
this.dateTime = value;
}
/**
* Gets the value of the saleSoftware property.
*
* @return possible object is {@link SaleSoftware }
*/
public SaleSoftware getSaleSoftware() {
return saleSoftware;
}
/**
* Sets the value of the saleSoftware property.
*
* @param value allowed object is {@link SaleSoftware }
*/
public void setSaleSoftware(SaleSoftware value) {
this.saleSoftware = 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 trainingModeFlag property.
*
* @return possible object is {@link Boolean }
*/
public boolean isTrainingModeFlag() {
if (trainingModeFlag == null) {
return false;
} else {
return trainingModeFlag;
}
}
/**
* Sets the value of the trainingModeFlag property.
*
* @param value allowed object is {@link Boolean }
*/
public void setTrainingModeFlag(Boolean value) {
this.trainingModeFlag = 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 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 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 tokenRequestedType property.
*
* @return possible object is {@link TokenRequestedType }
*/
public TokenRequestedType getTokenRequestedType() {
return tokenRequestedType;
}
/**
* Sets the value of the tokenRequestedType property.
*
* @param value allowed object is {@link TokenRequestedType }
*/
public void setTokenRequestedType(TokenRequestedType value) {
this.tokenRequestedType = 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;
}
/**
* 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;
}
}