Interface TaxRegistration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TaxRegistration.Builder,
,TaxRegistration> SdkBuilder<TaxRegistration.Builder,
,TaxRegistration> SdkPojo
- Enclosing class:
TaxRegistration
-
Method Summary
Modifier and TypeMethodDescriptiondefault TaxRegistration.Builder
additionalTaxInformation
(Consumer<AdditionalInfoResponse.Builder> additionalTaxInformation) Additional tax information associated with your TRN.additionalTaxInformation
(AdditionalInfoResponse additionalTaxInformation) Additional tax information associated with your TRN.certifiedEmailId
(String certifiedEmailId) The email address to receive VAT invoices.default TaxRegistration.Builder
legalAddress
(Consumer<Address.Builder> legalAddress) The legal address associated with your TRN registration.legalAddress
(Address legalAddress) The legal address associated with your TRN registration.The legal name associated with your TRN registration.registrationId
(String registrationId) Your tax registration unique identifier.registrationType
(String registrationType) Type of your tax registration.registrationType
(TaxRegistrationType registrationType) Type of your tax registration.The industry that describes your business.The industry that describes your business.The status of your TRN.status
(TaxRegistrationStatus status) The status of your TRN.taxDocumentMetadatas
(Collection<TaxDocumentMetadata> taxDocumentMetadatas) The metadata for your tax document.taxDocumentMetadatas
(Consumer<TaxDocumentMetadata.Builder>... taxDocumentMetadatas) The metadata for your tax document.taxDocumentMetadatas
(TaxDocumentMetadata... taxDocumentMetadatas) The metadata for your tax document.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
additionalTaxInformation
Additional tax information associated with your TRN.
- Parameters:
additionalTaxInformation
- Additional tax information associated with your TRN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalTaxInformation
default TaxRegistration.Builder additionalTaxInformation(Consumer<AdditionalInfoResponse.Builder> additionalTaxInformation) Additional tax information associated with your TRN.
This is a convenience method that creates an instance of theAdditionalInfoResponse.Builder
avoiding the need to create one manually viaAdditionalInfoResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadditionalTaxInformation(AdditionalInfoResponse)
.- Parameters:
additionalTaxInformation
- a consumer that will call methods onAdditionalInfoResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certifiedEmailId
The email address to receive VAT invoices.
- Parameters:
certifiedEmailId
- The email address to receive VAT invoices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalAddress
The legal address associated with your TRN registration.
- Parameters:
legalAddress
- The legal address associated with your TRN registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalAddress
The legal address associated with your TRN registration.
This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolegalAddress(Address)
.- Parameters:
legalAddress
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
legalName
The legal name associated with your TRN registration.
- Parameters:
legalName
- The legal name associated with your TRN registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationId
Your tax registration unique identifier.
- Parameters:
registrationId
- Your tax registration unique identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationType
Type of your tax registration.
- Parameters:
registrationType
- Type of your tax registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
registrationType
Type of your tax registration.
- Parameters:
registrationType
- Type of your tax registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of your TRN. This can be either
Verified
,Pending
,Deleted
, orRejected
.- Parameters:
status
- The status of your TRN. This can be eitherVerified
,Pending
,Deleted
, orRejected
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of your TRN. This can be either
Verified
,Pending
,Deleted
, orRejected
.- Parameters:
status
- The status of your TRN. This can be eitherVerified
,Pending
,Deleted
, orRejected
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taxDocumentMetadatas
The metadata for your tax document.
- Parameters:
taxDocumentMetadatas
- The metadata for your tax document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxDocumentMetadatas
The metadata for your tax document.
- Parameters:
taxDocumentMetadatas
- The metadata for your tax document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxDocumentMetadatas
TaxRegistration.Builder taxDocumentMetadatas(Consumer<TaxDocumentMetadata.Builder>... taxDocumentMetadatas) The metadata for your tax document.
This is a convenience method that creates an instance of theTaxDocumentMetadata.Builder
avoiding the need to create one manually viaTaxDocumentMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaxDocumentMetadatas(List<TaxDocumentMetadata>)
.- Parameters:
taxDocumentMetadatas
- a consumer that will call methods onTaxDocumentMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-