com.prowidesoftware.swift.model.mx.dic.CardPaymentDataSet12 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;
/**
* Result of the captured set of transactions.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentDataSet12", propOrder = {
"dataSetId",
"dataSetRslt",
"rmvDataSet",
"dataSetInitr",
"txTtls",
"rjctdTx"
})
public class CardPaymentDataSet12 {
@XmlElement(name = "DataSetId", required = true)
protected DataSetIdentification1 dataSetId;
@XmlElement(name = "DataSetRslt", required = true)
protected ResponseType1 dataSetRslt;
@XmlElement(name = "RmvDataSet")
protected boolean rmvDataSet;
@XmlElement(name = "DataSetInitr")
protected GenericIdentification53 dataSetInitr;
@XmlElement(name = "TxTtls", required = true)
protected List txTtls;
@XmlElement(name = "RjctdTx")
protected List rjctdTx;
/**
* Gets the value of the dataSetId property.
*
* @return
* possible object is
* {@link DataSetIdentification1 }
*
*/
public DataSetIdentification1 getDataSetId() {
return dataSetId;
}
/**
* Sets the value of the dataSetId property.
*
* @param value
* allowed object is
* {@link DataSetIdentification1 }
*
*/
public CardPaymentDataSet12 setDataSetId(DataSetIdentification1 value) {
this.dataSetId = value;
return this;
}
/**
* Gets the value of the dataSetRslt property.
*
* @return
* possible object is
* {@link ResponseType1 }
*
*/
public ResponseType1 getDataSetRslt() {
return dataSetRslt;
}
/**
* Sets the value of the dataSetRslt property.
*
* @param value
* allowed object is
* {@link ResponseType1 }
*
*/
public CardPaymentDataSet12 setDataSetRslt(ResponseType1 value) {
this.dataSetRslt = value;
return this;
}
/**
* Gets the value of the rmvDataSet property.
*
*/
public boolean isRmvDataSet() {
return rmvDataSet;
}
/**
* Sets the value of the rmvDataSet property.
*
*/
public CardPaymentDataSet12 setRmvDataSet(boolean value) {
this.rmvDataSet = value;
return this;
}
/**
* 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 CardPaymentDataSet12 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 TransactionTotals3 }
*
*
*/
public List getTxTtls() {
if (txTtls == null) {
txTtls = new ArrayList();
}
return this.txTtls;
}
/**
* Gets the value of the rjctdTx 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 rjctdTx property.
*
*
* For example, to add a new item, do as follows:
*
* getRjctdTx().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CardPaymentDataSet11 }
*
*
*/
public List getRjctdTx() {
if (rjctdTx == null) {
rjctdTx = new ArrayList();
}
return this.rjctdTx;
}
@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 txTtls list.
* @see #getTxTtls()
*
*/
public CardPaymentDataSet12 addTxTtls(TransactionTotals3 txTtls) {
getTxTtls().add(txTtls);
return this;
}
/**
* Adds a new item to the rjctdTx list.
* @see #getRjctdTx()
*
*/
public CardPaymentDataSet12 addRjctdTx(CardPaymentDataSet11 rjctdTx) {
getRjctdTx().add(rjctdTx);
return this;
}
}