Class TaxTotalType


  • public class TaxTotalType
    extends Object

    Java class for TaxTotalType complex type.

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

     <complexType name="TaxTotalType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxAmount"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RoundingAmount" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxEvidenceIndicator" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxIncludedIndicator" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxSubtotal" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TaxTotalType

        public TaxTotalType()
    • Method Detail

      • getTaxAmount

        public TaxAmountType getTaxAmount()
        Gets the value of the taxAmount property.
        Returns:
        possible object is TaxAmountType
      • setTaxAmount

        public void setTaxAmount​(TaxAmountType value)
        Sets the value of the taxAmount property.
        Parameters:
        value - allowed object is TaxAmountType
      • setRoundingAmount

        public void setRoundingAmount​(RoundingAmountType value)
        Sets the value of the roundingAmount property.
        Parameters:
        value - allowed object is RoundingAmountType
      • getTaxSubtotal

        public List<TaxSubtotalType> getTaxSubtotal()
        Gets the value of the taxSubtotal 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 taxSubtotal property.

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

            getTaxSubtotal().add(newItem);
         

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