com.prowidesoftware.swift.model.mx.dic.TransactionContext8 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;
/**
* Context of the card payment transaction
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransactionContext8", propOrder = {
"mrchntCtgyCd",
"mrchntCtgySpcfcData",
"feeColltnInitr",
"txInitr",
"prtlShipmntInd",
"delydChrgsInd",
"noShowInd",
"reauthstnInd",
"reSubmissnInd",
"cardPrgrmmApld",
"jursdctn",
"sttlmSvc",
"rcncltn",
"addtlData"
})
public class TransactionContext8 {
@XmlElement(name = "MrchntCtgyCd")
protected String mrchntCtgyCd;
@XmlElement(name = "MrchntCtgySpcfcData")
protected String mrchntCtgySpcfcData;
@XmlElement(name = "FeeColltnInitr")
@XmlSchemaType(name = "string")
protected FeeCollectionInitiator1Code feeColltnInitr;
@XmlElement(name = "TxInitr")
@XmlSchemaType(name = "string")
protected TransactionInitiator1Code txInitr;
@XmlElement(name = "PrtlShipmntInd")
protected Boolean prtlShipmntInd;
@XmlElement(name = "DelydChrgsInd")
protected Boolean delydChrgsInd;
@XmlElement(name = "NoShowInd")
protected Boolean noShowInd;
@XmlElement(name = "ReauthstnInd")
protected Boolean reauthstnInd;
@XmlElement(name = "ReSubmissnInd")
protected Boolean reSubmissnInd;
@XmlElement(name = "CardPrgrmmApld")
protected CardProgrammeMode3 cardPrgrmmApld;
@XmlElement(name = "Jursdctn")
protected Jurisdiction2 jursdctn;
@XmlElement(name = "SttlmSvc")
protected SettlementService4 sttlmSvc;
@XmlElement(name = "Rcncltn")
protected Reconciliation3 rcncltn;
@XmlElement(name = "AddtlData")
protected List addtlData;
/**
* Gets the value of the mrchntCtgyCd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMrchntCtgyCd() {
return mrchntCtgyCd;
}
/**
* Sets the value of the mrchntCtgyCd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionContext8 setMrchntCtgyCd(String value) {
this.mrchntCtgyCd = value;
return this;
}
/**
* Gets the value of the mrchntCtgySpcfcData property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMrchntCtgySpcfcData() {
return mrchntCtgySpcfcData;
}
/**
* Sets the value of the mrchntCtgySpcfcData property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionContext8 setMrchntCtgySpcfcData(String value) {
this.mrchntCtgySpcfcData = value;
return this;
}
/**
* Gets the value of the feeColltnInitr property.
*
* @return
* possible object is
* {@link FeeCollectionInitiator1Code }
*
*/
public FeeCollectionInitiator1Code getFeeColltnInitr() {
return feeColltnInitr;
}
/**
* Sets the value of the feeColltnInitr property.
*
* @param value
* allowed object is
* {@link FeeCollectionInitiator1Code }
*
*/
public TransactionContext8 setFeeColltnInitr(FeeCollectionInitiator1Code value) {
this.feeColltnInitr = value;
return this;
}
/**
* Gets the value of the txInitr property.
*
* @return
* possible object is
* {@link TransactionInitiator1Code }
*
*/
public TransactionInitiator1Code getTxInitr() {
return txInitr;
}
/**
* Sets the value of the txInitr property.
*
* @param value
* allowed object is
* {@link TransactionInitiator1Code }
*
*/
public TransactionContext8 setTxInitr(TransactionInitiator1Code value) {
this.txInitr = value;
return this;
}
/**
* Gets the value of the prtlShipmntInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isPrtlShipmntInd() {
return prtlShipmntInd;
}
/**
* Sets the value of the prtlShipmntInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public TransactionContext8 setPrtlShipmntInd(Boolean value) {
this.prtlShipmntInd = value;
return this;
}
/**
* Gets the value of the delydChrgsInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDelydChrgsInd() {
return delydChrgsInd;
}
/**
* Sets the value of the delydChrgsInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public TransactionContext8 setDelydChrgsInd(Boolean value) {
this.delydChrgsInd = value;
return this;
}
/**
* Gets the value of the noShowInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNoShowInd() {
return noShowInd;
}
/**
* Sets the value of the noShowInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public TransactionContext8 setNoShowInd(Boolean value) {
this.noShowInd = value;
return this;
}
/**
* Gets the value of the reauthstnInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isReauthstnInd() {
return reauthstnInd;
}
/**
* Sets the value of the reauthstnInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public TransactionContext8 setReauthstnInd(Boolean value) {
this.reauthstnInd = value;
return this;
}
/**
* Gets the value of the reSubmissnInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isReSubmissnInd() {
return reSubmissnInd;
}
/**
* Sets the value of the reSubmissnInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public TransactionContext8 setReSubmissnInd(Boolean value) {
this.reSubmissnInd = value;
return this;
}
/**
* Gets the value of the cardPrgrmmApld property.
*
* @return
* possible object is
* {@link CardProgrammeMode3 }
*
*/
public CardProgrammeMode3 getCardPrgrmmApld() {
return cardPrgrmmApld;
}
/**
* Sets the value of the cardPrgrmmApld property.
*
* @param value
* allowed object is
* {@link CardProgrammeMode3 }
*
*/
public TransactionContext8 setCardPrgrmmApld(CardProgrammeMode3 value) {
this.cardPrgrmmApld = value;
return this;
}
/**
* Gets the value of the jursdctn property.
*
* @return
* possible object is
* {@link Jurisdiction2 }
*
*/
public Jurisdiction2 getJursdctn() {
return jursdctn;
}
/**
* Sets the value of the jursdctn property.
*
* @param value
* allowed object is
* {@link Jurisdiction2 }
*
*/
public TransactionContext8 setJursdctn(Jurisdiction2 value) {
this.jursdctn = value;
return this;
}
/**
* Gets the value of the sttlmSvc property.
*
* @return
* possible object is
* {@link SettlementService4 }
*
*/
public SettlementService4 getSttlmSvc() {
return sttlmSvc;
}
/**
* Sets the value of the sttlmSvc property.
*
* @param value
* allowed object is
* {@link SettlementService4 }
*
*/
public TransactionContext8 setSttlmSvc(SettlementService4 value) {
this.sttlmSvc = value;
return this;
}
/**
* Gets the value of the rcncltn property.
*
* @return
* possible object is
* {@link Reconciliation3 }
*
*/
public Reconciliation3 getRcncltn() {
return rcncltn;
}
/**
* Sets the value of the rcncltn property.
*
* @param value
* allowed object is
* {@link Reconciliation3 }
*
*/
public TransactionContext8 setRcncltn(Reconciliation3 value) {
this.rcncltn = value;
return this;
}
/**
* Gets the value of the addtlData 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 addtlData property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalData1 }
*
*
* @return
* The value of the addtlData property.
*/
public List getAddtlData() {
if (addtlData == null) {
addtlData = new ArrayList<>();
}
return this.addtlData;
}
@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 addtlData list.
* @see #getAddtlData()
*
*/
public TransactionContext8 addAddtlData(AdditionalData1 addtlData) {
getAddtlData().add(addtlData);
return this;
}
}