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 AdditionalInfoRequest
Additional tax information associated with your TRN.static TaxRegistrationEntry.Builder
builder()
final String
The email address to receive VAT invoices.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Address
The legal address associated with your TRN.final String
The legal name associated with your TRN.final String
Your tax registration unique identifier.final TaxRegistrationType
Your tax registration type.final String
Your tax registration type.final Sector
sector()
The industry that describes your business.final String
The 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 String
toString()
Returns a string representation of this object.final VerificationDetails
Additional 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
VAT
orGST
.If the service returns an enum value that is not available in the current SDK version,
registrationType
will returnTaxRegistrationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromregistrationTypeAsString()
.- Returns:
- Your tax registration type. This can be either
VAT
orGST
. - See Also:
-
registrationTypeAsString
Your tax registration type. This can be either
VAT
orGST
.If the service returns an enum value that is not available in the current SDK version,
registrationType
will returnTaxRegistrationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromregistrationTypeAsString()
.- Returns:
- Your tax registration type. This can be either
VAT
orGST
. - 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,
sector
will 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,
sector
will 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TaxRegistrationEntry.Builder,
TaxRegistrationEntry> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-