com.prowidesoftware.swift.model.mx.dic.CardPaymentDataSetTransaction4 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;
/**
* Card payment transaction to be authorised in a batch.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentDataSetTransaction4", propOrder = {
"txSeqCntr",
"tracblt",
"envt",
"cntxt",
"tx"
})
public class CardPaymentDataSetTransaction4 {
@XmlElement(name = "TxSeqCntr", required = true)
protected String txSeqCntr;
@XmlElement(name = "Tracblt")
protected List tracblt;
@XmlElement(name = "Envt", required = true)
protected CardPaymentEnvironment14 envt;
@XmlElement(name = "Cntxt")
protected CardPaymentContext4 cntxt;
@XmlElement(name = "Tx", required = true)
protected CardPaymentTransaction19 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 CardPaymentDataSetTransaction4 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 Traceability1 }
*
*
* @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 CardPaymentEnvironment14 }
*
*/
public CardPaymentEnvironment14 getEnvt() {
return envt;
}
/**
* Sets the value of the envt property.
*
* @param value
* allowed object is
* {@link CardPaymentEnvironment14 }
*
*/
public CardPaymentDataSetTransaction4 setEnvt(CardPaymentEnvironment14 value) {
this.envt = value;
return this;
}
/**
* Gets the value of the cntxt property.
*
* @return
* possible object is
* {@link CardPaymentContext4 }
*
*/
public CardPaymentContext4 getCntxt() {
return cntxt;
}
/**
* Sets the value of the cntxt property.
*
* @param value
* allowed object is
* {@link CardPaymentContext4 }
*
*/
public CardPaymentDataSetTransaction4 setCntxt(CardPaymentContext4 value) {
this.cntxt = value;
return this;
}
/**
* Gets the value of the tx property.
*
* @return
* possible object is
* {@link CardPaymentTransaction19 }
*
*/
public CardPaymentTransaction19 getTx() {
return tx;
}
/**
* Sets the value of the tx property.
*
* @param value
* allowed object is
* {@link CardPaymentTransaction19 }
*
*/
public CardPaymentDataSetTransaction4 setTx(CardPaymentTransaction19 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 CardPaymentDataSetTransaction4 addTracblt(Traceability1 tracblt) {
getTracblt().add(tracblt);
return this;
}
}