com.prowidesoftware.swift.model.mx.dic.Charge4 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
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.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 = "Charge4", propOrder = {
"tp",
"amt",
"chrgBsis",
"chrgBr",
"rcptId"
})
public class Charge4 {
@XmlElement(name = "Tp", required = true)
protected ChargeTypeFormat2Choice tp;
@XmlElement(name = "Amt", required = true)
protected ActiveOrHistoricCurrencyAndAmount amt;
@XmlElement(name = "ChrgBsis")
@XmlSchemaType(name = "string")
protected TaxationBasis2Code chrgBsis;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearer1Code chrgBr;
@XmlElement(name = "RcptId")
protected PartyIdentification1Choice rcptId;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link ChargeTypeFormat2Choice }
*
*/
public ChargeTypeFormat2Choice getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link ChargeTypeFormat2Choice }
*
*/
public Charge4 setTp(ChargeTypeFormat2Choice value) {
this.tp = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public Charge4 setAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.amt = value;
return this;
}
/**
* Gets the value of the chrgBsis property.
*
* @return
* possible object is
* {@link TaxationBasis2Code }
*
*/
public TaxationBasis2Code getChrgBsis() {
return chrgBsis;
}
/**
* Sets the value of the chrgBsis property.
*
* @param value
* allowed object is
* {@link TaxationBasis2Code }
*
*/
public Charge4 setChrgBsis(TaxationBasis2Code value) {
this.chrgBsis = value;
return this;
}
/**
* Gets the value of the chrgBr property.
*
* @return
* possible object is
* {@link ChargeBearer1Code }
*
*/
public ChargeBearer1Code getChrgBr() {
return chrgBr;
}
/**
* Sets the value of the chrgBr property.
*
* @param value
* allowed object is
* {@link ChargeBearer1Code }
*
*/
public Charge4 setChrgBr(ChargeBearer1Code value) {
this.chrgBr = value;
return this;
}
/**
* Gets the value of the rcptId property.
*
* @return
* possible object is
* {@link PartyIdentification1Choice }
*
*/
public PartyIdentification1Choice getRcptId() {
return rcptId;
}
/**
* Sets the value of the rcptId property.
*
* @param value
* allowed object is
* {@link PartyIdentification1Choice }
*
*/
public Charge4 setRcptId(PartyIdentification1Choice 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