com.prowidesoftware.swift.model.mx.dic.CardPaymentDataSet19 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;
/**
* Set of transactions to capture, sharing common characteristics.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentDataSet19", propOrder = {
"dataSetId",
"tracblt",
"dataSetInitr",
"txTtls",
"cmonData",
"tx"
})
public class CardPaymentDataSet19 {
@XmlElement(name = "DataSetId", required = true)
protected DataSetIdentification5 dataSetId;
@XmlElement(name = "Tracblt")
protected List tracblt;
@XmlElement(name = "DataSetInitr")
protected GenericIdentification53 dataSetInitr;
@XmlElement(name = "TxTtls", required = true)
protected List txTtls;
@XmlElement(name = "CmonData")
protected CommonData7 cmonData;
@XmlElement(name = "Tx", required = true)
protected List tx;
/**
* Gets the value of the dataSetId property.
*
* @return
* possible object is
* {@link DataSetIdentification5 }
*
*/
public DataSetIdentification5 getDataSetId() {
return dataSetId;
}
/**
* Sets the value of the dataSetId property.
*
* @param value
* allowed object is
* {@link DataSetIdentification5 }
*
*/
public CardPaymentDataSet19 setDataSetId(DataSetIdentification5 value) {
this.dataSetId = 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 Traceability5 }
*
*
*/
public List getTracblt() {
if (tracblt == null) {
tracblt = new ArrayList();
}
return this.tracblt;
}
/**
* Gets the value of the dataSetInitr property.
*
* @return
* possible object is
* {@link GenericIdentification53 }
*
*/
public GenericIdentification53 getDataSetInitr() {
return dataSetInitr;
}
/**
* Sets the value of the dataSetInitr property.
*
* @param value
* allowed object is
* {@link GenericIdentification53 }
*
*/
public CardPaymentDataSet19 setDataSetInitr(GenericIdentification53 value) {
this.dataSetInitr = value;
return this;
}
/**
* Gets the value of the txTtls 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 txTtls property.
*
*
* For example, to add a new item, do as follows:
*
* getTxTtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransactionTotals7 }
*
*
*/
public List getTxTtls() {
if (txTtls == null) {
txTtls = new ArrayList();
}
return this.txTtls;
}
/**
* Gets the value of the cmonData property.
*
* @return
* possible object is
* {@link CommonData7 }
*
*/
public CommonData7 getCmonData() {
return cmonData;
}
/**
* Sets the value of the cmonData property.
*
* @param value
* allowed object is
* {@link CommonData7 }
*
*/
public CardPaymentDataSet19 setCmonData(CommonData7 value) {
this.cmonData = value;
return this;
}
/**
* Gets the value of the tx 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 tx property.
*
*
* For example, to add a new item, do as follows:
*
* getTx().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CardPaymentDataSetTransaction6Choice }
*
*
*/
public List getTx() {
if (tx == null) {
tx = new ArrayList();
}
return this.tx;
}
@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 CardPaymentDataSet19 addTracblt(Traceability5 tracblt) {
getTracblt().add(tracblt);
return this;
}
/**
* Adds a new item to the txTtls list.
* @see #getTxTtls()
*
*/
public CardPaymentDataSet19 addTxTtls(TransactionTotals7 txTtls) {
getTxTtls().add(txTtls);
return this;
}
/**
* Adds a new item to the tx list.
* @see #getTx()
*
*/
public CardPaymentDataSet19 addTx(CardPaymentDataSetTransaction6Choice tx) {
getTx().add(tx);
return this;
}
}