com.prowidesoftware.swift.model.mx.dic.AmountPricePerAmount3 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.XmlSchemaType;
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;
/**
* Specifies a ratio: Amount price per amount.
* Example:
* ISIN US629377AS17. Repurchase USD1087.17 cash for every USD1000 stock (NRG Energy Inc 8% Senior Notes 15/12/13).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AmountPricePerAmount3", propOrder = {
"amtPricTp",
"pricVal",
"amt"
})
public class AmountPricePerAmount3 {
@XmlElement(name = "AmtPricTp", required = true)
@XmlSchemaType(name = "string")
protected AmountPriceType1Code amtPricTp;
@XmlElement(name = "PricVal", required = true)
protected RestrictedFINActiveCurrencyAnd13DecimalAmount pricVal;
@XmlElement(name = "Amt", required = true)
protected RestrictedFINActiveCurrencyAnd13DecimalAmount amt;
/**
* Gets the value of the amtPricTp property.
*
* @return
* possible object is
* {@link AmountPriceType1Code }
*
*/
public AmountPriceType1Code getAmtPricTp() {
return amtPricTp;
}
/**
* Sets the value of the amtPricTp property.
*
* @param value
* allowed object is
* {@link AmountPriceType1Code }
*
*/
public AmountPricePerAmount3 setAmtPricTp(AmountPriceType1Code value) {
this.amtPricTp = value;
return this;
}
/**
* Gets the value of the pricVal property.
*
* @return
* possible object is
* {@link RestrictedFINActiveCurrencyAnd13DecimalAmount }
*
*/
public RestrictedFINActiveCurrencyAnd13DecimalAmount getPricVal() {
return pricVal;
}
/**
* Sets the value of the pricVal property.
*
* @param value
* allowed object is
* {@link RestrictedFINActiveCurrencyAnd13DecimalAmount }
*
*/
public AmountPricePerAmount3 setPricVal(RestrictedFINActiveCurrencyAnd13DecimalAmount value) {
this.pricVal = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link RestrictedFINActiveCurrencyAnd13DecimalAmount }
*
*/
public RestrictedFINActiveCurrencyAnd13DecimalAmount getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link RestrictedFINActiveCurrencyAnd13DecimalAmount }
*
*/
public AmountPricePerAmount3 setAmt(RestrictedFINActiveCurrencyAnd13DecimalAmount value) {
this.amt = 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