
com.prowidesoftware.swift.model.mx.dic.DetailedAmount15 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.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;
/**
* Detailed amounts associated with the total amount of transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DetailedAmount15", propOrder = {
"amtGoodsAndSvcs",
"cshBck",
"grtty",
"fees",
"rbt",
"valAddedTax",
"srchrg"
})
public class DetailedAmount15 {
@XmlElement(name = "AmtGoodsAndSvcs")
protected BigDecimal amtGoodsAndSvcs;
@XmlElement(name = "CshBck")
protected BigDecimal cshBck;
@XmlElement(name = "Grtty")
protected BigDecimal grtty;
@XmlElement(name = "Fees")
protected List fees;
@XmlElement(name = "Rbt")
protected List rbt;
@XmlElement(name = "ValAddedTax")
protected List valAddedTax;
@XmlElement(name = "Srchrg")
protected List srchrg;
/**
* Gets the value of the amtGoodsAndSvcs property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAmtGoodsAndSvcs() {
return amtGoodsAndSvcs;
}
/**
* Sets the value of the amtGoodsAndSvcs property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public DetailedAmount15 setAmtGoodsAndSvcs(BigDecimal value) {
this.amtGoodsAndSvcs = value;
return this;
}
/**
* Gets the value of the cshBck property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCshBck() {
return cshBck;
}
/**
* Sets the value of the cshBck property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public DetailedAmount15 setCshBck(BigDecimal value) {
this.cshBck = value;
return this;
}
/**
* Gets the value of the grtty property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getGrtty() {
return grtty;
}
/**
* Sets the value of the grtty property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public DetailedAmount15 setGrtty(BigDecimal value) {
this.grtty = value;
return this;
}
/**
* Gets the value of the fees 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 fees property.
*
*
* For example, to add a new item, do as follows:
*
* getFees().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DetailedAmount4 }
*
*
*/
public List getFees() {
if (fees == null) {
fees = new ArrayList();
}
return this.fees;
}
/**
* Gets the value of the rbt 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 rbt property.
*
*
* For example, to add a new item, do as follows:
*
* getRbt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DetailedAmount4 }
*
*
*/
public List getRbt() {
if (rbt == null) {
rbt = new ArrayList();
}
return this.rbt;
}
/**
* Gets the value of the valAddedTax 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 valAddedTax property.
*
*
* For example, to add a new item, do as follows:
*
* getValAddedTax().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DetailedAmount4 }
*
*
*/
public List getValAddedTax() {
if (valAddedTax == null) {
valAddedTax = new ArrayList();
}
return this.valAddedTax;
}
/**
* Gets the value of the srchrg 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 srchrg property.
*
*
* For example, to add a new item, do as follows:
*
* getSrchrg().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DetailedAmount4 }
*
*
*/
public List getSrchrg() {
if (srchrg == null) {
srchrg = new ArrayList();
}
return this.srchrg;
}
@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 fees list.
* @see #getFees()
*
*/
public DetailedAmount15 addFees(DetailedAmount4 fees) {
getFees().add(fees);
return this;
}
/**
* Adds a new item to the rbt list.
* @see #getRbt()
*
*/
public DetailedAmount15 addRbt(DetailedAmount4 rbt) {
getRbt().add(rbt);
return this;
}
/**
* Adds a new item to the valAddedTax list.
* @see #getValAddedTax()
*
*/
public DetailedAmount15 addValAddedTax(DetailedAmount4 valAddedTax) {
getValAddedTax().add(valAddedTax);
return this;
}
/**
* Adds a new item to the srchrg list.
* @see #getSrchrg()
*
*/
public DetailedAmount15 addSrchrg(DetailedAmount4 srchrg) {
getSrchrg().add(srchrg);
return this;
}
}