
com.prowidesoftware.swift.model.mx.dic.DetailedAmount5 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 = "DetailedAmount5", propOrder = {
"cshBck",
"grtty",
"fees",
"rbt",
"valAddedTax"
})
public class DetailedAmount5 {
@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;
/**
* 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 DetailedAmount5 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 DetailedAmount5 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;
}
@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 DetailedAmount5 addFees(DetailedAmount4 fees) {
getFees().add(fees);
return this;
}
/**
* Adds a new item to the rbt list.
* @see #getRbt()
*
*/
public DetailedAmount5 addRbt(DetailedAmount4 rbt) {
getRbt().add(rbt);
return this;
}
/**
* Adds a new item to the valAddedTax list.
* @see #getValAddedTax()
*
*/
public DetailedAmount5 addValAddedTax(DetailedAmount4 valAddedTax) {
getValAddedTax().add(valAddedTax);
return this;
}
}