com.prowidesoftware.swift.model.mx.dic.ServiceResponse3 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* This component contains the response of the corresponding service request.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ServiceResponse3", propOrder = {
"envt",
"cntxt",
"svcCntt",
"pmtRspn",
"rvslRspn",
"balNqryRspn",
"lltyRspn",
"stordValRspn",
"btchRspn",
"cardAcqstnRspn",
"rspn",
"splmtryData"
})
public class ServiceResponse3 {
@XmlElement(name = "Envt", required = true)
protected CardPaymentEnvironment75 envt;
@XmlElement(name = "Cntxt", required = true)
protected CardPaymentContext28 cntxt;
@XmlElement(name = "SvcCntt", required = true)
@XmlSchemaType(name = "string")
protected RetailerService3Code svcCntt;
@XmlElement(name = "PmtRspn")
protected PaymentResponse2 pmtRspn;
@XmlElement(name = "RvslRspn")
protected ReversalResponse3 rvslRspn;
@XmlElement(name = "BalNqryRspn")
protected BalanceInquiryResponse2 balNqryRspn;
@XmlElement(name = "LltyRspn")
protected LoyaltyResponse2 lltyRspn;
@XmlElement(name = "StordValRspn")
protected StoredValueResponse3 stordValRspn;
@XmlElement(name = "BtchRspn")
protected BatchResponse2 btchRspn;
@XmlElement(name = "CardAcqstnRspn")
protected CardAcquisitionResponse2 cardAcqstnRspn;
@XmlElement(name = "Rspn", required = true)
protected ResponseType9 rspn;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the envt property.
*
* @return
* possible object is
* {@link CardPaymentEnvironment75 }
*
*/
public CardPaymentEnvironment75 getEnvt() {
return envt;
}
/**
* Sets the value of the envt property.
*
* @param value
* allowed object is
* {@link CardPaymentEnvironment75 }
*
*/
public ServiceResponse3 setEnvt(CardPaymentEnvironment75 value) {
this.envt = value;
return this;
}
/**
* Gets the value of the cntxt property.
*
* @return
* possible object is
* {@link CardPaymentContext28 }
*
*/
public CardPaymentContext28 getCntxt() {
return cntxt;
}
/**
* Sets the value of the cntxt property.
*
* @param value
* allowed object is
* {@link CardPaymentContext28 }
*
*/
public ServiceResponse3 setCntxt(CardPaymentContext28 value) {
this.cntxt = value;
return this;
}
/**
* Gets the value of the svcCntt property.
*
* @return
* possible object is
* {@link RetailerService3Code }
*
*/
public RetailerService3Code getSvcCntt() {
return svcCntt;
}
/**
* Sets the value of the svcCntt property.
*
* @param value
* allowed object is
* {@link RetailerService3Code }
*
*/
public ServiceResponse3 setSvcCntt(RetailerService3Code value) {
this.svcCntt = value;
return this;
}
/**
* Gets the value of the pmtRspn property.
*
* @return
* possible object is
* {@link PaymentResponse2 }
*
*/
public PaymentResponse2 getPmtRspn() {
return pmtRspn;
}
/**
* Sets the value of the pmtRspn property.
*
* @param value
* allowed object is
* {@link PaymentResponse2 }
*
*/
public ServiceResponse3 setPmtRspn(PaymentResponse2 value) {
this.pmtRspn = value;
return this;
}
/**
* Gets the value of the rvslRspn property.
*
* @return
* possible object is
* {@link ReversalResponse3 }
*
*/
public ReversalResponse3 getRvslRspn() {
return rvslRspn;
}
/**
* Sets the value of the rvslRspn property.
*
* @param value
* allowed object is
* {@link ReversalResponse3 }
*
*/
public ServiceResponse3 setRvslRspn(ReversalResponse3 value) {
this.rvslRspn = value;
return this;
}
/**
* Gets the value of the balNqryRspn property.
*
* @return
* possible object is
* {@link BalanceInquiryResponse2 }
*
*/
public BalanceInquiryResponse2 getBalNqryRspn() {
return balNqryRspn;
}
/**
* Sets the value of the balNqryRspn property.
*
* @param value
* allowed object is
* {@link BalanceInquiryResponse2 }
*
*/
public ServiceResponse3 setBalNqryRspn(BalanceInquiryResponse2 value) {
this.balNqryRspn = value;
return this;
}
/**
* Gets the value of the lltyRspn property.
*
* @return
* possible object is
* {@link LoyaltyResponse2 }
*
*/
public LoyaltyResponse2 getLltyRspn() {
return lltyRspn;
}
/**
* Sets the value of the lltyRspn property.
*
* @param value
* allowed object is
* {@link LoyaltyResponse2 }
*
*/
public ServiceResponse3 setLltyRspn(LoyaltyResponse2 value) {
this.lltyRspn = value;
return this;
}
/**
* Gets the value of the stordValRspn property.
*
* @return
* possible object is
* {@link StoredValueResponse3 }
*
*/
public StoredValueResponse3 getStordValRspn() {
return stordValRspn;
}
/**
* Sets the value of the stordValRspn property.
*
* @param value
* allowed object is
* {@link StoredValueResponse3 }
*
*/
public ServiceResponse3 setStordValRspn(StoredValueResponse3 value) {
this.stordValRspn = value;
return this;
}
/**
* Gets the value of the btchRspn property.
*
* @return
* possible object is
* {@link BatchResponse2 }
*
*/
public BatchResponse2 getBtchRspn() {
return btchRspn;
}
/**
* Sets the value of the btchRspn property.
*
* @param value
* allowed object is
* {@link BatchResponse2 }
*
*/
public ServiceResponse3 setBtchRspn(BatchResponse2 value) {
this.btchRspn = value;
return this;
}
/**
* Gets the value of the cardAcqstnRspn property.
*
* @return
* possible object is
* {@link CardAcquisitionResponse2 }
*
*/
public CardAcquisitionResponse2 getCardAcqstnRspn() {
return cardAcqstnRspn;
}
/**
* Sets the value of the cardAcqstnRspn property.
*
* @param value
* allowed object is
* {@link CardAcquisitionResponse2 }
*
*/
public ServiceResponse3 setCardAcqstnRspn(CardAcquisitionResponse2 value) {
this.cardAcqstnRspn = value;
return this;
}
/**
* Gets the value of the rspn property.
*
* @return
* possible object is
* {@link ResponseType9 }
*
*/
public ResponseType9 getRspn() {
return rspn;
}
/**
* Sets the value of the rspn property.
*
* @param value
* allowed object is
* {@link ResponseType9 }
*
*/
public ServiceResponse3 setRspn(ResponseType9 value) {
this.rspn = value;
return this;
}
/**
* Gets the value of the splmtryData 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
* @return
* The value of the splmtryData property.
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList<>();
}
return this.splmtryData;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public ServiceResponse3 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}