Class TaxRegistrationEntry
- java.lang.Object
-
- software.amazon.awssdk.services.taxsettings.model.TaxRegistrationEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaxRegistrationEntry.Builder,TaxRegistrationEntry>
@Generated("software.amazon.awssdk:codegen") public final class TaxRegistrationEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaxRegistrationEntry.Builder,TaxRegistrationEntry>
The TRN information you provide when you add a new TRN, or update.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTaxRegistrationEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalInfoRequestadditionalTaxInformation()Additional tax information associated with your TRN.static TaxRegistrationEntry.Builderbuilder()StringcertifiedEmailId()The email address to receive VAT invoices.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AddresslegalAddress()The legal address associated with your TRN.StringlegalName()The legal name associated with your TRN.StringregistrationId()Your tax registration unique identifier.TaxRegistrationTyperegistrationType()Your tax registration type.StringregistrationTypeAsString()Your tax registration type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()Sectorsector()The industry that describes your business.StringsectorAsString()The industry that describes your business.static Class<? extends TaxRegistrationEntry.Builder>serializableBuilderClass()TaxRegistrationEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.VerificationDetailsverificationDetails()Additional details needed to verify your TRN information in Brazil.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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.
-
registrationType
public final TaxRegistrationType 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:
TaxRegistrationType
-
registrationTypeAsString
public final String 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:
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,
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:
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,
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:
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.
-
toBuilder
public TaxRegistrationEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TaxRegistrationEntry.Builder,TaxRegistrationEntry>
-
builder
public static TaxRegistrationEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaxRegistrationEntry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-