com.prowidesoftware.swift.model.mx.dic.ServiceResponse6 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 = "ServiceResponse6", propOrder = {
"envt",
"cntxt",
"svcCntt",
"pmtRspn",
"rvslRspn",
"balNqryRspn",
"lltyRspn",
"stordValRspn",
"btchRspn",
"cardAcqstnRspn",
"rspn",
"splmtryData"
})
public class ServiceResponse6 {
@XmlElement(name = "Envt", required = true)
protected CardPaymentEnvironment78 envt;
@XmlElement(name = "Cntxt", required = true)
protected CardPaymentContext29 cntxt;
@XmlElement(name = "SvcCntt", required = true)
@XmlSchemaType(name = "string")
protected RetailerService3Code svcCntt;
@XmlElement(name = "PmtRspn")
protected PaymentResponse4 pmtRspn;
@XmlElement(name = "RvslRspn")
protected ReversalResponse6 rvslRspn;
@XmlElement(name = "BalNqryRspn")
protected BalanceInquiryResponse4 balNqryRspn;
@XmlElement(name = "LltyRspn")
protected LoyaltyResponse3 lltyRspn;
@XmlElement(name = "StordValRspn")
protected StoredValueResponse5 stordValRspn;
@XmlElement(name = "BtchRspn")
protected BatchResponse4 btchRspn;
@XmlElement(name = "CardAcqstnRspn")
protected CardAcquisitionResponse3 cardAcqstnRspn;
@XmlElement(name = "Rspn", required = true)
protected ResponseType11 rspn;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the envt property.
*
* @return
* possible object is
* {@link CardPaymentEnvironment78 }
*
*/
public CardPaymentEnvironment78 getEnvt() {
return envt;
}
/**
* Sets the value of the envt property.
*
* @param value
* allowed object is
* {@link CardPaymentEnvironment78 }
*
*/
public ServiceResponse6 setEnvt(CardPaymentEnvironment78 value) {
this.envt = value;
return this;
}
/**
* Gets the value of the cntxt property.
*
* @return
* possible object is
* {@link CardPaymentContext29 }
*
*/
public CardPaymentContext29 getCntxt() {
return cntxt;
}
/**
* Sets the value of the cntxt property.
*
* @param value
* allowed object is
* {@link CardPaymentContext29 }
*
*/
public ServiceResponse6 setCntxt(CardPaymentContext29 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 ServiceResponse6 setSvcCntt(RetailerService3Code value) {
this.svcCntt = value;
return this;
}
/**
* Gets the value of the pmtRspn property.
*
* @return
* possible object is
* {@link PaymentResponse4 }
*
*/
public PaymentResponse4 getPmtRspn() {
return pmtRspn;
}
/**
* Sets the value of the pmtRspn property.
*
* @param value
* allowed object is
* {@link PaymentResponse4 }
*
*/
public ServiceResponse6 setPmtRspn(PaymentResponse4 value) {
this.pmtRspn = value;
return this;
}
/**
* Gets the value of the rvslRspn property.
*
* @return
* possible object is
* {@link ReversalResponse6 }
*
*/
public ReversalResponse6 getRvslRspn() {
return rvslRspn;
}
/**
* Sets the value of the rvslRspn property.
*
* @param value
* allowed object is
* {@link ReversalResponse6 }
*
*/
public ServiceResponse6 setRvslRspn(ReversalResponse6 value) {
this.rvslRspn = value;
return this;
}
/**
* Gets the value of the balNqryRspn property.
*
* @return
* possible object is
* {@link BalanceInquiryResponse4 }
*
*/
public BalanceInquiryResponse4 getBalNqryRspn() {
return balNqryRspn;
}
/**
* Sets the value of the balNqryRspn property.
*
* @param value
* allowed object is
* {@link BalanceInquiryResponse4 }
*
*/
public ServiceResponse6 setBalNqryRspn(BalanceInquiryResponse4 value) {
this.balNqryRspn = value;
return this;
}
/**
* Gets the value of the lltyRspn property.
*
* @return
* possible object is
* {@link LoyaltyResponse3 }
*
*/
public LoyaltyResponse3 getLltyRspn() {
return lltyRspn;
}
/**
* Sets the value of the lltyRspn property.
*
* @param value
* allowed object is
* {@link LoyaltyResponse3 }
*
*/
public ServiceResponse6 setLltyRspn(LoyaltyResponse3 value) {
this.lltyRspn = value;
return this;
}
/**
* Gets the value of the stordValRspn property.
*
* @return
* possible object is
* {@link StoredValueResponse5 }
*
*/
public StoredValueResponse5 getStordValRspn() {
return stordValRspn;
}
/**
* Sets the value of the stordValRspn property.
*
* @param value
* allowed object is
* {@link StoredValueResponse5 }
*
*/
public ServiceResponse6 setStordValRspn(StoredValueResponse5 value) {
this.stordValRspn = value;
return this;
}
/**
* Gets the value of the btchRspn property.
*
* @return
* possible object is
* {@link BatchResponse4 }
*
*/
public BatchResponse4 getBtchRspn() {
return btchRspn;
}
/**
* Sets the value of the btchRspn property.
*
* @param value
* allowed object is
* {@link BatchResponse4 }
*
*/
public ServiceResponse6 setBtchRspn(BatchResponse4 value) {
this.btchRspn = value;
return this;
}
/**
* Gets the value of the cardAcqstnRspn property.
*
* @return
* possible object is
* {@link CardAcquisitionResponse3 }
*
*/
public CardAcquisitionResponse3 getCardAcqstnRspn() {
return cardAcqstnRspn;
}
/**
* Sets the value of the cardAcqstnRspn property.
*
* @param value
* allowed object is
* {@link CardAcquisitionResponse3 }
*
*/
public ServiceResponse6 setCardAcqstnRspn(CardAcquisitionResponse3 value) {
this.cardAcqstnRspn = value;
return this;
}
/**
* Gets the value of the rspn property.
*
* @return
* possible object is
* {@link ResponseType11 }
*
*/
public ResponseType11 getRspn() {
return rspn;
}
/**
* Sets the value of the rspn property.
*
* @param value
* allowed object is
* {@link ResponseType11 }
*
*/
public ServiceResponse6 setRspn(ResponseType11 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 ServiceResponse6 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}