com.prowidesoftware.swift.model.mx.dic.CardPaymentDataSetTransaction11 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;
/**
* Cancelled card payment transaction to be captured in a batch.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentDataSetTransaction11", propOrder = {
"txSeqCntr",
"tracblt",
"envt",
"cntxt",
"tx"
})
public class CardPaymentDataSetTransaction11 {
@XmlElement(name = "TxSeqCntr", required = true)
protected String txSeqCntr;
@XmlElement(name = "Tracblt")
protected List tracblt;
@XmlElement(name = "Envt", required = true)
protected CardPaymentEnvironment40 envt;
@XmlElement(name = "Cntxt")
protected CardPaymentContext13 cntxt;
@XmlElement(name = "Tx", required = true)
protected CardPaymentTransaction46 tx;
/**
* Gets the value of the txSeqCntr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxSeqCntr() {
return txSeqCntr;
}
/**
* Sets the value of the txSeqCntr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CardPaymentDataSetTransaction11 setTxSeqCntr(String value) {
this.txSeqCntr = value;
return this;
}
/**
* Gets the value of the tracblt 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 tracblt property.
*
*
* For example, to add a new item, do as follows:
*
* getTracblt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Traceability2 }
*
*
* @return
* The value of the tracblt property.
*/
public List getTracblt() {
if (tracblt == null) {
tracblt = new ArrayList<>();
}
return this.tracblt;
}
/**
* Gets the value of the envt property.
*
* @return
* possible object is
* {@link CardPaymentEnvironment40 }
*
*/
public CardPaymentEnvironment40 getEnvt() {
return envt;
}
/**
* Sets the value of the envt property.
*
* @param value
* allowed object is
* {@link CardPaymentEnvironment40 }
*
*/
public CardPaymentDataSetTransaction11 setEnvt(CardPaymentEnvironment40 value) {
this.envt = value;
return this;
}
/**
* Gets the value of the cntxt property.
*
* @return
* possible object is
* {@link CardPaymentContext13 }
*
*/
public CardPaymentContext13 getCntxt() {
return cntxt;
}
/**
* Sets the value of the cntxt property.
*
* @param value
* allowed object is
* {@link CardPaymentContext13 }
*
*/
public CardPaymentDataSetTransaction11 setCntxt(CardPaymentContext13 value) {
this.cntxt = value;
return this;
}
/**
* Gets the value of the tx property.
*
* @return
* possible object is
* {@link CardPaymentTransaction46 }
*
*/
public CardPaymentTransaction46 getTx() {
return tx;
}
/**
* Sets the value of the tx property.
*
* @param value
* allowed object is
* {@link CardPaymentTransaction46 }
*
*/
public CardPaymentDataSetTransaction11 setTx(CardPaymentTransaction46 value) {
this.tx = value;
return this;
}
@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 tracblt list.
* @see #getTracblt()
*
*/
public CardPaymentDataSetTransaction11 addTracblt(Traceability2 tracblt) {
getTracblt().add(tracblt);
return this;
}
}