com.prowidesoftware.swift.model.mx.dic.UnitPrice12 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 java.math.BigDecimal;
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;
/**
* Amount of money for which goods or services are offered, sold, or bought.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnitPrice12", propOrder = {
"tp",
"xtndedTp",
"val",
"pricMtd",
"acrdIntrstNAV",
"nbOfDaysAcrd",
"taxblIncmPerShr"
})
public class UnitPrice12 {
@XmlElement(name = "Tp")
@XmlSchemaType(name = "string")
protected TypeOfPrice12Code tp;
@XmlElement(name = "XtndedTp")
protected String xtndedTp;
@XmlElement(name = "Val", required = true)
protected PriceValue1 val;
@XmlElement(name = "PricMtd")
@XmlSchemaType(name = "string")
protected PriceMethod1Code pricMtd;
@XmlElement(name = "AcrdIntrstNAV")
protected ActiveOrHistoricCurrencyAndAmount acrdIntrstNAV;
@XmlElement(name = "NbOfDaysAcrd")
protected BigDecimal nbOfDaysAcrd;
@XmlElement(name = "TaxblIncmPerShr")
protected ActiveCurrencyAnd13DecimalAmount taxblIncmPerShr;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link TypeOfPrice12Code }
*
*/
public TypeOfPrice12Code getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link TypeOfPrice12Code }
*
*/
public UnitPrice12 setTp(TypeOfPrice12Code value) {
this.tp = value;
return this;
}
/**
* Gets the value of the xtndedTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXtndedTp() {
return xtndedTp;
}
/**
* Sets the value of the xtndedTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public UnitPrice12 setXtndedTp(String value) {
this.xtndedTp = value;
return this;
}
/**
* Gets the value of the val property.
*
* @return
* possible object is
* {@link PriceValue1 }
*
*/
public PriceValue1 getVal() {
return val;
}
/**
* Sets the value of the val property.
*
* @param value
* allowed object is
* {@link PriceValue1 }
*
*/
public UnitPrice12 setVal(PriceValue1 value) {
this.val = value;
return this;
}
/**
* Gets the value of the pricMtd property.
*
* @return
* possible object is
* {@link PriceMethod1Code }
*
*/
public PriceMethod1Code getPricMtd() {
return pricMtd;
}
/**
* Sets the value of the pricMtd property.
*
* @param value
* allowed object is
* {@link PriceMethod1Code }
*
*/
public UnitPrice12 setPricMtd(PriceMethod1Code value) {
this.pricMtd = value;
return this;
}
/**
* Gets the value of the acrdIntrstNAV property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getAcrdIntrstNAV() {
return acrdIntrstNAV;
}
/**
* Sets the value of the acrdIntrstNAV property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public UnitPrice12 setAcrdIntrstNAV(ActiveOrHistoricCurrencyAndAmount value) {
this.acrdIntrstNAV = value;
return this;
}
/**
* Gets the value of the nbOfDaysAcrd property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getNbOfDaysAcrd() {
return nbOfDaysAcrd;
}
/**
* Sets the value of the nbOfDaysAcrd property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public UnitPrice12 setNbOfDaysAcrd(BigDecimal value) {
this.nbOfDaysAcrd = value;
return this;
}
/**
* Gets the value of the taxblIncmPerShr property.
*
* @return
* possible object is
* {@link ActiveCurrencyAnd13DecimalAmount }
*
*/
public ActiveCurrencyAnd13DecimalAmount getTaxblIncmPerShr() {
return taxblIncmPerShr;
}
/**
* Sets the value of the taxblIncmPerShr property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAnd13DecimalAmount }
*
*/
public UnitPrice12 setTaxblIncmPerShr(ActiveCurrencyAnd13DecimalAmount value) {
this.taxblIncmPerShr = 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