
com.prowidesoftware.swift.model.mx.dic.DetailedAmount2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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;
/**
* Detailed amounts associated with the total amount of transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DetailedAmount2", propOrder = {
"tp",
"val",
"labl"
})
public class DetailedAmount2 {
@XmlElement(name = "Tp", required = true)
@XmlSchemaType(name = "string")
protected TypeOfAmount2Code tp;
@XmlElement(name = "Val", required = true)
protected BigDecimal val;
@XmlElement(name = "Labl")
protected String labl;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link TypeOfAmount2Code }
*
*/
public TypeOfAmount2Code getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link TypeOfAmount2Code }
*
*/
public DetailedAmount2 setTp(TypeOfAmount2Code value) {
this.tp = value;
return this;
}
/**
* Gets the value of the val property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVal() {
return val;
}
/**
* Sets the value of the val property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public DetailedAmount2 setVal(BigDecimal value) {
this.val = value;
return this;
}
/**
* Gets the value of the labl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabl() {
return labl;
}
/**
* Sets the value of the labl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DetailedAmount2 setLabl(String value) {
this.labl = value;
return this;
}
@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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy