com.prowidesoftware.swift.model.mx.dic.ServiceRequest4 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 = "ServiceRequest4", propOrder = {
"envt",
"cntxt",
"svcCntt",
"pmtReq",
"rvslReq",
"balNqryReq",
"lltyReq",
"stordValReq",
"btchReq",
"nblSvcReq",
"cardAcqstnReq",
"splmtryData"
})
public class ServiceRequest4 {
@XmlElement(name = "Envt", required = true)
protected CardPaymentEnvironment77 envt;
@XmlElement(name = "Cntxt", required = true)
protected CardPaymentContext28 cntxt;
@XmlElement(name = "SvcCntt", required = true)
@XmlSchemaType(name = "string")
protected RetailerService2Code svcCntt;
@XmlElement(name = "PmtReq")
protected PaymentRequest3 pmtReq;
@XmlElement(name = "RvslReq")
protected ReversalRequest3 rvslReq;
@XmlElement(name = "BalNqryReq")
protected BalanceInquiryRequest4 balNqryReq;
@XmlElement(name = "LltyReq")
protected LoyaltyRequest3 lltyReq;
@XmlElement(name = "StordValReq")
protected StoredValueRequest4 stordValReq;
@XmlElement(name = "BtchReq")
protected BatchRequest3 btchReq;
@XmlElement(name = "NblSvcReq")
protected EnableServiceRequest3 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 CardPaymentEnvironment77 }
*
*/
public CardPaymentEnvironment77 getEnvt() {
return envt;
}
/**
* Sets the value of the envt property.
*
* @param value
* allowed object is
* {@link CardPaymentEnvironment77 }
*
*/
public ServiceRequest4 setEnvt(CardPaymentEnvironment77 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 ServiceRequest4 setCntxt(CardPaymentContext28 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 ServiceRequest4 setSvcCntt(RetailerService2Code value) {
this.svcCntt = value;
return this;
}
/**
* Gets the value of the pmtReq property.
*
* @return
* possible object is
* {@link PaymentRequest3 }
*
*/
public PaymentRequest3 getPmtReq() {
return pmtReq;
}
/**
* Sets the value of the pmtReq property.
*
* @param value
* allowed object is
* {@link PaymentRequest3 }
*
*/
public ServiceRequest4 setPmtReq(PaymentRequest3 value) {
this.pmtReq = value;
return this;
}
/**
* Gets the value of the rvslReq property.
*
* @return
* possible object is
* {@link ReversalRequest3 }
*
*/
public ReversalRequest3 getRvslReq() {
return rvslReq;
}
/**
* Sets the value of the rvslReq property.
*
* @param value
* allowed object is
* {@link ReversalRequest3 }
*
*/
public ServiceRequest4 setRvslReq(ReversalRequest3 value) {
this.rvslReq = value;
return this;
}
/**
* Gets the value of the balNqryReq property.
*
* @return
* possible object is
* {@link BalanceInquiryRequest4 }
*
*/
public BalanceInquiryRequest4 getBalNqryReq() {
return balNqryReq;
}
/**
* Sets the value of the balNqryReq property.
*
* @param value
* allowed object is
* {@link BalanceInquiryRequest4 }
*
*/
public ServiceRequest4 setBalNqryReq(BalanceInquiryRequest4 value) {
this.balNqryReq = value;
return this;
}
/**
* Gets the value of the lltyReq property.
*
* @return
* possible object is
* {@link LoyaltyRequest3 }
*
*/
public LoyaltyRequest3 getLltyReq() {
return lltyReq;
}
/**
* Sets the value of the lltyReq property.
*
* @param value
* allowed object is
* {@link LoyaltyRequest3 }
*
*/
public ServiceRequest4 setLltyReq(LoyaltyRequest3 value) {
this.lltyReq = value;
return this;
}
/**
* Gets the value of the stordValReq property.
*
* @return
* possible object is
* {@link StoredValueRequest4 }
*
*/
public StoredValueRequest4 getStordValReq() {
return stordValReq;
}
/**
* Sets the value of the stordValReq property.
*
* @param value
* allowed object is
* {@link StoredValueRequest4 }
*
*/
public ServiceRequest4 setStordValReq(StoredValueRequest4 value) {
this.stordValReq = value;
return this;
}
/**
* Gets the value of the btchReq property.
*
* @return
* possible object is
* {@link BatchRequest3 }
*
*/
public BatchRequest3 getBtchReq() {
return btchReq;
}
/**
* Sets the value of the btchReq property.
*
* @param value
* allowed object is
* {@link BatchRequest3 }
*
*/
public ServiceRequest4 setBtchReq(BatchRequest3 value) {
this.btchReq = value;
return this;
}
/**
* Gets the value of the nblSvcReq property.
*
* @return
* possible object is
* {@link EnableServiceRequest3 }
*
*/
public EnableServiceRequest3 getNblSvcReq() {
return nblSvcReq;
}
/**
* Sets the value of the nblSvcReq property.
*
* @param value
* allowed object is
* {@link EnableServiceRequest3 }
*
*/
public ServiceRequest4 setNblSvcReq(EnableServiceRequest3 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 ServiceRequest4 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 ServiceRequest4 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}