Interface TaxRegistration.Builder

  • Method Details

    • additionalTaxInformation

      TaxRegistration.Builder additionalTaxInformation(AdditionalInfoResponse additionalTaxInformation)

      Additional tax information associated with your TRN.

      Parameters:
      additionalTaxInformation - Additional tax information associated with your TRN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalTaxInformation

      default TaxRegistration.Builder additionalTaxInformation(Consumer<AdditionalInfoResponse.Builder> additionalTaxInformation)

      Additional tax information associated with your TRN.

      This is a convenience method that creates an instance of the AdditionalInfoResponse.Builder avoiding the need to create one manually via AdditionalInfoResponse.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to additionalTaxInformation(AdditionalInfoResponse).

      Parameters:
      additionalTaxInformation - a consumer that will call methods on AdditionalInfoResponse.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certifiedEmailId

      TaxRegistration.Builder certifiedEmailId(String certifiedEmailId)

      The email address to receive VAT invoices.

      Parameters:
      certifiedEmailId - The email address to receive VAT invoices.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • legalAddress

      TaxRegistration.Builder legalAddress(Address legalAddress)

      The legal address associated with your TRN registration.

      Parameters:
      legalAddress - The legal address associated with your TRN registration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • legalAddress

      default TaxRegistration.Builder legalAddress(Consumer<Address.Builder> legalAddress)

      The legal address associated with your TRN registration.

      This is a convenience method that creates an instance of the Address.Builder avoiding the need to create one manually via Address.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to legalAddress(Address).

      Parameters:
      legalAddress - a consumer that will call methods on Address.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • legalName

      TaxRegistration.Builder legalName(String legalName)

      The legal name associated with your TRN registration.

      Parameters:
      legalName - The legal name associated with your TRN registration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationId

      TaxRegistration.Builder registrationId(String registrationId)

      Your tax registration unique identifier.

      Parameters:
      registrationId - Your tax registration unique identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationType

      TaxRegistration.Builder registrationType(String registrationType)

      Type of your tax registration.

      Parameters:
      registrationType - Type of your tax registration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • registrationType

      TaxRegistration.Builder registrationType(TaxRegistrationType registrationType)

      Type of your tax registration.

      Parameters:
      registrationType - Type of your tax registration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sector

      The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government. Note that certain values may not applicable for the request country. Please refer to country specific information in API document.

      Parameters:
      sector - The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government. Note that certain values may not applicable for the request country. Please refer to country specific information in API document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sector

      The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government. Note that certain values may not applicable for the request country. Please refer to country specific information in API document.

      Parameters:
      sector - The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government. Note that certain values may not applicable for the request country. Please refer to country specific information in API document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of your TRN. This can be either Verified, Pending, Deleted, or Rejected.

      Parameters:
      status - The status of your TRN. This can be either Verified, Pending, Deleted, or Rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of your TRN. This can be either Verified, Pending, Deleted, or Rejected.

      Parameters:
      status - The status of your TRN. This can be either Verified, Pending, Deleted, or Rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • taxDocumentMetadatas

      TaxRegistration.Builder taxDocumentMetadatas(Collection<TaxDocumentMetadata> taxDocumentMetadatas)

      The metadata for your tax document.

      Parameters:
      taxDocumentMetadatas - The metadata for your tax document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taxDocumentMetadatas

      TaxRegistration.Builder taxDocumentMetadatas(TaxDocumentMetadata... taxDocumentMetadatas)

      The metadata for your tax document.

      Parameters:
      taxDocumentMetadatas - The metadata for your tax document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taxDocumentMetadatas

      TaxRegistration.Builder taxDocumentMetadatas(Consumer<TaxDocumentMetadata.Builder>... taxDocumentMetadatas)

      The metadata for your tax document.

      This is a convenience method that creates an instance of the TaxDocumentMetadata.Builder avoiding the need to create one manually via TaxDocumentMetadata.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taxDocumentMetadatas(List<TaxDocumentMetadata>).

      Parameters:
      taxDocumentMetadatas - a consumer that will call methods on TaxDocumentMetadata.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: