com.prowidesoftware.swift.model.mx.dic.CardPaymentDataSet18 Maven / Gradle / Ivy
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;
/**
* Result of the captured set of transactions.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CardPaymentDataSet18", propOrder = {
"dataSetId",
"dataSetRslt",
"rmvDataSet",
"dataSetInitr",
"txTtls",
"rjctdTx"
})
public class CardPaymentDataSet18 {
@XmlElement(name = "DataSetId", required = true)
protected DataSetIdentification5 dataSetId;
@XmlElement(name = "DataSetRslt", required = true)
protected ResponseType5 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 DataSetIdentification5 }
*
*/
public DataSetIdentification5 getDataSetId() {
return dataSetId;
}
/**
* Sets the value of the dataSetId property.
*
* @param value
* allowed object is
* {@link DataSetIdentification5 }
*
*/
public CardPaymentDataSet18 setDataSetId(DataSetIdentification5 value) {
this.dataSetId = value;
return this;
}
/**
* Gets the value of the dataSetRslt property.
*
* @return
* possible object is
* {@link ResponseType5 }
*
*/
public ResponseType5 getDataSetRslt() {
return dataSetRslt;
}
/**
* Sets the value of the dataSetRslt property.
*
* @param value
* allowed object is
* {@link ResponseType5 }
*
*/
public CardPaymentDataSet18 setDataSetRslt(ResponseType5 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 CardPaymentDataSet18 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 CardPaymentDataSet18 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the txTtls property.
*/
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 Jakarta XML Binding object.
* This is why there is not a {@code 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 CardPaymentDataSet17 }
*
*
* @return
* The value of the rjctdTx property.
*/
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 CardPaymentDataSet18 addTxTtls(TransactionTotals7 txTtls) {
getTxTtls().add(txTtls);
return this;
}
/**
* Adds a new item to the rjctdTx list.
* @see #getRjctdTx()
*
*/
public CardPaymentDataSet18 addRjctdTx(CardPaymentDataSet17 rjctdTx) {
getRjctdTx().add(rjctdTx);
return this;
}
}