com.prowidesoftware.swift.model.mx.dic.ServiceRequest2 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 defines the service to be called.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ServiceRequest2", propOrder = {
"envt",
"cntxt",
"svcCntt",
"pmtReq",
"rvslReq",
"balNqryReq",
"lltyReq",
"stordValReq",
"btchReq",
"nblSvcReq",
"cardAcqstnReq",
"splmtryData"
})
public class ServiceRequest2 {
@XmlElement(name = "Envt", required = true)
protected CardPaymentEnvironment73 envt;
@XmlElement(name = "Cntxt", required = true)
protected CardPaymentContext27 cntxt;
@XmlElement(name = "SvcCntt", required = true)
@XmlSchemaType(name = "string")
protected RetailerService2Code svcCntt;
@XmlElement(name = "PmtReq")
protected PaymentRequest1 pmtReq;
@XmlElement(name = "RvslReq")
protected ReversalRequest1 rvslReq;
@XmlElement(name = "BalNqryReq")
protected BalanceInquiryRequest2 balNqryReq;
@XmlElement(name = "LltyReq")
protected LoyaltyRequest1 lltyReq;
@XmlElement(name = "StordValReq")
protected StoredValueRequest2 stordValReq;
@XmlElement(name = "BtchReq")
protected BatchRequest1 btchReq;
@XmlElement(name = "NblSvcReq")
protected EnableServiceRequest1 nblSvcReq;
@XmlElement(name = "CardAcqstnReq")
protected CardAcquisitionRequest2 cardAcqstnReq;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the envt property.
*
* @return
* possible object is
* {@link CardPaymentEnvironment73 }
*
*/
public CardPaymentEnvironment73 getEnvt() {
return envt;
}
/**
* Sets the value of the envt property.
*
* @param value
* allowed object is
* {@link CardPaymentEnvironment73 }
*
*/
public ServiceRequest2 setEnvt(CardPaymentEnvironment73 value) {
this.envt = value;
return this;
}
/**
* Gets the value of the cntxt property.
*
* @return
* possible object is
* {@link CardPaymentContext27 }
*
*/
public CardPaymentContext27 getCntxt() {
return cntxt;
}
/**
* Sets the value of the cntxt property.
*
* @param value
* allowed object is
* {@link CardPaymentContext27 }
*
*/
public ServiceRequest2 setCntxt(CardPaymentContext27 value) {
this.cntxt = value;
return this;
}
/**
* Gets the value of the svcCntt property.
*
* @return
* possible object is
* {@link RetailerService2Code }
*
*/
public RetailerService2Code getSvcCntt() {
return svcCntt;
}
/**
* Sets the value of the svcCntt property.
*
* @param value
* allowed object is
* {@link RetailerService2Code }
*
*/
public ServiceRequest2 setSvcCntt(RetailerService2Code value) {
this.svcCntt = value;
return this;
}
/**
* Gets the value of the pmtReq property.
*
* @return
* possible object is
* {@link PaymentRequest1 }
*
*/
public PaymentRequest1 getPmtReq() {
return pmtReq;
}
/**
* Sets the value of the pmtReq property.
*
* @param value
* allowed object is
* {@link PaymentRequest1 }
*
*/
public ServiceRequest2 setPmtReq(PaymentRequest1 value) {
this.pmtReq = value;
return this;
}
/**
* Gets the value of the rvslReq property.
*
* @return
* possible object is
* {@link ReversalRequest1 }
*
*/
public ReversalRequest1 getRvslReq() {
return rvslReq;
}
/**
* Sets the value of the rvslReq property.
*
* @param value
* allowed object is
* {@link ReversalRequest1 }
*
*/
public ServiceRequest2 setRvslReq(ReversalRequest1 value) {
this.rvslReq = value;
return this;
}
/**
* Gets the value of the balNqryReq property.
*
* @return
* possible object is
* {@link BalanceInquiryRequest2 }
*
*/
public BalanceInquiryRequest2 getBalNqryReq() {
return balNqryReq;
}
/**
* Sets the value of the balNqryReq property.
*
* @param value
* allowed object is
* {@link BalanceInquiryRequest2 }
*
*/
public ServiceRequest2 setBalNqryReq(BalanceInquiryRequest2 value) {
this.balNqryReq = value;
return this;
}
/**
* Gets the value of the lltyReq property.
*
* @return
* possible object is
* {@link LoyaltyRequest1 }
*
*/
public LoyaltyRequest1 getLltyReq() {
return lltyReq;
}
/**
* Sets the value of the lltyReq property.
*
* @param value
* allowed object is
* {@link LoyaltyRequest1 }
*
*/
public ServiceRequest2 setLltyReq(LoyaltyRequest1 value) {
this.lltyReq = value;
return this;
}
/**
* Gets the value of the stordValReq property.
*
* @return
* possible object is
* {@link StoredValueRequest2 }
*
*/
public StoredValueRequest2 getStordValReq() {
return stordValReq;
}
/**
* Sets the value of the stordValReq property.
*
* @param value
* allowed object is
* {@link StoredValueRequest2 }
*
*/
public ServiceRequest2 setStordValReq(StoredValueRequest2 value) {
this.stordValReq = value;
return this;
}
/**
* Gets the value of the btchReq property.
*
* @return
* possible object is
* {@link BatchRequest1 }
*
*/
public BatchRequest1 getBtchReq() {
return btchReq;
}
/**
* Sets the value of the btchReq property.
*
* @param value
* allowed object is
* {@link BatchRequest1 }
*
*/
public ServiceRequest2 setBtchReq(BatchRequest1 value) {
this.btchReq = value;
return this;
}
/**
* Gets the value of the nblSvcReq property.
*
* @return
* possible object is
* {@link EnableServiceRequest1 }
*
*/
public EnableServiceRequest1 getNblSvcReq() {
return nblSvcReq;
}
/**
* Sets the value of the nblSvcReq property.
*
* @param value
* allowed object is
* {@link EnableServiceRequest1 }
*
*/
public ServiceRequest2 setNblSvcReq(EnableServiceRequest1 value) {
this.nblSvcReq = value;
return this;
}
/**
* Gets the value of the cardAcqstnReq property.
*
* @return
* possible object is
* {@link CardAcquisitionRequest2 }
*
*/
public CardAcquisitionRequest2 getCardAcqstnReq() {
return cardAcqstnReq;
}
/**
* Sets the value of the cardAcqstnReq property.
*
* @param value
* allowed object is
* {@link CardAcquisitionRequest2 }
*
*/
public ServiceRequest2 setCardAcqstnReq(CardAcquisitionRequest2 value) {
this.cardAcqstnReq = 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 ServiceRequest2 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}