com.prowidesoftware.swift.model.mx.dic.Commission16 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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 = "Commission16", propOrder = {
"tp",
"comssn",
"rcptId",
"clctnDt",
"ttlComssn",
"ttlVATAmt",
"vatRate"
})
public class Commission16 {
@XmlElement(name = "Tp", required = true)
protected CommissionType2Choice tp;
@XmlElement(name = "Comssn", required = true)
protected AmountOrRate2Choice comssn;
@XmlElement(name = "RcptId")
protected PartyIdentification54 rcptId;
@XmlElement(name = "ClctnDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate clctnDt;
@XmlElement(name = "TtlComssn")
protected AmountAndDirection29 ttlComssn;
@XmlElement(name = "TtlVATAmt")
protected ActiveCurrencyAndAmount ttlVATAmt;
@XmlElement(name = "VATRate")
protected BigDecimal vatRate;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link CommissionType2Choice }
*
*/
public CommissionType2Choice getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link CommissionType2Choice }
*
*/
public Commission16 setTp(CommissionType2Choice value) {
this.tp = value;
return this;
}
/**
* Gets the value of the comssn property.
*
* @return
* possible object is
* {@link AmountOrRate2Choice }
*
*/
public AmountOrRate2Choice getComssn() {
return comssn;
}
/**
* Sets the value of the comssn property.
*
* @param value
* allowed object is
* {@link AmountOrRate2Choice }
*
*/
public Commission16 setComssn(AmountOrRate2Choice value) {
this.comssn = value;
return this;
}
/**
* Gets the value of the rcptId property.
*
* @return
* possible object is
* {@link PartyIdentification54 }
*
*/
public PartyIdentification54 getRcptId() {
return rcptId;
}
/**
* Sets the value of the rcptId property.
*
* @param value
* allowed object is
* {@link PartyIdentification54 }
*
*/
public Commission16 setRcptId(PartyIdentification54 value) {
this.rcptId = value;
return this;
}
/**
* Gets the value of the clctnDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getClctnDt() {
return clctnDt;
}
/**
* Sets the value of the clctnDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Commission16 setClctnDt(LocalDate value) {
this.clctnDt = value;
return this;
}
/**
* Gets the value of the ttlComssn property.
*
* @return
* possible object is
* {@link AmountAndDirection29 }
*
*/
public AmountAndDirection29 getTtlComssn() {
return ttlComssn;
}
/**
* Sets the value of the ttlComssn property.
*
* @param value
* allowed object is
* {@link AmountAndDirection29 }
*
*/
public Commission16 setTtlComssn(AmountAndDirection29 value) {
this.ttlComssn = value;
return this;
}
/**
* Gets the value of the ttlVATAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getTtlVATAmt() {
return ttlVATAmt;
}
/**
* Sets the value of the ttlVATAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public Commission16 setTtlVATAmt(ActiveCurrencyAndAmount value) {
this.ttlVATAmt = value;
return this;
}
/**
* Gets the value of the vatRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVATRate() {
return vatRate;
}
/**
* Sets the value of the vatRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Commission16 setVATRate(BigDecimal value) {
this.vatRate = 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