
com.prowidesoftware.swift.model.mx.dic.NumberAndSumOfTransactionsPerBankTransactionCode1 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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.XmlSchemaType;
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 elements providing the total sum of entries per bank transaction code.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NumberAndSumOfTransactionsPerBankTransactionCode1", propOrder = {
"nbOfNtries",
"sum",
"ttlNetNtryAmt",
"cdtDbtInd",
"bkTxCd",
"avlbty"
})
public class NumberAndSumOfTransactionsPerBankTransactionCode1 {
@XmlElement(name = "NbOfNtries")
protected String nbOfNtries;
@XmlElement(name = "Sum")
protected BigDecimal sum;
@XmlElement(name = "TtlNetNtryAmt")
protected BigDecimal ttlNetNtryAmt;
@XmlElement(name = "CdtDbtInd")
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "BkTxCd", required = true)
protected BankTransactionCodeStructure1 bkTxCd;
@XmlElement(name = "Avlbty")
protected List avlbty;
/**
* Gets the value of the nbOfNtries property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNbOfNtries() {
return nbOfNtries;
}
/**
* Sets the value of the nbOfNtries property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public NumberAndSumOfTransactionsPerBankTransactionCode1 setNbOfNtries(String value) {
this.nbOfNtries = value;
return this;
}
/**
* Gets the value of the sum property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSum() {
return sum;
}
/**
* Sets the value of the sum property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public NumberAndSumOfTransactionsPerBankTransactionCode1 setSum(BigDecimal value) {
this.sum = value;
return this;
}
/**
* Gets the value of the ttlNetNtryAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTtlNetNtryAmt() {
return ttlNetNtryAmt;
}
/**
* Sets the value of the ttlNetNtryAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public NumberAndSumOfTransactionsPerBankTransactionCode1 setTtlNetNtryAmt(BigDecimal value) {
this.ttlNetNtryAmt = value;
return this;
}
/**
* Gets the value of the cdtDbtInd property.
*
* @return
* possible object is
* {@link CreditDebitCode }
*
*/
public CreditDebitCode getCdtDbtInd() {
return cdtDbtInd;
}
/**
* Sets the value of the cdtDbtInd property.
*
* @param value
* allowed object is
* {@link CreditDebitCode }
*
*/
public NumberAndSumOfTransactionsPerBankTransactionCode1 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the bkTxCd property.
*
* @return
* possible object is
* {@link BankTransactionCodeStructure1 }
*
*/
public BankTransactionCodeStructure1 getBkTxCd() {
return bkTxCd;
}
/**
* Sets the value of the bkTxCd property.
*
* @param value
* allowed object is
* {@link BankTransactionCodeStructure1 }
*
*/
public NumberAndSumOfTransactionsPerBankTransactionCode1 setBkTxCd(BankTransactionCodeStructure1 value) {
this.bkTxCd = value;
return this;
}
/**
* Gets the value of the avlbty 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 avlbty property.
*
*
* For example, to add a new item, do as follows:
*
* getAvlbty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashBalanceAvailability1 }
*
*
*/
public List getAvlbty() {
if (avlbty == null) {
avlbty = new ArrayList();
}
return this.avlbty;
}
@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 avlbty list.
* @see #getAvlbty()
*
*/
public NumberAndSumOfTransactionsPerBankTransactionCode1 addAvlbty(CashBalanceAvailability1 avlbty) {
getAvlbty().add(avlbty);
return this;
}
}