com.adyen.model.nexo.TransmitRequest 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.math.BigInteger;
/**
* Definition: Content of the Transmit Request messageType. -- Usage: It contains a messageType to transmit.
*
* Java class for TransmitRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TransmitRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Message" type="{}Message"/>
* </sequence>
* <attribute name="WaitResponseFlag" type="{}WaitResponseFlag" default="false" />
* <attribute name="MaximumTransmitTime" use="required" type="{}MaximumTransmitTime" />
* <attribute name="DestinationAddress" use="required" type="{}DestinationAddress" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransmitRequest", propOrder = {
"message"
})
public class TransmitRequest {
/**
* The Message.
*/
@XmlElement(name = "Message", required = true)
protected byte[] message;
/**
* The Wait response flag.
*/
@XmlAttribute(name = "WaitResponseFlag")
protected Boolean waitResponseFlag;
/**
* The Maximum transmit time.
*/
@XmlAttribute(name = "MaximumTransmitTime", required = true)
protected BigInteger maximumTransmitTime;
/**
* The Destination address.
*/
@XmlAttribute(name = "DestinationAddress", required = true)
protected String destinationAddress;
/**
* Gets the value of the messageType property.
*
* @return possible object is byte[]
*/
public byte[] getMessage() {
return message;
}
/**
* Sets the value of the messageType property.
*
* @param value allowed object is byte[]
*/
public void setMessage(byte[] value) {
this.message = value;
}
/**
* Gets the value of the waitResponseFlag property.
*
* @return possible object is {@link Boolean }
*/
public boolean isWaitResponseFlag() {
if (waitResponseFlag == null) {
return false;
} else {
return waitResponseFlag;
}
}
/**
* Sets the value of the waitResponseFlag property.
*
* @param value allowed object is {@link Boolean }
*/
public void setWaitResponseFlag(Boolean value) {
this.waitResponseFlag = value;
}
/**
* Gets the value of the maximumTransmitTime property.
*
* @return possible object is {@link BigInteger }
*/
public BigInteger getMaximumTransmitTime() {
return maximumTransmitTime;
}
/**
* Sets the value of the maximumTransmitTime property.
*
* @param value allowed object is {@link BigInteger }
*/
public void setMaximumTransmitTime(BigInteger value) {
this.maximumTransmitTime = value;
}
/**
* Gets the value of the destinationAddress property.
*
* @return possible object is {@link String }
*/
public String getDestinationAddress() {
return destinationAddress;
}
/**
* Sets the value of the destinationAddress property.
*
* @param value allowed object is {@link String }
*/
public void setDestinationAddress(String value) {
this.destinationAddress = value;
}
}