com.adyen.model.nexo.HostStatus Maven / Gradle / Ivy
package com.adyen.model.nexo;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Definition: State of a Host. -- Usage: Indicate the reachability of the host by the POI Terminal.
*
* Java class for HostStatus complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostStatus">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="AcquirerID" use="required" type="{}AcquirerID" />
* <attribute name="IsReachableFlag" type="{}IsReachableFlag" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostStatus")
public class HostStatus {
/**
* The Acquirer id.
*/
@XmlElement(name = "AcquirerID", required = true)
@Schema(description = "Identification of the Acquirer")
protected String acquirerID;
/**
* The Is reachable flag.
*/
@XmlElement(name = "IsReachableFlag")
@Schema(description = "Indicate if a Host is reachable")
protected Boolean isReachableFlag;
/**
* Gets the value of the acquirerID property.
*
* @return possible object is {@link String }
*/
public String getAcquirerID() {
return acquirerID;
}
/**
* Sets the value of the acquirerID property.
*
* @param value allowed object is {@link String }
*/
public void setAcquirerID(String value) {
this.acquirerID = value;
}
/**
* Gets the value of the isReachableFlag property.
*
* @return possible object is {@link Boolean }
*/
public boolean isIsReachableFlag() {
if (isReachableFlag == null) {
return true;
} else {
return isReachableFlag;
}
}
/**
* Sets the value of the isReachableFlag property.
*
* @param value allowed object is {@link Boolean }
*/
public void setIsReachableFlag(Boolean value) {
this.isReachableFlag = value;
}
}