Class TaxRegistrationEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaxRegistrationEntry.Builder,TaxRegistrationEntry>
The TRN information you provide when you add a new TRN, or update.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AdditionalInfoRequestAdditional tax information associated with your TRN.static TaxRegistrationEntry.Builderbuilder()final StringThe email address to receive VAT invoices.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final AddressThe legal address associated with your TRN.final StringThe legal name associated with your TRN.final StringYour tax registration unique identifier.final TaxRegistrationTypeYour tax registration type.final StringYour tax registration type.final Sectorsector()The industry that describes your business.final StringThe industry that describes your business.static Class<? extends TaxRegistrationEntry.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final VerificationDetailsAdditional details needed to verify your TRN information in Brazil.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
The email address to receive VAT invoices.
- Returns:
- The email address to receive VAT invoices.
-
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
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
Your tax registration unique identifier.
- Returns:
- Your tax registration unique identifier.
-
registrationType
Your tax registration type. This can be either
VATorGST.If the service returns an enum value that is not available in the current SDK version,
registrationTypewill returnTaxRegistrationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregistrationTypeAsString().- Returns:
- Your tax registration type. This can be either
VATorGST. - See Also:
-
registrationTypeAsString
Your tax registration type. This can be either
VATorGST.If the service returns an enum value that is not available in the current SDK version,
registrationTypewill returnTaxRegistrationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregistrationTypeAsString().- Returns:
- Your tax registration type. This can be either
VATorGST. - 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.
If the service returns an enum value that is not available in the current SDK version,
sectorwill returnSector.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsectorAsString().- 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:
-
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,
sectorwill returnSector.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsectorAsString().- 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:
-
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.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TaxRegistrationEntry.Builder,TaxRegistrationEntry> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-