com.adyen.model.nexo.EnableServiceRequest 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: Content of the Enable Service Request messageType. -- Usage: It conveys the services that will be enabled for the POI Terminal without the request of the Sale System, and a possible invitation for the Customer to start the services.
*
* Java class for EnableServiceRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EnableServiceRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ServicesEnabled" type="{}ServicesEnabled" minOccurs="0"/>
* <element name="DisplayOutput" type="{}DisplayOutput" minOccurs="0"/>
* </sequence>
* <attribute name="TransactionAction" use="required" type="{}TransactionActionType" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EnableServiceRequest", propOrder = {
"servicesEnabled",
"displayOutput"
})
public class EnableServiceRequest {
/**
* The Services enabled.
*/
@XmlList
@XmlElement(name = "ServicesEnabled")
protected List servicesEnabled;
/**
* The Display output.
*/
@XmlElement(name = "DisplayOutput")
protected DisplayOutput displayOutput;
/**
* The Transaction action.
*/
@XmlAttribute(name = "TransactionAction", required = true)
protected TransactionActionType transactionAction;
/**
* Gets the value of the servicesEnabled 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 servicesEnabled property.
*
*
*
*
* For example, to add a new item, do as follows:
*
* getServicesEnabled().add(newItem);
*
*
*
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ServicesEnabledType }
*
* @return the services enabled
*/
public List getServicesEnabled() {
if (servicesEnabled == null) {
servicesEnabled = new ArrayList();
}
return this.servicesEnabled;
}
/**
* Gets the value of the displayOutput property.
*
* @return possible object is {@link DisplayOutput }
*/
public DisplayOutput getDisplayOutput() {
return displayOutput;
}
/**
* Sets the value of the displayOutput property.
*
* @param value allowed object is {@link DisplayOutput }
*/
public void setDisplayOutput(DisplayOutput value) {
this.displayOutput = value;
}
/**
* Gets the value of the transactionAction property.
*
* @return possible object is {@link TransactionActionType }
*/
public TransactionActionType getTransactionAction() {
return transactionAction;
}
/**
* Sets the value of the transactionAction property.
*
* @param value allowed object is {@link TransactionActionType }
*/
public void setTransactionAction(TransactionActionType value) {
this.transactionAction = value;
}
}