Interface TaxRegistration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TaxRegistration.Builder,TaxRegistration>,SdkBuilder<TaxRegistration.Builder,TaxRegistration>,SdkPojo
- Enclosing class:
- TaxRegistration
public static interface TaxRegistration.Builder extends SdkPojo, CopyableBuilder<TaxRegistration.Builder,TaxRegistration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TaxRegistration.BuilderadditionalTaxInformation(Consumer<AdditionalInfoResponse.Builder> additionalTaxInformation)Additional tax information associated with your TRN.TaxRegistration.BuilderadditionalTaxInformation(AdditionalInfoResponse additionalTaxInformation)Additional tax information associated with your TRN.TaxRegistration.BuildercertifiedEmailId(String certifiedEmailId)The email address to receive VAT invoices.default TaxRegistration.BuilderlegalAddress(Consumer<Address.Builder> legalAddress)The legal address associated with your TRN registration.TaxRegistration.BuilderlegalAddress(Address legalAddress)The legal address associated with your TRN registration.TaxRegistration.BuilderlegalName(String legalName)The legal name associated with your TRN registration.TaxRegistration.BuilderregistrationId(String registrationId)Your tax registration unique identifier.TaxRegistration.BuilderregistrationType(String registrationType)Type of your tax registration.TaxRegistration.BuilderregistrationType(TaxRegistrationType registrationType)Type of your tax registration.TaxRegistration.Buildersector(String sector)The industry that describes your business.TaxRegistration.Buildersector(Sector sector)The industry that describes your business.TaxRegistration.Builderstatus(String status)The status of your TRN.TaxRegistration.Builderstatus(TaxRegistrationStatus status)The status of your TRN.TaxRegistration.BuildertaxDocumentMetadatas(Collection<TaxDocumentMetadata> taxDocumentMetadatas)The metadata for your tax document.TaxRegistration.BuildertaxDocumentMetadatas(Consumer<TaxDocumentMetadata.Builder>... taxDocumentMetadatas)The metadata for your tax document.TaxRegistration.BuildertaxDocumentMetadatas(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 Detail
-
additionalTaxInformation
TaxRegistration.Builder additionalTaxInformation(AdditionalInfoResponse 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.Builderavoiding the need to create one manually viaAdditionalInfoResponse.builder().When the
Consumercompletes,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:
additionalTaxInformation(AdditionalInfoResponse)
-
certifiedEmailId
TaxRegistration.Builder certifiedEmailId(String 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
TaxRegistration.Builder legalAddress(Address 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
default TaxRegistration.Builder legalAddress(Consumer<Address.Builder> legalAddress)
The legal address associated with your TRN registration.
This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,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:
legalAddress(Address)
-
legalName
TaxRegistration.Builder legalName(String 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
TaxRegistration.Builder registrationId(String 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
TaxRegistration.Builder registrationType(String registrationType)
Type of your tax registration. This can be either
VATorGST.- Parameters:
registrationType- Type of your tax registration. This can be eitherVATorGST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaxRegistrationType,TaxRegistrationType
-
registrationType
TaxRegistration.Builder registrationType(TaxRegistrationType registrationType)
Type of your tax registration. This can be either
VATorGST.- Parameters:
registrationType- Type of your tax registration. This can be eitherVATorGST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaxRegistrationType,TaxRegistrationType
-
sector
TaxRegistration.Builder sector(String 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,Sector
-
sector
TaxRegistration.Builder sector(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.
- 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,Sector
-
status
TaxRegistration.Builder status(String 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:
TaxRegistrationStatus,TaxRegistrationStatus
-
status
TaxRegistration.Builder status(TaxRegistrationStatus 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:
TaxRegistrationStatus,TaxRegistrationStatus
-
taxDocumentMetadatas
TaxRegistration.Builder taxDocumentMetadatas(Collection<TaxDocumentMetadata> 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(TaxDocumentMetadata... 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.Builderavoiding the need to create one manually viaTaxDocumentMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#taxDocumentMetadatas(List.) - 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:
#taxDocumentMetadatas(java.util.Collection)
-
-