com.prowidesoftware.swift.model.mx.dic.UnitOfMeasure1 Maven / Gradle / Ivy
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;
/**
* Amount of money for which goods or services are offered, sold, or bought.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnitOfMeasure1", propOrder = {
"unitOfMeasr",
"othrUnitOfMeasr",
"nbOfUnits"
})
public class UnitOfMeasure1 {
@XmlElement(name = "UnitOfMeasr")
@XmlSchemaType(name = "string")
protected UnitOfMeasure1Code unitOfMeasr;
@XmlElement(name = "OthrUnitOfMeasr")
protected String othrUnitOfMeasr;
@XmlElement(name = "NbOfUnits")
protected BigDecimal nbOfUnits;
/**
* 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 UnitOfMeasure1 setUnitOfMeasr(UnitOfMeasure1Code value) {
this.unitOfMeasr = value;
return this;
}
/**
* Gets the value of the othrUnitOfMeasr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOthrUnitOfMeasr() {
return othrUnitOfMeasr;
}
/**
* Sets the value of the othrUnitOfMeasr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public UnitOfMeasure1 setOthrUnitOfMeasr(String value) {
this.othrUnitOfMeasr = value;
return this;
}
/**
* Gets the value of the nbOfUnits property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getNbOfUnits() {
return nbOfUnits;
}
/**
* Sets the value of the nbOfUnits property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public UnitOfMeasure1 setNbOfUnits(BigDecimal value) {
this.nbOfUnits = 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