Class TaxRegistrationEntry

    • Method Detail

      • additionalTaxInformation

        public final AdditionalInfoRequest additionalTaxInformation()

        Additional tax information associated with your TRN. You only need to specify this parameter if Amazon Web Services collects any additional information for your country within AdditionalInfoRequest.

        Returns:
        Additional tax information associated with your TRN. You only need to specify this parameter if Amazon Web Services collects any additional information for your country within AdditionalInfoRequest.
      • certifiedEmailId

        public final String certifiedEmailId()

        The email address to receive VAT invoices.

        Returns:
        The email address to receive VAT invoices.
      • legalAddress

        public final Address legalAddress()

        The legal address associated with your TRN.

        If you're setting a TRN in Brazil for the CNPJ tax type, you don't need to specify the legal address.

        For TRNs in other countries and for CPF tax types Brazil, you must specify the legal address.

        Returns:
        The legal address associated with your TRN.

        If you're setting a TRN in Brazil for the CNPJ tax type, you don't need to specify the legal address.

        For TRNs in other countries and for CPF tax types Brazil, you must specify the legal address.

      • legalName

        public final String legalName()

        The legal name associated with your TRN.

        If you're setting a TRN in Brazil, you don't need to specify the legal name. For TRNs in other countries, you must specify the legal name.

        Returns:
        The legal name associated with your TRN.

        If you're setting a TRN in Brazil, you don't need to specify the legal name. For TRNs in other countries, you must specify the legal name.

      • registrationId

        public final String registrationId()

        Your tax registration unique identifier.

        Returns:
        Your tax registration unique identifier.
      • registrationTypeAsString

        public final String registrationTypeAsString()

        Your tax registration type. This can be either VAT or GST.

        If the service returns an enum value that is not available in the current SDK version, registrationType will return TaxRegistrationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from registrationTypeAsString().

        Returns:
        Your tax registration type. This can be either VAT or GST.
        See Also:
        TaxRegistrationType
      • sector

        public final Sector 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.

        If the service returns an enum value that is not available in the current SDK version, sector will return Sector.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sectorAsString().

        Returns:
        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.
        See Also:
        Sector
      • sectorAsString

        public final String sectorAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, sector will return Sector.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sectorAsString().

        Returns:
        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.
        See Also:
        Sector
      • verificationDetails

        public final VerificationDetails verificationDetails()

        Additional details needed to verify your TRN information in Brazil. You only need to specify this parameter when you set a TRN in Brazil that is the CPF tax type.

        Don't specify this parameter to set a TRN in Brazil of the CNPJ tax type or to set a TRN for another country.

        Returns:
        Additional details needed to verify your TRN information in Brazil. You only need to specify this parameter when you set a TRN in Brazil that is the CPF tax type.

        Don't specify this parameter to set a TRN in Brazil of the CNPJ tax type or to set a TRN for another country.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)