com.prowidesoftware.swift.model.mx.dic.RatioFormat1Choice 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 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;
/**
* Choice of format to expressed a ratio.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RatioFormat1Choice", propOrder = {
"qtyToQty",
"amtToAmt",
"notSpcfdRate"
})
public class RatioFormat1Choice {
@XmlElement(name = "QtyToQty")
protected QuantityToQuantityRatio1 qtyToQty;
@XmlElement(name = "AmtToAmt")
protected AmountToAmountRatio1 amtToAmt;
@XmlElement(name = "NotSpcfdRate")
protected RateType12FormatChoice notSpcfdRate;
/**
* Gets the value of the qtyToQty property.
*
* @return
* possible object is
* {@link QuantityToQuantityRatio1 }
*
*/
public QuantityToQuantityRatio1 getQtyToQty() {
return qtyToQty;
}
/**
* Sets the value of the qtyToQty property.
*
* @param value
* allowed object is
* {@link QuantityToQuantityRatio1 }
*
*/
public RatioFormat1Choice setQtyToQty(QuantityToQuantityRatio1 value) {
this.qtyToQty = value;
return this;
}
/**
* Gets the value of the amtToAmt property.
*
* @return
* possible object is
* {@link AmountToAmountRatio1 }
*
*/
public AmountToAmountRatio1 getAmtToAmt() {
return amtToAmt;
}
/**
* Sets the value of the amtToAmt property.
*
* @param value
* allowed object is
* {@link AmountToAmountRatio1 }
*
*/
public RatioFormat1Choice setAmtToAmt(AmountToAmountRatio1 value) {
this.amtToAmt = value;
return this;
}
/**
* Gets the value of the notSpcfdRate property.
*
* @return
* possible object is
* {@link RateType12FormatChoice }
*
*/
public RateType12FormatChoice getNotSpcfdRate() {
return notSpcfdRate;
}
/**
* Sets the value of the notSpcfdRate property.
*
* @param value
* allowed object is
* {@link RateType12FormatChoice }
*
*/
public RatioFormat1Choice setNotSpcfdRate(RateType12FormatChoice value) {
this.notSpcfdRate = 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