@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaxRegistration extends Object implements Serializable, Cloneable, StructuredPojo
Your TRN information.
| Constructor and Description |
|---|
TaxRegistration() |
| Modifier and Type | Method and Description |
|---|---|
TaxRegistration |
clone() |
boolean |
equals(Object obj) |
AdditionalInfoResponse |
getAdditionalTaxInformation()
Additional tax information associated with your TRN.
|
String |
getCertifiedEmailId()
The email address to receive VAT invoices.
|
Address |
getLegalAddress()
The legal address associated with your TRN registration.
|
String |
getLegalName()
The legal name associated with your TRN registration.
|
String |
getRegistrationId()
Your tax registration unique identifier.
|
String |
getRegistrationType()
Type of your tax registration.
|
String |
getSector()
The industry that describes your business.
|
String |
getStatus()
The status of your TRN.
|
List<TaxDocumentMetadata> |
getTaxDocumentMetadatas()
The metadata for your tax document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdditionalTaxInformation(AdditionalInfoResponse additionalTaxInformation)
Additional tax information associated with your TRN.
|
void |
setCertifiedEmailId(String certifiedEmailId)
The email address to receive VAT invoices.
|
void |
setLegalAddress(Address legalAddress)
The legal address associated with your TRN registration.
|
void |
setLegalName(String legalName)
The legal name associated with your TRN registration.
|
void |
setRegistrationId(String registrationId)
Your tax registration unique identifier.
|
void |
setRegistrationType(String registrationType)
Type of your tax registration.
|
void |
setSector(String sector)
The industry that describes your business.
|
void |
setStatus(String status)
The status of your TRN.
|
void |
setTaxDocumentMetadatas(Collection<TaxDocumentMetadata> taxDocumentMetadatas)
The metadata for your tax document.
|
String |
toString()
Returns a string representation of this object.
|
TaxRegistration |
withAdditionalTaxInformation(AdditionalInfoResponse additionalTaxInformation)
Additional tax information associated with your TRN.
|
TaxRegistration |
withCertifiedEmailId(String certifiedEmailId)
The email address to receive VAT invoices.
|
TaxRegistration |
withLegalAddress(Address legalAddress)
The legal address associated with your TRN registration.
|
TaxRegistration |
withLegalName(String legalName)
The legal name associated with your TRN registration.
|
TaxRegistration |
withRegistrationId(String registrationId)
Your tax registration unique identifier.
|
TaxRegistration |
withRegistrationType(String registrationType)
Type of your tax registration.
|
TaxRegistration |
withRegistrationType(TaxRegistrationType registrationType)
Type of your tax registration.
|
TaxRegistration |
withSector(Sector sector)
The industry that describes your business.
|
TaxRegistration |
withSector(String sector)
The industry that describes your business.
|
TaxRegistration |
withStatus(String status)
The status of your TRN.
|
TaxRegistration |
withStatus(TaxRegistrationStatus status)
The status of your TRN.
|
TaxRegistration |
withTaxDocumentMetadatas(Collection<TaxDocumentMetadata> taxDocumentMetadatas)
The metadata for your tax document.
|
TaxRegistration |
withTaxDocumentMetadatas(TaxDocumentMetadata... taxDocumentMetadatas)
The metadata for your tax document.
|
public void setAdditionalTaxInformation(AdditionalInfoResponse additionalTaxInformation)
Additional tax information associated with your TRN.
additionalTaxInformation - Additional tax information associated with your TRN.public AdditionalInfoResponse getAdditionalTaxInformation()
Additional tax information associated with your TRN.
public TaxRegistration withAdditionalTaxInformation(AdditionalInfoResponse additionalTaxInformation)
Additional tax information associated with your TRN.
additionalTaxInformation - Additional tax information associated with your TRN.public void setCertifiedEmailId(String certifiedEmailId)
The email address to receive VAT invoices.
certifiedEmailId - The email address to receive VAT invoices.public String getCertifiedEmailId()
The email address to receive VAT invoices.
public TaxRegistration withCertifiedEmailId(String certifiedEmailId)
The email address to receive VAT invoices.
certifiedEmailId - The email address to receive VAT invoices.public void setLegalAddress(Address legalAddress)
The legal address associated with your TRN registration.
legalAddress - The legal address associated with your TRN registration.public Address getLegalAddress()
The legal address associated with your TRN registration.
public TaxRegistration withLegalAddress(Address legalAddress)
The legal address associated with your TRN registration.
legalAddress - The legal address associated with your TRN registration.public void setLegalName(String legalName)
The legal name associated with your TRN registration.
legalName - The legal name associated with your TRN registration.public String getLegalName()
The legal name associated with your TRN registration.
public TaxRegistration withLegalName(String legalName)
The legal name associated with your TRN registration.
legalName - The legal name associated with your TRN registration.public void setRegistrationId(String registrationId)
Your tax registration unique identifier.
registrationId - Your tax registration unique identifier.public String getRegistrationId()
Your tax registration unique identifier.
public TaxRegistration withRegistrationId(String registrationId)
Your tax registration unique identifier.
registrationId - Your tax registration unique identifier.public void setRegistrationType(String registrationType)
Type of your tax registration. This can be either VAT or GST.
registrationType - Type of your tax registration. This can be either VAT or GST.TaxRegistrationTypepublic String getRegistrationType()
Type of your tax registration. This can be either VAT or GST.
VAT or GST.TaxRegistrationTypepublic TaxRegistration withRegistrationType(String registrationType)
Type of your tax registration. This can be either VAT or GST.
registrationType - Type of your tax registration. This can be either VAT or GST.TaxRegistrationTypepublic TaxRegistration withRegistrationType(TaxRegistrationType registrationType)
Type of your tax registration. This can be either VAT or GST.
registrationType - Type of your tax registration. This can be either VAT or GST.TaxRegistrationTypepublic void setSector(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.
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.Sectorpublic String getSector()
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.
Sectorpublic TaxRegistration withSector(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.
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.Sectorpublic TaxRegistration withSector(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.
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.Sectorpublic void setStatus(String status)
The status of your TRN. This can be either Verified, Pending, Deleted, or
Rejected.
status - The status of your TRN. This can be either Verified, Pending,
Deleted, or Rejected.TaxRegistrationStatuspublic String getStatus()
The status of your TRN. This can be either Verified, Pending, Deleted, or
Rejected.
Verified, Pending,
Deleted, or Rejected.TaxRegistrationStatuspublic TaxRegistration withStatus(String status)
The status of your TRN. This can be either Verified, Pending, Deleted, or
Rejected.
status - The status of your TRN. This can be either Verified, Pending,
Deleted, or Rejected.TaxRegistrationStatuspublic TaxRegistration withStatus(TaxRegistrationStatus status)
The status of your TRN. This can be either Verified, Pending, Deleted, or
Rejected.
status - The status of your TRN. This can be either Verified, Pending,
Deleted, or Rejected.TaxRegistrationStatuspublic List<TaxDocumentMetadata> getTaxDocumentMetadatas()
The metadata for your tax document.
public void setTaxDocumentMetadatas(Collection<TaxDocumentMetadata> taxDocumentMetadatas)
The metadata for your tax document.
taxDocumentMetadatas - The metadata for your tax document.public TaxRegistration withTaxDocumentMetadatas(TaxDocumentMetadata... taxDocumentMetadatas)
The metadata for your tax document.
NOTE: This method appends the values to the existing list (if any). Use
setTaxDocumentMetadatas(java.util.Collection) or withTaxDocumentMetadatas(java.util.Collection)
if you want to override the existing values.
taxDocumentMetadatas - The metadata for your tax document.public TaxRegistration withTaxDocumentMetadatas(Collection<TaxDocumentMetadata> taxDocumentMetadatas)
The metadata for your tax document.
taxDocumentMetadatas - The metadata for your tax document.public String toString()
toString in class ObjectObject.toString()public TaxRegistration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.