com.prowidesoftware.swift.model.mx.dic.Amount3 Maven / Gradle / Ivy
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.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;
/**
* Provides the amount in the reporting currency and optionally in the original currency.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Amount3", propOrder = {
"orgnlAmt",
"rptgAmt"
})
public class Amount3 {
@XmlElement(name = "OrgnlAmt")
protected ActiveCurrencyAndAmount orgnlAmt;
@XmlElement(name = "RptgAmt", required = true)
protected ActiveCurrencyAndAmount rptgAmt;
/**
* Gets the value of the orgnlAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getOrgnlAmt() {
return orgnlAmt;
}
/**
* Sets the value of the orgnlAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public Amount3 setOrgnlAmt(ActiveCurrencyAndAmount value) {
this.orgnlAmt = value;
return this;
}
/**
* Gets the value of the rptgAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getRptgAmt() {
return rptgAmt;
}
/**
* Sets the value of the rptgAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public Amount3 setRptgAmt(ActiveCurrencyAndAmount value) {
this.rptgAmt = 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