com.prowidesoftware.swift.model.mx.dic.CardPaymentDataSetTransaction6 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.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;
/**
* Completed card payment transaction to be captured in batch.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentDataSetTransaction6", propOrder = {
"txSeqCntr",
"tracblt",
"envt",
"cntxt",
"tx"
})
public class CardPaymentDataSetTransaction6 {
@XmlElement(name = "TxSeqCntr", required = true)
protected String txSeqCntr;
@XmlElement(name = "Tracblt")
protected List tracblt;
@XmlElement(name = "Envt", required = true)
protected CardPaymentEnvironment27 envt;
@XmlElement(name = "Cntxt")
protected CardPaymentContext7 cntxt;
@XmlElement(name = "Tx", required = true)
protected CardPaymentTransaction29 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 CardPaymentDataSetTransaction6 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
public List getTracblt() {
if (tracblt == null) {
tracblt = new ArrayList();
}
return this.tracblt;
}
/**
* Gets the value of the envt property.
*
* @return
* possible object is
* {@link CardPaymentEnvironment27 }
*
*/
public CardPaymentEnvironment27 getEnvt() {
return envt;
}
/**
* Sets the value of the envt property.
*
* @param value
* allowed object is
* {@link CardPaymentEnvironment27 }
*
*/
public CardPaymentDataSetTransaction6 setEnvt(CardPaymentEnvironment27 value) {
this.envt = value;
return this;
}
/**
* Gets the value of the cntxt property.
*
* @return
* possible object is
* {@link CardPaymentContext7 }
*
*/
public CardPaymentContext7 getCntxt() {
return cntxt;
}
/**
* Sets the value of the cntxt property.
*
* @param value
* allowed object is
* {@link CardPaymentContext7 }
*
*/
public CardPaymentDataSetTransaction6 setCntxt(CardPaymentContext7 value) {
this.cntxt = value;
return this;
}
/**
* Gets the value of the tx property.
*
* @return
* possible object is
* {@link CardPaymentTransaction29 }
*
*/
public CardPaymentTransaction29 getTx() {
return tx;
}
/**
* Sets the value of the tx property.
*
* @param value
* allowed object is
* {@link CardPaymentTransaction29 }
*
*/
public CardPaymentDataSetTransaction6 setTx(CardPaymentTransaction29 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 CardPaymentDataSetTransaction6 addTracblt(Traceability1 tracblt) {
getTracblt().add(tracblt);
return this;
}
}