com.prowidesoftware.swift.model.mx.dic.CardPaymentTransaction76 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.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 during the authorisation.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentTransaction76", propOrder = {
"txCaptr",
"txTp",
"addtlSvc",
"svcAttr",
"mrchntCtgyCd",
"cstmrCnsnt",
"cardPrgrmmPropsd",
"cardPrgrmmApld",
"saleRefId",
"txId",
"orgnlTx",
"initrTxId",
"rcncltnId",
"txDtls",
"mrchntRefData",
"addtlTxData"
})
public class CardPaymentTransaction76 {
@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 CardPaymentServiceType3Code svcAttr;
@XmlElement(name = "MrchntCtgyCd", required = true)
protected String mrchntCtgyCd;
@XmlElement(name = "CstmrCnsnt", type = Boolean.class)
protected List cstmrCnsnt;
@XmlElement(name = "CardPrgrmmPropsd")
protected List cardPrgrmmPropsd;
@XmlElement(name = "CardPrgrmmApld")
protected List cardPrgrmmApld;
@XmlElement(name = "SaleRefId")
protected String saleRefId;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifier1 txId;
@XmlElement(name = "OrgnlTx")
protected CardPaymentTransaction52 orgnlTx;
@XmlElement(name = "InitrTxId")
protected String initrTxId;
@XmlElement(name = "RcncltnId")
protected String rcncltnId;
@XmlElement(name = "TxDtls", required = true)
protected CardPaymentTransactionDetails41 txDtls;
@XmlElement(name = "MrchntRefData")
protected String mrchntRefData;
@XmlElement(name = "AddtlTxData")
protected List addtlTxData;
/**
* Gets the value of the txCaptr property.
*
*/
public boolean isTxCaptr() {
return txCaptr;
}
/**
* Sets the value of the txCaptr property.
*
*/
public CardPaymentTransaction76 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 CardPaymentTransaction76 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
public List getAddtlSvc() {
if (addtlSvc == null) {
addtlSvc = new ArrayList();
}
return this.addtlSvc;
}
/**
* Gets the value of the svcAttr property.
*
* @return
* possible object is
* {@link CardPaymentServiceType3Code }
*
*/
public CardPaymentServiceType3Code getSvcAttr() {
return svcAttr;
}
/**
* Sets the value of the svcAttr property.
*
* @param value
* allowed object is
* {@link CardPaymentServiceType3Code }
*
*/
public CardPaymentTransaction76 setSvcAttr(CardPaymentServiceType3Code value) {
this.svcAttr = 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 CardPaymentTransaction76 setMrchntCtgyCd(String value) {
this.mrchntCtgyCd = value;
return this;
}
/**
* Gets the value of the cstmrCnsnt 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 JAXB object.
* This is why there is not a set
method for the cstmrCnsnt property.
*
*
* For example, to add a new item, do as follows:
*
* getCstmrCnsnt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Boolean }
*
*
*/
public List getCstmrCnsnt() {
if (cstmrCnsnt == null) {
cstmrCnsnt = new ArrayList();
}
return this.cstmrCnsnt;
}
/**
* 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
public List getCardPrgrmmPropsd() {
if (cardPrgrmmPropsd == null) {
cardPrgrmmPropsd = new ArrayList();
}
return this.cardPrgrmmPropsd;
}
/**
* Gets the value of the cardPrgrmmApld 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 JAXB object.
* This is why there is not a set
method for the cardPrgrmmApld property.
*
*
* For example, to add a new item, do as follows:
*
* getCardPrgrmmApld().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getCardPrgrmmApld() {
if (cardPrgrmmApld == null) {
cardPrgrmmApld = new ArrayList();
}
return this.cardPrgrmmApld;
}
/**
* 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 CardPaymentTransaction76 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 CardPaymentTransaction76 setTxId(TransactionIdentifier1 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the orgnlTx property.
*
* @return
* possible object is
* {@link CardPaymentTransaction52 }
*
*/
public CardPaymentTransaction52 getOrgnlTx() {
return orgnlTx;
}
/**
* Sets the value of the orgnlTx property.
*
* @param value
* allowed object is
* {@link CardPaymentTransaction52 }
*
*/
public CardPaymentTransaction76 setOrgnlTx(CardPaymentTransaction52 value) {
this.orgnlTx = value;
return this;
}
/**
* Gets the value of the initrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInitrTxId() {
return initrTxId;
}
/**
* Sets the value of the initrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction76 setInitrTxId(String value) {
this.initrTxId = 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 CardPaymentTransaction76 setRcncltnId(String value) {
this.rcncltnId = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link CardPaymentTransactionDetails41 }
*
*/
public CardPaymentTransactionDetails41 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link CardPaymentTransactionDetails41 }
*
*/
public CardPaymentTransaction76 setTxDtls(CardPaymentTransactionDetails41 value) {
this.txDtls = 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 CardPaymentTransaction76 setMrchntRefData(String value) {
this.mrchntRefData = 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 CardPaymentTransaction76 addAddtlSvc(CardPaymentServiceType9Code addtlSvc) {
getAddtlSvc().add(addtlSvc);
return this;
}
/**
* Adds a new item to the cstmrCnsnt list.
* @see #getCstmrCnsnt()
*
*/
public CardPaymentTransaction76 addCstmrCnsnt(Boolean cstmrCnsnt) {
getCstmrCnsnt().add(cstmrCnsnt);
return this;
}
/**
* Adds a new item to the cardPrgrmmPropsd list.
* @see #getCardPrgrmmPropsd()
*
*/
public CardPaymentTransaction76 addCardPrgrmmPropsd(String cardPrgrmmPropsd) {
getCardPrgrmmPropsd().add(cardPrgrmmPropsd);
return this;
}
/**
* Adds a new item to the cardPrgrmmApld list.
* @see #getCardPrgrmmApld()
*
*/
public CardPaymentTransaction76 addCardPrgrmmApld(String cardPrgrmmApld) {
getCardPrgrmmApld().add(cardPrgrmmApld);
return this;
}
/**
* Adds a new item to the addtlTxData list.
* @see #getAddtlTxData()
*
*/
public CardPaymentTransaction76 addAddtlTxData(String addtlTxData) {
getAddtlTxData().add(addtlTxData);
return this;
}
}