Interface TaxDocumentMetadata.Builder

  • Method Details

    • taxDocumentAccessToken

      TaxDocumentMetadata.Builder taxDocumentAccessToken(String taxDocumentAccessToken)

      The tax document access token, which contains information that the Tax Settings API uses to locate the tax document.

      If you update your tax registration, the existing taxDocumentAccessToken won't be valid. To get the latest token, call the GetTaxRegistration or ListTaxRegistrations API operation. This token is valid for 24 hours.

      Parameters:
      taxDocumentAccessToken - The tax document access token, which contains information that the Tax Settings API uses to locate the tax document.

      If you update your tax registration, the existing taxDocumentAccessToken won't be valid. To get the latest token, call the GetTaxRegistration or ListTaxRegistrations API operation. This token is valid for 24 hours.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taxDocumentName

      TaxDocumentMetadata.Builder taxDocumentName(String taxDocumentName)

      The name of your tax document.

      Parameters:
      taxDocumentName - The name of your tax document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.