All Downloads are FREE. Search and download functionalities are using the official Maven repository.

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.TaxCategoryType Maven / Gradle / Ivy


package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.phloc.commons.equals.EqualsUtils;
import com.phloc.commons.hash.HashCodeGenerator;
import com.phloc.commons.string.ToStringGenerator;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BaseUnitMeasureType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NameType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PerUnitAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PercentType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TaxExemptionReasonCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TaxExemptionReasonType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TierRangeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TierRatePercentType;


/**
 * 
 * 
 * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a tax category.</ccts:Definition><ccts:ObjectClass>Tax Category</ccts:ObjectClass></ccts:Component>
 * 
* * *

Java class for TaxCategoryType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TaxCategoryType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Name" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Percent" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BaseUnitMeasure" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PerUnitAmount" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxExemptionReasonCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxExemptionReason" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TierRange" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TierRatePercent" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxScheme"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TaxCategoryType", propOrder = { "id", "name", "percent", "baseUnitMeasure", "perUnitAmount", "taxExemptionReasonCode", "taxExemptionReason", "tierRange", "tierRatePercent", "taxScheme" }) public class TaxCategoryType implements Serializable { @XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private IDType id; @XmlElement(name = "Name", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private NameType name; @XmlElement(name = "Percent", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private PercentType percent; @XmlElement(name = "BaseUnitMeasure", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private BaseUnitMeasureType baseUnitMeasure; @XmlElement(name = "PerUnitAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private PerUnitAmountType perUnitAmount; @XmlElement(name = "TaxExemptionReasonCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TaxExemptionReasonCodeType taxExemptionReasonCode; @XmlElement(name = "TaxExemptionReason", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TaxExemptionReasonType taxExemptionReason; @XmlElement(name = "TierRange", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TierRangeType tierRange; @XmlElement(name = "TierRatePercent", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TierRatePercentType tierRatePercent; @XmlElement(name = "TaxScheme", required = true) private TaxSchemeType taxScheme; /** * Default constructor * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * */ public TaxCategoryType() { } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the tax category.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>"ZeroRatedGoods" "NotTaxable" "Standard Rate"</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link IDType } * */ @Nullable public IDType getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link IDType } * */ public void setID( @Nullable IDType value) { this.id = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Name</ccts:DictionaryEntryName><ccts:Definition>The name of the tax category.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Name</ccts:PropertyTerm><ccts:RepresentationTerm>Name</ccts:RepresentationTerm><ccts:DataType>Name. Type</ccts:DataType><ccts:Examples>"Luxury Goods","Wine Equalization", "Exempt"</ccts:Examples></ccts:Component>
     * 
* * * @return * possible object is * {@link NameType } * */ @Nullable public NameType getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link NameType } * */ public void setName( @Nullable NameType value) { this.name = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Percent</ccts:DictionaryEntryName><ccts:Definition>The tax rate for the category, expressed as a percentage.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Percent</ccts:PropertyTerm><ccts:RepresentationTerm>Percent</ccts:RepresentationTerm><ccts:DataType>Percent. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link PercentType } * */ @Nullable public PercentType getPercent() { return percent; } /** * Sets the value of the percent property. * * @param value * allowed object is * {@link PercentType } * */ public void setPercent( @Nullable PercentType value) { this.percent = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Base Unit Measure. Measure</ccts:DictionaryEntryName><ccts:Definition>Where a tax is applied at a certain rate per unit, the measure of units on which the tax calculation is based.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Base Unit Measure</ccts:PropertyTerm><ccts:RepresentationTerm>Measure</ccts:RepresentationTerm><ccts:DataType>Measure. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link BaseUnitMeasureType } * */ @Nullable public BaseUnitMeasureType getBaseUnitMeasure() { return baseUnitMeasure; } /** * Sets the value of the baseUnitMeasure property. * * @param value * allowed object is * {@link BaseUnitMeasureType } * */ public void setBaseUnitMeasure( @Nullable BaseUnitMeasureType value) { this.baseUnitMeasure = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Per Unit_ Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>Where a tax is applied at a certain rate per unit, the rate per unit applied.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTermQualifier>Per Unit</ccts:PropertyTermQualifier><ccts:PropertyTerm>Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link PerUnitAmountType } * */ @Nullable public PerUnitAmountType getPerUnitAmount() { return perUnitAmount; } /** * Sets the value of the perUnitAmount property. * * @param value * allowed object is * {@link PerUnitAmountType } * */ public void setPerUnitAmount( @Nullable PerUnitAmountType value) { this.perUnitAmount = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tax Exemption Reason Code. Code</ccts:DictionaryEntryName><ccts:Definition>The reason for tax being exempted expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tax Exemption Reason Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TaxExemptionReasonCodeType } * */ @Nullable public TaxExemptionReasonCodeType getTaxExemptionReasonCode() { return taxExemptionReasonCode; } /** * Sets the value of the taxExemptionReasonCode property. * * @param value * allowed object is * {@link TaxExemptionReasonCodeType } * */ public void setTaxExemptionReasonCode( @Nullable TaxExemptionReasonCodeType value) { this.taxExemptionReasonCode = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tax Exemption Reason. Text</ccts:DictionaryEntryName><ccts:Definition>The reason for tax being exempted.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tax Exemption Reason</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TaxExemptionReasonType } * */ @Nullable public TaxExemptionReasonType getTaxExemptionReason() { return taxExemptionReason; } /** * Sets the value of the taxExemptionReason property. * * @param value * allowed object is * {@link TaxExemptionReasonType } * */ public void setTaxExemptionReason( @Nullable TaxExemptionReasonType value) { this.taxExemptionReason = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tier Range. Text</ccts:DictionaryEntryName><ccts:Definition>Where a tax is tiered, the range of tiers applied in the calculation of the tax subtotal for the tax category.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tier Range</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TierRangeType } * */ @Nullable public TierRangeType getTierRange() { return tierRange; } /** * Sets the value of the tierRange property. * * @param value * allowed object is * {@link TierRangeType } * */ public void setTierRange( @Nullable TierRangeType value) { this.tierRange = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tier Rate. Percent</ccts:DictionaryEntryName><ccts:Definition>Where a tax is tiered, the rate of tax applied to the range of tiers in the calculation of the tax subtotal for the tax category.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tier Rate</ccts:PropertyTerm><ccts:RepresentationTerm>Percent</ccts:RepresentationTerm><ccts:DataType>Percent. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TierRatePercentType } * */ @Nullable public TierRatePercentType getTierRatePercent() { return tierRatePercent; } /** * Sets the value of the tierRatePercent property. * * @param value * allowed object is * {@link TierRatePercentType } * */ public void setTierRatePercent( @Nullable TierRatePercentType value) { this.tierRatePercent = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Tax Category. Tax Scheme</ccts:DictionaryEntryName><ccts:Definition>An association to Tax Scheme.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Tax Category</ccts:ObjectClass><ccts:PropertyTerm>Tax Scheme</ccts:PropertyTerm><ccts:AssociatedObjectClass>Tax Scheme</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link TaxSchemeType } * */ @Nullable public TaxSchemeType getTaxScheme() { return taxScheme; } /** * Sets the value of the taxScheme property. * * @param value * allowed object is * {@link TaxSchemeType } * */ public void setTaxScheme( @Nullable TaxSchemeType value) { this.taxScheme = value; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public boolean equals(final Object o) { if (o == this) { return true; } if ((o == null)||(!getClass().equals(o.getClass()))) { return false; } final TaxCategoryType rhs = ((TaxCategoryType) o); if (!EqualsUtils.equals(id, rhs.id)) { return false; } if (!EqualsUtils.equals(name, rhs.name)) { return false; } if (!EqualsUtils.equals(percent, rhs.percent)) { return false; } if (!EqualsUtils.equals(baseUnitMeasure, rhs.baseUnitMeasure)) { return false; } if (!EqualsUtils.equals(perUnitAmount, rhs.perUnitAmount)) { return false; } if (!EqualsUtils.equals(taxExemptionReasonCode, rhs.taxExemptionReasonCode)) { return false; } if (!EqualsUtils.equals(taxExemptionReason, rhs.taxExemptionReason)) { return false; } if (!EqualsUtils.equals(tierRange, rhs.tierRange)) { return false; } if (!EqualsUtils.equals(tierRatePercent, rhs.tierRatePercent)) { return false; } if (!EqualsUtils.equals(taxScheme, rhs.taxScheme)) { return false; } return true; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public int hashCode() { return new HashCodeGenerator(this).append(id).append(name).append(percent).append(baseUnitMeasure).append(perUnitAmount).append(taxExemptionReasonCode).append(taxExemptionReason).append(tierRange).append(tierRatePercent).append(taxScheme).getHashCode(); } /** * Created by phloc-jaxb22-plugin -Xphloc-tostring * */ @Override public String toString() { return new ToStringGenerator(this).append("id", id).append("name", name).append("percent", percent).append("baseUnitMeasure", baseUnitMeasure).append("perUnitAmount", perUnitAmount).append("taxExemptionReasonCode", taxExemptionReasonCode).append("taxExemptionReason", taxExemptionReason).append("tierRange", tierRange).append("tierRatePercent", tierRatePercent).append("taxScheme", taxScheme).toString(); } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type PercentType and never null */ @Nonnull public PercentType setPercent( @Nullable final BigDecimal valueParam) { PercentType aObj = getPercent(); if (aObj == null) { aObj = new PercentType(valueParam); setPercent(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TierRatePercentType and never null */ @Nonnull public TierRatePercentType setTierRatePercent( @Nullable final BigDecimal valueParam) { TierRatePercentType aObj = getTierRatePercent(); if (aObj == null) { aObj = new TierRatePercentType(valueParam); setTierRatePercent(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TaxExemptionReasonType and never null */ @Nonnull public TaxExemptionReasonType setTaxExemptionReason( @Nullable final String valueParam) { TaxExemptionReasonType aObj = getTaxExemptionReason(); if (aObj == null) { aObj = new TaxExemptionReasonType(valueParam); setTaxExemptionReason(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TierRangeType and never null */ @Nonnull public TierRangeType setTierRange( @Nullable final String valueParam) { TierRangeType aObj = getTierRange(); if (aObj == null) { aObj = new TierRangeType(valueParam); setTierRange(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type NameType and never null */ @Nonnull public NameType setName( @Nullable final String valueParam) { NameType aObj = getName(); if (aObj == null) { aObj = new NameType(valueParam); setName(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type IDType and never null */ @Nonnull public IDType setID( @Nullable final String valueParam) { IDType aObj = getID(); if (aObj == null) { aObj = new IDType(valueParam); setID(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type PerUnitAmountType and never null */ @Nonnull public PerUnitAmountType setPerUnitAmount( @Nullable final BigDecimal valueParam) { PerUnitAmountType aObj = getPerUnitAmount(); if (aObj == null) { aObj = new PerUnitAmountType(valueParam); setPerUnitAmount(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type BaseUnitMeasureType and never null */ @Nonnull public BaseUnitMeasureType setBaseUnitMeasure( @Nullable final BigDecimal valueParam) { BaseUnitMeasureType aObj = getBaseUnitMeasure(); if (aObj == null) { aObj = new BaseUnitMeasureType(valueParam); setBaseUnitMeasure(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TaxExemptionReasonCodeType and never null */ @Nonnull public TaxExemptionReasonCodeType setTaxExemptionReasonCode( @Nullable final String valueParam) { TaxExemptionReasonCodeType aObj = getTaxExemptionReasonCode(); if (aObj == null) { aObj = new TaxExemptionReasonCodeType(valueParam); setTaxExemptionReasonCode(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Get the value of the contained IDType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained IDType object or null */ @Nullable public String getIDValue() { IDType aObj = getID(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained NameType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained NameType object or null */ @Nullable public String getNameValue() { NameType aObj = getName(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained PercentType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained PercentType object or null */ @Nullable public BigDecimal getPercentValue() { PercentType aObj = getPercent(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained BaseUnitMeasureType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained BaseUnitMeasureType object or null */ @Nullable public BigDecimal getBaseUnitMeasureValue() { BaseUnitMeasureType aObj = getBaseUnitMeasure(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained PerUnitAmountType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained PerUnitAmountType object or null */ @Nullable public BigDecimal getPerUnitAmountValue() { PerUnitAmountType aObj = getPerUnitAmount(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TaxExemptionReasonCodeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TaxExemptionReasonCodeType object or null */ @Nullable public String getTaxExemptionReasonCodeValue() { TaxExemptionReasonCodeType aObj = getTaxExemptionReasonCode(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TaxExemptionReasonType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TaxExemptionReasonType object or null */ @Nullable public String getTaxExemptionReasonValue() { TaxExemptionReasonType aObj = getTaxExemptionReason(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TierRangeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TierRangeType object or null */ @Nullable public String getTierRangeValue() { TierRangeType aObj = getTierRange(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TierRatePercentType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TierRatePercentType object or null */ @Nullable public BigDecimal getTierRatePercentValue() { TierRatePercentType aObj = getTierRatePercent(); return ((aObj == null)?null:aObj.getValue()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy