com.prowidesoftware.swift.model.mx.dic.LineItemMonetarySummation1 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;
/**
* Trade settlement monetary summation specified for this supply chain trade settlement.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LineItemMonetarySummation1", propOrder = {
"lineTtlAmt",
"allwncTtlAmt",
"chrgTtlAmt",
"taxTtlAmt",
"taxBsisTtlAmt",
"infAmt"
})
public class LineItemMonetarySummation1 {
@XmlElement(name = "LineTtlAmt")
protected List lineTtlAmt;
@XmlElement(name = "AllwncTtlAmt")
protected List allwncTtlAmt;
@XmlElement(name = "ChrgTtlAmt")
protected List chrgTtlAmt;
@XmlElement(name = "TaxTtlAmt")
protected List taxTtlAmt;
@XmlElement(name = "TaxBsisTtlAmt")
protected List taxBsisTtlAmt;
@XmlElement(name = "InfAmt")
protected List infAmt;
/**
* Gets the value of the lineTtlAmt 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 lineTtlAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getLineTtlAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CurrencyAndAmount }
*
*
*/
public List getLineTtlAmt() {
if (lineTtlAmt == null) {
lineTtlAmt = new ArrayList();
}
return this.lineTtlAmt;
}
/**
* Gets the value of the allwncTtlAmt 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 allwncTtlAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getAllwncTtlAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CurrencyAndAmount }
*
*
*/
public List getAllwncTtlAmt() {
if (allwncTtlAmt == null) {
allwncTtlAmt = new ArrayList();
}
return this.allwncTtlAmt;
}
/**
* Gets the value of the chrgTtlAmt 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 chrgTtlAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getChrgTtlAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CurrencyAndAmount }
*
*
*/
public List getChrgTtlAmt() {
if (chrgTtlAmt == null) {
chrgTtlAmt = new ArrayList();
}
return this.chrgTtlAmt;
}
/**
* Gets the value of the taxTtlAmt 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 taxTtlAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getTaxTtlAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CurrencyAndAmount }
*
*
*/
public List getTaxTtlAmt() {
if (taxTtlAmt == null) {
taxTtlAmt = new ArrayList();
}
return this.taxTtlAmt;
}
/**
* Gets the value of the taxBsisTtlAmt 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 taxBsisTtlAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getTaxBsisTtlAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CurrencyAndAmount }
*
*
*/
public List getTaxBsisTtlAmt() {
if (taxBsisTtlAmt == null) {
taxBsisTtlAmt = new ArrayList();
}
return this.taxBsisTtlAmt;
}
/**
* Gets the value of the infAmt 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 infAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getInfAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CurrencyAndAmount }
*
*
*/
public List getInfAmt() {
if (infAmt == null) {
infAmt = new ArrayList();
}
return this.infAmt;
}
@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 lineTtlAmt list.
* @see #getLineTtlAmt()
*
*/
public LineItemMonetarySummation1 addLineTtlAmt(CurrencyAndAmount lineTtlAmt) {
getLineTtlAmt().add(lineTtlAmt);
return this;
}
/**
* Adds a new item to the allwncTtlAmt list.
* @see #getAllwncTtlAmt()
*
*/
public LineItemMonetarySummation1 addAllwncTtlAmt(CurrencyAndAmount allwncTtlAmt) {
getAllwncTtlAmt().add(allwncTtlAmt);
return this;
}
/**
* Adds a new item to the chrgTtlAmt list.
* @see #getChrgTtlAmt()
*
*/
public LineItemMonetarySummation1 addChrgTtlAmt(CurrencyAndAmount chrgTtlAmt) {
getChrgTtlAmt().add(chrgTtlAmt);
return this;
}
/**
* Adds a new item to the taxTtlAmt list.
* @see #getTaxTtlAmt()
*
*/
public LineItemMonetarySummation1 addTaxTtlAmt(CurrencyAndAmount taxTtlAmt) {
getTaxTtlAmt().add(taxTtlAmt);
return this;
}
/**
* Adds a new item to the taxBsisTtlAmt list.
* @see #getTaxBsisTtlAmt()
*
*/
public LineItemMonetarySummation1 addTaxBsisTtlAmt(CurrencyAndAmount taxBsisTtlAmt) {
getTaxBsisTtlAmt().add(taxBsisTtlAmt);
return this;
}
/**
* Adds a new item to the infAmt list.
* @see #getInfAmt()
*
*/
public LineItemMonetarySummation1 addInfAmt(CurrencyAndAmount infAmt) {
getInfAmt().add(infAmt);
return this;
}
}