com.prowidesoftware.swift.model.mx.dic.CardPaymentTransaction15 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.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 cancellation request.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentTransaction15", propOrder = {
"txCaptr",
"mrchntCtgyCd",
"txId",
"orgnlTx",
"rcncltnId",
"txDtls",
"addtlTxData"
})
public class CardPaymentTransaction15 {
@XmlElement(name = "TxCaptr")
protected Boolean txCaptr;
@XmlElement(name = "MrchntCtgyCd", required = true)
protected String mrchntCtgyCd;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifier1 txId;
@XmlElement(name = "OrgnlTx", required = true)
protected CardPaymentTransaction17 orgnlTx;
@XmlElement(name = "RcncltnId")
protected String rcncltnId;
@XmlElement(name = "TxDtls", required = true)
protected CardPaymentTransactionDetails5 txDtls;
@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 CardPaymentTransaction15 setTxCaptr(Boolean value) {
this.txCaptr = 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 CardPaymentTransaction15 setMrchntCtgyCd(String value) {
this.mrchntCtgyCd = 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 CardPaymentTransaction15 setTxId(TransactionIdentifier1 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the orgnlTx property.
*
* @return
* possible object is
* {@link CardPaymentTransaction17 }
*
*/
public CardPaymentTransaction17 getOrgnlTx() {
return orgnlTx;
}
/**
* Sets the value of the orgnlTx property.
*
* @param value
* allowed object is
* {@link CardPaymentTransaction17 }
*
*/
public CardPaymentTransaction15 setOrgnlTx(CardPaymentTransaction17 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 CardPaymentTransaction15 setRcncltnId(String value) {
this.rcncltnId = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link CardPaymentTransactionDetails5 }
*
*/
public CardPaymentTransactionDetails5 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link CardPaymentTransactionDetails5 }
*
*/
public CardPaymentTransaction15 setTxDtls(CardPaymentTransactionDetails5 value) {
this.txDtls = 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 addtlTxData list.
* @see #getAddtlTxData()
*
*/
public CardPaymentTransaction15 addAddtlTxData(String addtlTxData) {
getAddtlTxData().add(addtlTxData);
return this;
}
}