com.prowidesoftware.swift.model.mx.dic.Charge10 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.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 associated with a service.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Charge10", propOrder = {
"tp",
"chrgBsis",
"amt",
"rate",
"rcptId"
})
public class Charge10 {
@XmlElement(name = "Tp", required = true)
protected ChargeType1 tp;
@XmlElement(name = "ChrgBsis")
protected TaxationBasis1 chrgBsis;
@XmlElement(name = "Amt", required = true)
protected ActiveCurrencyAnd13DecimalAmount amt;
@XmlElement(name = "Rate")
protected BigDecimal rate;
@XmlElement(name = "RcptId")
protected PartyIdentification2Choice rcptId;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link ChargeType1 }
*
*/
public ChargeType1 getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link ChargeType1 }
*
*/
public Charge10 setTp(ChargeType1 value) {
this.tp = value;
return this;
}
/**
* Gets the value of the chrgBsis property.
*
* @return
* possible object is
* {@link TaxationBasis1 }
*
*/
public TaxationBasis1 getChrgBsis() {
return chrgBsis;
}
/**
* Sets the value of the chrgBsis property.
*
* @param value
* allowed object is
* {@link TaxationBasis1 }
*
*/
public Charge10 setChrgBsis(TaxationBasis1 value) {
this.chrgBsis = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAnd13DecimalAmount }
*
*/
public ActiveCurrencyAnd13DecimalAmount getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAnd13DecimalAmount }
*
*/
public Charge10 setAmt(ActiveCurrencyAnd13DecimalAmount 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 Charge10 setRate(BigDecimal value) {
this.rate = value;
return this;
}
/**
* Gets the value of the rcptId property.
*
* @return
* possible object is
* {@link PartyIdentification2Choice }
*
*/
public PartyIdentification2Choice getRcptId() {
return rcptId;
}
/**
* Sets the value of the rcptId property.
*
* @param value
* allowed object is
* {@link PartyIdentification2Choice }
*
*/
public Charge10 setRcptId(PartyIdentification2Choice value) {
this.rcptId = 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