Class TaxCategoryType


  • public class TaxCategoryType
    extends Object

    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" maxOccurs="unbounded" 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>
     
    • Constructor Detail

      • TaxCategoryType

        public TaxCategoryType()
    • Method Detail

      • getID

        public IDType getID()
        Gets the value of the id property.
        Returns:
        possible object is IDType
      • setID

        public void setID​(IDType value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is IDType
      • getName

        public NameType getName()
        Gets the value of the name property.
        Returns:
        possible object is NameType
      • setName

        public void setName​(NameType value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is NameType
      • getPercent

        public PercentType getPercent()
        Gets the value of the percent property.
        Returns:
        possible object is PercentType
      • setPercent

        public void setPercent​(PercentType value)
        Sets the value of the percent property.
        Parameters:
        value - allowed object is PercentType
      • setBaseUnitMeasure

        public void setBaseUnitMeasure​(BaseUnitMeasureType value)
        Sets the value of the baseUnitMeasure property.
        Parameters:
        value - allowed object is BaseUnitMeasureType
      • setPerUnitAmount

        public void setPerUnitAmount​(PerUnitAmountType value)
        Sets the value of the perUnitAmount property.
        Parameters:
        value - allowed object is PerUnitAmountType
      • getTaxExemptionReason

        public List<TaxExemptionReasonType> getTaxExemptionReason()
        Gets the value of the taxExemptionReason property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the taxExemptionReason property.

        For example, to add a new item, do as follows:

            getTaxExemptionReason().add(newItem);
         

        Objects of the following type(s) are allowed in the list TaxExemptionReasonType

      • getTierRange

        public TierRangeType getTierRange()
        Gets the value of the tierRange property.
        Returns:
        possible object is TierRangeType
      • setTierRange

        public void setTierRange​(TierRangeType value)
        Sets the value of the tierRange property.
        Parameters:
        value - allowed object is TierRangeType
      • setTierRatePercent

        public void setTierRatePercent​(TierRatePercentType value)
        Sets the value of the tierRatePercent property.
        Parameters:
        value - allowed object is TierRatePercentType
      • getTaxScheme

        public TaxSchemeType getTaxScheme()
        Gets the value of the taxScheme property.
        Returns:
        possible object is TaxSchemeType
      • setTaxScheme

        public void setTaxScheme​(TaxSchemeType value)
        Sets the value of the taxScheme property.
        Parameters:
        value - allowed object is TaxSchemeType