com.prowidesoftware.swift.model.mx.dic.CardPaymentTransaction45 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;
/**
* Transaction information in the batch capture.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentTransaction45", propOrder = {
"txTp",
"addtlSvc",
"svcAttr",
"mrchntCtgyCd",
"saleRefId",
"txId",
"orgnlTx",
"txSucss",
"rvsl",
"mrchntOvrrd",
"failrRsn",
"initrTxId",
"rcptTxId",
"rcncltnId",
"intrchngData",
"txDtls",
"authstnRslt",
"txVrfctnRslt",
"addtlTxData"
})
public class CardPaymentTransaction45 {
@XmlElement(name = "TxTp")
@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")
protected String mrchntCtgyCd;
@XmlElement(name = "SaleRefId")
protected String saleRefId;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifier1 txId;
@XmlElement(name = "OrgnlTx")
protected CardPaymentTransaction37 orgnlTx;
@XmlElement(name = "TxSucss")
protected boolean txSucss;
@XmlElement(name = "Rvsl")
protected Boolean rvsl;
@XmlElement(name = "MrchntOvrrd")
protected Boolean mrchntOvrrd;
@XmlElement(name = "FailrRsn")
@XmlSchemaType(name = "string")
protected List failrRsn;
@XmlElement(name = "InitrTxId")
protected String initrTxId;
@XmlElement(name = "RcptTxId")
protected String rcptTxId;
@XmlElement(name = "RcncltnId")
protected String rcncltnId;
@XmlElement(name = "IntrchngData")
protected String intrchngData;
@XmlElement(name = "TxDtls", required = true)
protected CardPaymentTransactionDetails23 txDtls;
@XmlElement(name = "AuthstnRslt")
protected AuthorisationResult4 authstnRslt;
@XmlElement(name = "TxVrfctnRslt")
protected List txVrfctnRslt;
@XmlElement(name = "AddtlTxData")
protected List addtlTxData;
/**
* 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 CardPaymentTransaction45 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 CardPaymentServiceType6Code }
*
*
*/
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 CardPaymentTransaction45 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 CardPaymentTransaction45 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 CardPaymentTransaction45 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 CardPaymentTransaction45 setTxId(TransactionIdentifier1 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the orgnlTx property.
*
* @return
* possible object is
* {@link CardPaymentTransaction37 }
*
*/
public CardPaymentTransaction37 getOrgnlTx() {
return orgnlTx;
}
/**
* Sets the value of the orgnlTx property.
*
* @param value
* allowed object is
* {@link CardPaymentTransaction37 }
*
*/
public CardPaymentTransaction45 setOrgnlTx(CardPaymentTransaction37 value) {
this.orgnlTx = value;
return this;
}
/**
* Gets the value of the txSucss property.
*
*/
public boolean isTxSucss() {
return txSucss;
}
/**
* Sets the value of the txSucss property.
*
*/
public CardPaymentTransaction45 setTxSucss(boolean value) {
this.txSucss = value;
return this;
}
/**
* Gets the value of the rvsl property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRvsl() {
return rvsl;
}
/**
* Sets the value of the rvsl property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public CardPaymentTransaction45 setRvsl(Boolean value) {
this.rvsl = value;
return this;
}
/**
* Gets the value of the mrchntOvrrd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMrchntOvrrd() {
return mrchntOvrrd;
}
/**
* Sets the value of the mrchntOvrrd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public CardPaymentTransaction45 setMrchntOvrrd(Boolean value) {
this.mrchntOvrrd = value;
return this;
}
/**
* Gets the value of the failrRsn 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 failrRsn property.
*
*
* For example, to add a new item, do as follows:
*
* getFailrRsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FailureReason3Code }
*
*
*/
public List getFailrRsn() {
if (failrRsn == null) {
failrRsn = new ArrayList();
}
return this.failrRsn;
}
/**
* 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 CardPaymentTransaction45 setInitrTxId(String value) {
this.initrTxId = value;
return this;
}
/**
* Gets the value of the rcptTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRcptTxId() {
return rcptTxId;
}
/**
* Sets the value of the rcptTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction45 setRcptTxId(String value) {
this.rcptTxId = 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 CardPaymentTransaction45 setRcncltnId(String value) {
this.rcncltnId = value;
return this;
}
/**
* Gets the value of the intrchngData property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIntrchngData() {
return intrchngData;
}
/**
* Sets the value of the intrchngData property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentTransaction45 setIntrchngData(String value) {
this.intrchngData = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link CardPaymentTransactionDetails23 }
*
*/
public CardPaymentTransactionDetails23 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link CardPaymentTransactionDetails23 }
*
*/
public CardPaymentTransaction45 setTxDtls(CardPaymentTransactionDetails23 value) {
this.txDtls = value;
return this;
}
/**
* Gets the value of the authstnRslt property.
*
* @return
* possible object is
* {@link AuthorisationResult4 }
*
*/
public AuthorisationResult4 getAuthstnRslt() {
return authstnRslt;
}
/**
* Sets the value of the authstnRslt property.
*
* @param value
* allowed object is
* {@link AuthorisationResult4 }
*
*/
public CardPaymentTransaction45 setAuthstnRslt(AuthorisationResult4 value) {
this.authstnRslt = value;
return this;
}
/**
* Gets the value of the txVrfctnRslt 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 txVrfctnRslt property.
*
*
* For example, to add a new item, do as follows:
*
* getTxVrfctnRslt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransactionVerificationResult3 }
*
*
*/
public List getTxVrfctnRslt() {
if (txVrfctnRslt == null) {
txVrfctnRslt = new ArrayList();
}
return this.txVrfctnRslt;
}
/**
* 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 CardPaymentTransaction45 addAddtlSvc(CardPaymentServiceType6Code addtlSvc) {
getAddtlSvc().add(addtlSvc);
return this;
}
/**
* Adds a new item to the failrRsn list.
* @see #getFailrRsn()
*
*/
public CardPaymentTransaction45 addFailrRsn(FailureReason3Code failrRsn) {
getFailrRsn().add(failrRsn);
return this;
}
/**
* Adds a new item to the txVrfctnRslt list.
* @see #getTxVrfctnRslt()
*
*/
public CardPaymentTransaction45 addTxVrfctnRslt(TransactionVerificationResult3 txVrfctnRslt) {
getTxVrfctnRslt().add(txVrfctnRslt);
return this;
}
/**
* Adds a new item to the addtlTxData list.
* @see #getAddtlTxData()
*
*/
public CardPaymentTransaction45 addAddtlTxData(String addtlTxData) {
getAddtlTxData().add(addtlTxData);
return this;
}
}