
com.prowidesoftware.swift.model.mx.dic.CardPaymentTransaction87 Maven / Gradle / Ivy
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 = "CardPaymentTransaction87", propOrder = {
"txCaptr",
"txTp",
"addtlSvc",
"svcAttr",
"lastTxFlg",
"mrchntCtgyCd",
"cstmrCnsnt",
"cardPrgrmmPropsd",
"cardPrgrmmApld",
"saleRefId",
"txId",
"orgnlTx",
"initrTxId",
"rcncltnId",
"txDtls",
"mrchntRefData",
"acctFr",
"acctTo",
"addtlTxData"
})
public class CardPaymentTransaction87 {
@XmlElement(name = "TxCaptr")
protected boolean txCaptr;
@XmlElement(name = "TxTp")
@XmlSchemaType(name = "string")
protected CardPaymentServiceType12Code txTp;
@XmlElement(name = "AddtlSvc")
@XmlSchemaType(name = "string")
protected List addtlSvc;
@XmlElement(name = "SvcAttr")
@XmlSchemaType(name = "string")
protected CardPaymentServiceType3Code svcAttr;
@XmlElement(name = "LastTxFlg")
protected Boolean lastTxFlg;
@XmlElement(name = "MrchntCtgyCd")
protected String mrchntCtgyCd;
@XmlElement(name = "CstmrCnsnt", type = Boolean.class)
protected List cstmrCnsnt;
@XmlElement(name = "CardPrgrmmPropsd")
protected List cardPrgrmmPropsd;
@XmlElement(name = "CardPrgrmmApld")
protected String cardPrgrmmApld;
@XmlElement(name = "SaleRefId")
protected String saleRefId;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifier1 txId;
@XmlElement(name = "OrgnlTx")
protected CardPaymentTransaction79 orgnlTx;
@XmlElement(name = "InitrTxId")
protected String initrTxId;
@XmlElement(name = "RcncltnId")
protected String rcncltnId;
@XmlElement(name = "TxDtls", required = true)
protected CardPaymentTransactionDetails47 txDtls;
@XmlElement(name = "MrchntRefData")
protected String mrchntRefData;
@XmlElement(name = "AcctFr")
protected CardAccount15 acctFr;
@XmlElement(name = "AcctTo")
protected CardAccount15 acctTo;
@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 CardPaymentTransaction87 setTxCaptr(boolean value) {
this.txCaptr = value;
return this;
}
/**
* Gets the value of the txTp property.
*
* @return
* possible object is
* {@link CardPaymentServiceType12Code }
*
*/
public CardPaymentServiceType12Code getTxTp() {
return txTp;
}
/**
* Sets the value of the txTp property.
*
* @param value
* allowed object is
* {@link CardPaymentServiceType12Code }
*
*/
public CardPaymentTransaction87 setTxTp(CardPaymentServiceType12Code 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 CardPaymentTransaction87 setSvcAttr(CardPaymentServiceType3Code 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 CardPaymentTransaction87 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 CardPaymentTransaction87 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.
*
* @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 CardPaymentTransaction87 setCardPrgrmmApld(String value) {
this.cardPrgrmmApld = 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 CardPaymentTransaction87 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 CardPaymentTransaction87 setTxId(TransactionIdentifier1 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the orgnlTx property.
*
* @return
* possible object is
* {@link CardPaymentTransaction79 }
*
*/
public CardPaymentTransaction79 getOrgnlTx() {
return orgnlTx;
}
/**
* Sets the value of the orgnlTx property.
*
* @param value
* allowed object is
* {@link CardPaymentTransaction79 }
*
*/
public CardPaymentTransaction87 setOrgnlTx(CardPaymentTransaction79 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 CardPaymentTransaction87 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 CardPaymentTransaction87 setRcncltnId(String value) {
this.rcncltnId = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link CardPaymentTransactionDetails47 }
*
*/
public CardPaymentTransactionDetails47 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link CardPaymentTransactionDetails47 }
*
*/
public CardPaymentTransaction87 setTxDtls(CardPaymentTransactionDetails47 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 CardPaymentTransaction87 setMrchntRefData(String value) {
this.mrchntRefData = value;
return this;
}
/**
* Gets the value of the acctFr property.
*
* @return
* possible object is
* {@link CardAccount15 }
*
*/
public CardAccount15 getAcctFr() {
return acctFr;
}
/**
* Sets the value of the acctFr property.
*
* @param value
* allowed object is
* {@link CardAccount15 }
*
*/
public CardPaymentTransaction87 setAcctFr(CardAccount15 value) {
this.acctFr = value;
return this;
}
/**
* Gets the value of the acctTo property.
*
* @return
* possible object is
* {@link CardAccount15 }
*
*/
public CardAccount15 getAcctTo() {
return acctTo;
}
/**
* Sets the value of the acctTo property.
*
* @param value
* allowed object is
* {@link CardAccount15 }
*
*/
public CardPaymentTransaction87 setAcctTo(CardAccount15 value) {
this.acctTo = 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 CardPaymentTransaction87 addAddtlSvc(CardPaymentServiceType9Code addtlSvc) {
getAddtlSvc().add(addtlSvc);
return this;
}
/**
* Adds a new item to the cstmrCnsnt list.
* @see #getCstmrCnsnt()
*
*/
public CardPaymentTransaction87 addCstmrCnsnt(Boolean cstmrCnsnt) {
getCstmrCnsnt().add(cstmrCnsnt);
return this;
}
/**
* Adds a new item to the cardPrgrmmPropsd list.
* @see #getCardPrgrmmPropsd()
*
*/
public CardPaymentTransaction87 addCardPrgrmmPropsd(String cardPrgrmmPropsd) {
getCardPrgrmmPropsd().add(cardPrgrmmPropsd);
return this;
}
/**
* Adds a new item to the addtlTxData list.
* @see #getAddtlTxData()
*
*/
public CardPaymentTransaction87 addAddtlTxData(String addtlTxData) {
getAddtlTxData().add(addtlTxData);
return this;
}
}