com.prowidesoftware.swift.model.mx.dic.Commission9 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;
/**
* Amount of money due to a party as compensation for a service.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Commission9", propOrder = {
"tp",
"xtndedTp",
"amt",
"rate"
})
public class Commission9 {
@XmlElement(name = "Tp")
@XmlSchemaType(name = "string")
protected CommissionType6Code tp;
@XmlElement(name = "XtndedTp")
protected String xtndedTp;
@XmlElement(name = "Amt")
protected ActiveOrHistoricCurrencyAnd13DecimalAmount amt;
@XmlElement(name = "Rate")
protected BigDecimal rate;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link CommissionType6Code }
*
*/
public CommissionType6Code getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link CommissionType6Code }
*
*/
public Commission9 setTp(CommissionType6Code value) {
this.tp = value;
return this;
}
/**
* Gets the value of the xtndedTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXtndedTp() {
return xtndedTp;
}
/**
* Sets the value of the xtndedTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Commission9 setXtndedTp(String value) {
this.xtndedTp = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAnd13DecimalAmount }
*
*/
public ActiveOrHistoricCurrencyAnd13DecimalAmount getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAnd13DecimalAmount }
*
*/
public Commission9 setAmt(ActiveOrHistoricCurrencyAnd13DecimalAmount value) {
this.amt = value;
return this;
}
/**
* Gets the value of the rate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getRate() {
return rate;
}
/**
* Sets the value of the rate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Commission9 setRate(BigDecimal value) {
this.rate = 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