Interface TaxRegistration.Builder

  • Method Details

    • countryCode

      TaxRegistration.Builder countryCode(String countryCode)

      The ISO 3166-1 alpha-2 country code.

      Parameters:
      countryCode - The ISO 3166-1 alpha-2 country code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state or province code (for example, "NY" or "CA"). Required for US and CA.

      Parameters:
      state - The state or province code (for example, "NY" or "CA"). Required for US and CA.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectionType

      TaxRegistration.Builder collectionType(String collectionType)

      The country-specific collection type (for example, "state_sales_tax", "standard", or "simplified").

      Parameters:
      collectionType - The country-specific collection type (for example, "state_sales_tax", "standard", or "simplified").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationType

      TaxRegistration.Builder registrationType(String registrationType)

      Which tax this registration is for, or which entity identifier it carries (for example SALES_USE for a US state, VAT or GST elsewhere, FEDERAL_EIN for a US employer identification number). Optional.

      Parameters:
      registrationType - Which tax this registration is for, or which entity identifier it carries (for example SALES_USE for a US state, VAT or GST elsewhere, FEDERAL_EIN for a US employer identification number). Optional.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • registrationType

      TaxRegistration.Builder registrationType(TaxRegistrationType registrationType)

      Which tax this registration is for, or which entity identifier it carries (for example SALES_USE for a US state, VAT or GST elsewhere, FEDERAL_EIN for a US employer identification number). Optional.

      Parameters:
      registrationType - Which tax this registration is for, or which entity identifier it carries (for example SALES_USE for a US state, VAT or GST elsewhere, FEDERAL_EIN for a US employer identification number). Optional.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • registrationId

      TaxRegistration.Builder registrationId(String registrationId)

      The tax ID issued for this registration (permit number or tax registration number). Optional.

      Parameters:
      registrationId - The tax ID issued for this registration (permit number or tax registration number). Optional.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locality

      TaxRegistration.Builder locality(String locality)

      Jurisdiction below the state, as a code rather than a name: a FIPS code in the US, an IBGE code in Brazil. Requires state. Optional.

      Parameters:
      locality - Jurisdiction below the state, as a code rather than a name: a FIPS code in the US, an IBGE code in Brazil. Requires state. Optional.
      Returns:
      Returns a reference to this object so that method calls can be chained together.