Class PartyTaxSchemeType


  • public class PartyTaxSchemeType
    extends Object

    Java class for PartyTaxSchemeType complex type.

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

     <complexType name="PartyTaxSchemeType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RegistrationName" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CompanyID" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxLevelCode" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ExemptionReasonCode" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ExemptionReason" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}RegistrationAddress" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxScheme"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • PartyTaxSchemeType

        public PartyTaxSchemeType()
    • Method Detail

      • getCompanyID

        public CompanyIDType getCompanyID()
        Gets the value of the companyID property.
        Returns:
        possible object is CompanyIDType
      • setCompanyID

        public void setCompanyID​(CompanyIDType value)
        Sets the value of the companyID property.
        Parameters:
        value - allowed object is CompanyIDType
      • setTaxLevelCode

        public void setTaxLevelCode​(TaxLevelCodeType value)
        Sets the value of the taxLevelCode property.
        Parameters:
        value - allowed object is TaxLevelCodeType
      • getExemptionReason

        public List<ExemptionReasonType> getExemptionReason()
        Gets the value of the exemptionReason 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 exemptionReason property.

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

            getExemptionReason().add(newItem);
         

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

      • getRegistrationAddress

        public AddressType getRegistrationAddress()
        Gets the value of the registrationAddress property.
        Returns:
        possible object is AddressType
      • setRegistrationAddress

        public void setRegistrationAddress​(AddressType value)
        Sets the value of the registrationAddress property.
        Parameters:
        value - allowed object is AddressType
      • 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