com.adyen.model.nexo.Response 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: Result of a messageType request processing. -- Usage: If Result is Success, ErrorCondition is absent or not used in the processing of the messageType. In the other cases, the ErrorCondition has to be present and can refine the processing of the messageType response. AdditionalResponse gives more
*
* Java class for Response complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Response">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AdditionalResponse" type="{}AdditionalResponse" minOccurs="0"/>
* </sequence>
* <attribute name="Result" use="required" type="{}ResultType" />
* <attribute name="ErrorCondition" type="{}ErrorConditionType" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Response", propOrder = {
"additionalResponse"
})
public class Response {
/**
* The Additional response.
*/
@XmlElement(name = "AdditionalResponse")
@Schema(description = "Additional information related to processing status of a message request . --Rule: If present, the POI logs it for further examination")
protected String additionalResponse;
/**
* The Result.
*/
@XmlElement(name = "Result", required = true)
@Schema(description = "Result of the processing of the message")
protected ResultType result;
/**
* The Error condition.
*/
@XmlElement(name = "ErrorCondition")
@Schema(description = "Condition that has produced an error on the processing of a message request --Rule: If Result is not Success")
protected ErrorConditionType errorCondition;
/**
* Gets the value of the additionalResponse property.
*
* @return possible object is {@link String }
*/
public String getAdditionalResponse() {
return additionalResponse;
}
/**
* Sets the value of the additionalResponse property.
*
* @param value allowed object is {@link String }
*/
public void setAdditionalResponse(String value) {
this.additionalResponse = value;
}
/**
* Gets the value of the result property.
*
* @return possible object is {@link ResultType }
*/
public ResultType getResult() {
return result;
}
/**
* Sets the value of the result property.
*
* @param value allowed object is {@link ResultType }
*/
public void setResult(ResultType value) {
this.result = value;
}
/**
* Gets the value of the errorCondition property.
*
* @return possible object is {@link ErrorConditionType }
*/
public ErrorConditionType getErrorCondition() {
return errorCondition;
}
/**
* Sets the value of the errorCondition property.
*
* @param value allowed object is {@link ErrorConditionType }
*/
public void setErrorCondition(ErrorConditionType value) {
this.errorCondition = value;
}
}