
com.prowidesoftware.swift.model.mx.dic.Unit10 Maven / Gradle / Ivy
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;
/**
* Quantity expressed as a number and its details.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Unit10", propOrder = {
"unitsNb",
"grp1Or2Units"
})
public class Unit10 {
@XmlElement(name = "UnitsNb", required = true)
protected BigDecimal unitsNb;
@XmlElement(name = "Grp1Or2Units", required = true)
@XmlSchemaType(name = "string")
protected UKTaxGroupUnit1Code grp1Or2Units;
/**
* Gets the value of the unitsNb property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getUnitsNb() {
return unitsNb;
}
/**
* Sets the value of the unitsNb property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Unit10 setUnitsNb(BigDecimal value) {
this.unitsNb = value;
return this;
}
/**
* Gets the value of the grp1Or2Units property.
*
* @return
* possible object is
* {@link UKTaxGroupUnit1Code }
*
*/
public UKTaxGroupUnit1Code getGrp1Or2Units() {
return grp1Or2Units;
}
/**
* Sets the value of the grp1Or2Units property.
*
* @param value
* allowed object is
* {@link UKTaxGroupUnit1Code }
*
*/
public Unit10 setGrp1Or2Units(UKTaxGroupUnit1Code value) {
this.grp1Or2Units = 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