com.prowidesoftware.swift.model.mx.dic.Product1 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
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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 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;
/**
* Product purchased to be paid.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Product1", propOrder = {
"pdctCd",
"unitOfMeasr",
"pdctQty",
"unitPric",
"pdctAmt",
"taxTp",
"addtlPdctInf"
})
public class Product1 {
@XmlElement(name = "PdctCd", required = true)
protected String pdctCd;
@XmlElement(name = "UnitOfMeasr")
@XmlSchemaType(name = "string")
protected UnitOfMeasure1Code unitOfMeasr;
@XmlElement(name = "PdctQty")
protected BigDecimal pdctQty;
@XmlElement(name = "UnitPric")
protected BigDecimal unitPric;
@XmlElement(name = "PdctAmt", required = true)
protected BigDecimal pdctAmt;
@XmlElement(name = "TaxTp")
protected String taxTp;
@XmlElement(name = "AddtlPdctInf")
protected String addtlPdctInf;
/**
* Gets the value of the pdctCd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPdctCd() {
return pdctCd;
}
/**
* Sets the value of the pdctCd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Product1 setPdctCd(String value) {
this.pdctCd = value;
return this;
}
/**
* Gets the value of the unitOfMeasr property.
*
* @return
* possible object is
* {@link UnitOfMeasure1Code }
*
*/
public UnitOfMeasure1Code getUnitOfMeasr() {
return unitOfMeasr;
}
/**
* Sets the value of the unitOfMeasr property.
*
* @param value
* allowed object is
* {@link UnitOfMeasure1Code }
*
*/
public Product1 setUnitOfMeasr(UnitOfMeasure1Code value) {
this.unitOfMeasr = value;
return this;
}
/**
* Gets the value of the pdctQty property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPdctQty() {
return pdctQty;
}
/**
* Sets the value of the pdctQty property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Product1 setPdctQty(BigDecimal value) {
this.pdctQty = value;
return this;
}
/**
* Gets the value of the unitPric property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getUnitPric() {
return unitPric;
}
/**
* Sets the value of the unitPric property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Product1 setUnitPric(BigDecimal value) {
this.unitPric = value;
return this;
}
/**
* Gets the value of the pdctAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPdctAmt() {
return pdctAmt;
}
/**
* Sets the value of the pdctAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Product1 setPdctAmt(BigDecimal value) {
this.pdctAmt = value;
return this;
}
/**
* Gets the value of the taxTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTaxTp() {
return taxTp;
}
/**
* Sets the value of the taxTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Product1 setTaxTp(String value) {
this.taxTp = value;
return this;
}
/**
* Gets the value of the addtlPdctInf property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddtlPdctInf() {
return addtlPdctInf;
}
/**
* Sets the value of the addtlPdctInf property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Product1 setAddtlPdctInf(String value) {
this.addtlPdctInf = 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