com.prowidesoftware.swift.model.mx.dic.CardPaymentTransaction136 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;
/**
* Data associated with the transaction for a potential currency conversion.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentTransaction136", propOrder = {
"txCaptr",
"txTp",
"addtlSvc",
"svcAttr",
"lastTxFlg",
"mrchntCtgyCd",
"saleRefId",
"txId",
"orgnlTx",
"rcncltnId",
"issrRefData",
"issrCITId",
"mrchntCITId",
"txDtls",
"authstnRslt",
"mrchntRefData",
"cstmrOrdr",
"cstmrTkn",
"cstmrCnsnt",
"cardPrgrmmPropsd",
"cardPrgrmmApld",
"saleToPOIData",
"saleToAcqrrData",
"saleToIssrData",
"addtlTxData"
})
public class CardPaymentTransaction136 {
@XmlElement(name = "TxCaptr")
protected Boolean txCaptr;
@XmlElement(name = "TxTp", required = true)
@XmlSchemaType(name = "string")
protected CardPaymentServiceType5Code txTp;
@XmlElement(name = "AddtlSvc")
@XmlSchemaType(name = "string")
protected List addtlSvc;
@XmlElement(name = "SvcAttr")
@XmlSchemaType(name = "string")
protected CardPaymentServiceType14Code svcAttr;
@XmlElement(name = "LastTxFlg")
protected Boolean lastTxFlg;
@XmlElement(name = "MrchntCtgyCd")
protected String mrchntCtgyCd;
@XmlElement(name = "SaleRefId")
protected String saleRefId;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifier1 txId;
@XmlElement(name = "OrgnlTx")
protected CardPaymentTransaction131 orgnlTx;
@XmlElement(name = "RcncltnId")
protected String rcncltnId;
@XmlElement(name = "IssrRefData")
protected String issrRefData;
@XmlElement(name = "IssrCITId")
protected String issrCITId;
@XmlElement(name = "MrchntCITId")
protected String mrchntCITId;
@XmlElement(name = "TxDtls", required = true)
protected CardPaymentTransactionDetails53 txDtls;
@XmlElement(name = "AuthstnRslt")
protected AuthorisationResult18 authstnRslt;
@XmlElement(name = "MrchntRefData")
protected String mrchntRefData;
@XmlElement(name = "CstmrOrdr")
protected CustomerOrder1 cstmrOrdr;
@XmlElement(name = "CstmrTkn")
protected CardPaymentToken5 cstmrTkn;
@XmlElement(name = "CstmrCnsnt")
protected Boolean cstmrCnsnt;
@XmlElement(name = "CardPrgrmmPropsd")
protected List cardPrgrmmPropsd;
@XmlElement(name = "CardPrgrmmApld")
protected String cardPrgrmmApld;
@XmlElement(name = "SaleToPOIData")
protected String saleToPOIData;
@XmlElement(name = "SaleToAcqrrData")
protected String saleToAcqrrData;
@XmlElement(name = "SaleToIssrData")
protected String saleToIssrData;
@XmlElement(name = "AddtlTxData")
protected List addtlTxData;
/**
* Gets the value of the txCaptr property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTxCaptr() {
return txCaptr;
}
/**
* Sets the value of the txCaptr property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public CardPaymentTransaction136 setTxCaptr(Boolean value) {
this.txCaptr = value;
return this;
}
/**
* Gets the value of the txTp property.
*
* @return
* possible object is
* {@link CardPaymentServiceType5Code }
*
*/
public CardPaymentServiceType5Code getTxTp() {
return txTp;
}
/**
* Sets the value of the txTp property.
*
* @param value
* allowed object is
* {@link CardPaymentServiceType5Code }
*
*/
public CardPaymentTransaction136 setTxTp(CardPaymentServiceType5Code value) {
this.txTp = value;
return this;
}
/**
* Gets the value of the addtlSvc 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 addtlSvc property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlSvc().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CardPaymentServiceType9Code }
*
*
* @return
* The value of the addtlSvc property.
*/
public List getAddtlSvc() {
if (addtlSvc == null) {
addtlSvc = new ArrayList<>();
}
return this.addtlSvc;
}
/**
* Gets the value of the svcAttr property.
*
* @return
* possible object is
* {@link CardPaymentServiceType14Code }
*
*/
public CardPaymentServiceType14Code getSvcAttr() {
return svcAttr;
}
/**
* Sets the value of the svcAttr property.
*
* @param value
* allowed object is
* {@link CardPaymentServiceType14Code }
*
*/
public CardPaymentTransaction136 setSvcAttr(CardPaymentServiceType14Code value) {
this.svcAttr = value;
return this;
}
/**
* Gets the value of the lastTxFlg property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isLastTxFlg() {
return lastTxFlg;
}
/**
* Sets the value of the lastTxFlg property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public CardPaymentTransaction136 setLastTxFlg(Boolean value) {
this.lastTxFlg = value;
return this;
}
/**
* 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 CardPaymentTransaction136 setMrchntCtgyCd(String value) {
this.mrchntCtgyCd = value;
return this;
}
/**
* Gets the value of the saleRefId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSaleRefId() {
return saleRefId;
}
/**
* Sets the value of the saleRefId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setSaleRefId(String value) {
this.saleRefId = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link TransactionIdentifier1 }
*
*/
public TransactionIdentifier1 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentifier1 }
*
*/
public CardPaymentTransaction136 setTxId(TransactionIdentifier1 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the orgnlTx property.
*
* @return
* possible object is
* {@link CardPaymentTransaction131 }
*
*/
public CardPaymentTransaction131 getOrgnlTx() {
return orgnlTx;
}
/**
* Sets the value of the orgnlTx property.
*
* @param value
* allowed object is
* {@link CardPaymentTransaction131 }
*
*/
public CardPaymentTransaction136 setOrgnlTx(CardPaymentTransaction131 value) {
this.orgnlTx = value;
return this;
}
/**
* Gets the value of the rcncltnId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRcncltnId() {
return rcncltnId;
}
/**
* Sets the value of the rcncltnId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setRcncltnId(String value) {
this.rcncltnId = value;
return this;
}
/**
* Gets the value of the issrRefData property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIssrRefData() {
return issrRefData;
}
/**
* Sets the value of the issrRefData property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setIssrRefData(String value) {
this.issrRefData = value;
return this;
}
/**
* Gets the value of the issrCITId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIssrCITId() {
return issrCITId;
}
/**
* Sets the value of the issrCITId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setIssrCITId(String value) {
this.issrCITId = value;
return this;
}
/**
* Gets the value of the mrchntCITId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMrchntCITId() {
return mrchntCITId;
}
/**
* Sets the value of the mrchntCITId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setMrchntCITId(String value) {
this.mrchntCITId = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link CardPaymentTransactionDetails53 }
*
*/
public CardPaymentTransactionDetails53 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link CardPaymentTransactionDetails53 }
*
*/
public CardPaymentTransaction136 setTxDtls(CardPaymentTransactionDetails53 value) {
this.txDtls = value;
return this;
}
/**
* Gets the value of the authstnRslt property.
*
* @return
* possible object is
* {@link AuthorisationResult18 }
*
*/
public AuthorisationResult18 getAuthstnRslt() {
return authstnRslt;
}
/**
* Sets the value of the authstnRslt property.
*
* @param value
* allowed object is
* {@link AuthorisationResult18 }
*
*/
public CardPaymentTransaction136 setAuthstnRslt(AuthorisationResult18 value) {
this.authstnRslt = value;
return this;
}
/**
* Gets the value of the mrchntRefData property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMrchntRefData() {
return mrchntRefData;
}
/**
* Sets the value of the mrchntRefData property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setMrchntRefData(String value) {
this.mrchntRefData = value;
return this;
}
/**
* Gets the value of the cstmrOrdr property.
*
* @return
* possible object is
* {@link CustomerOrder1 }
*
*/
public CustomerOrder1 getCstmrOrdr() {
return cstmrOrdr;
}
/**
* Sets the value of the cstmrOrdr property.
*
* @param value
* allowed object is
* {@link CustomerOrder1 }
*
*/
public CardPaymentTransaction136 setCstmrOrdr(CustomerOrder1 value) {
this.cstmrOrdr = value;
return this;
}
/**
* Gets the value of the cstmrTkn property.
*
* @return
* possible object is
* {@link CardPaymentToken5 }
*
*/
public CardPaymentToken5 getCstmrTkn() {
return cstmrTkn;
}
/**
* Sets the value of the cstmrTkn property.
*
* @param value
* allowed object is
* {@link CardPaymentToken5 }
*
*/
public CardPaymentTransaction136 setCstmrTkn(CardPaymentToken5 value) {
this.cstmrTkn = value;
return this;
}
/**
* Gets the value of the cstmrCnsnt property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCstmrCnsnt() {
return cstmrCnsnt;
}
/**
* Sets the value of the cstmrCnsnt property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public CardPaymentTransaction136 setCstmrCnsnt(Boolean value) {
this.cstmrCnsnt = value;
return this;
}
/**
* Gets the value of the cardPrgrmmPropsd 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 cardPrgrmmPropsd property.
*
*
* For example, to add a new item, do as follows:
*
* getCardPrgrmmPropsd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the cardPrgrmmPropsd property.
*/
public List getCardPrgrmmPropsd() {
if (cardPrgrmmPropsd == null) {
cardPrgrmmPropsd = new ArrayList<>();
}
return this.cardPrgrmmPropsd;
}
/**
* Gets the value of the cardPrgrmmApld property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCardPrgrmmApld() {
return cardPrgrmmApld;
}
/**
* Sets the value of the cardPrgrmmApld property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setCardPrgrmmApld(String value) {
this.cardPrgrmmApld = value;
return this;
}
/**
* Gets the value of the saleToPOIData property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSaleToPOIData() {
return saleToPOIData;
}
/**
* Sets the value of the saleToPOIData property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setSaleToPOIData(String value) {
this.saleToPOIData = value;
return this;
}
/**
* Gets the value of the saleToAcqrrData property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSaleToAcqrrData() {
return saleToAcqrrData;
}
/**
* Sets the value of the saleToAcqrrData property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setSaleToAcqrrData(String value) {
this.saleToAcqrrData = value;
return this;
}
/**
* Gets the value of the saleToIssrData property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSaleToIssrData() {
return saleToIssrData;
}
/**
* Sets the value of the saleToIssrData property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction136 setSaleToIssrData(String value) {
this.saleToIssrData = value;
return this;
}
/**
* Gets the value of the addtlTxData 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 addtlTxData property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlTxData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the addtlTxData property.
*/
public List getAddtlTxData() {
if (addtlTxData == null) {
addtlTxData = new ArrayList<>();
}
return this.addtlTxData;
}
@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 addtlSvc list.
* @see #getAddtlSvc()
*
*/
public CardPaymentTransaction136 addAddtlSvc(CardPaymentServiceType9Code addtlSvc) {
getAddtlSvc().add(addtlSvc);
return this;
}
/**
* Adds a new item to the cardPrgrmmPropsd list.
* @see #getCardPrgrmmPropsd()
*
*/
public CardPaymentTransaction136 addCardPrgrmmPropsd(String cardPrgrmmPropsd) {
getCardPrgrmmPropsd().add(cardPrgrmmPropsd);
return this;
}
/**
* Adds a new item to the addtlTxData list.
* @see #getAddtlTxData()
*
*/
public CardPaymentTransaction136 addAddtlTxData(String addtlTxData) {
getAddtlTxData().add(addtlTxData);
return this;
}
}