@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaxDocumentMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The metadata for your tax document.
| Constructor and Description |
|---|
TaxDocumentMetadata() |
| Modifier and Type | Method and Description |
|---|---|
TaxDocumentMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getTaxDocumentAccessToken()
The tax document access token, which contains information that the Tax Settings API uses to locate the tax
document.
|
String |
getTaxDocumentName()
The name of your tax document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTaxDocumentAccessToken(String taxDocumentAccessToken)
The tax document access token, which contains information that the Tax Settings API uses to locate the tax
document.
|
void |
setTaxDocumentName(String taxDocumentName)
The name of your tax document.
|
String |
toString()
Returns a string representation of this object.
|
TaxDocumentMetadata |
withTaxDocumentAccessToken(String taxDocumentAccessToken)
The tax document access token, which contains information that the Tax Settings API uses to locate the tax
document.
|
TaxDocumentMetadata |
withTaxDocumentName(String taxDocumentName)
The name of your tax document.
|
public void setTaxDocumentAccessToken(String taxDocumentAccessToken)
The tax document access token, which contains information that the Tax Settings API uses to locate the tax document.
If you update your tax registration, the existing taxDocumentAccessToken won't be valid. To get the
latest token, call the GetTaxRegistration or ListTaxRegistrations API operation. This
token is valid for 24 hours.
taxDocumentAccessToken - The tax document access token, which contains information that the Tax Settings API uses to locate the tax
document.
If you update your tax registration, the existing taxDocumentAccessToken won't be valid. To
get the latest token, call the GetTaxRegistration or ListTaxRegistrations API
operation. This token is valid for 24 hours.
public String getTaxDocumentAccessToken()
The tax document access token, which contains information that the Tax Settings API uses to locate the tax document.
If you update your tax registration, the existing taxDocumentAccessToken won't be valid. To get the
latest token, call the GetTaxRegistration or ListTaxRegistrations API operation. This
token is valid for 24 hours.
If you update your tax registration, the existing taxDocumentAccessToken won't be valid. To
get the latest token, call the GetTaxRegistration or ListTaxRegistrations API
operation. This token is valid for 24 hours.
public TaxDocumentMetadata withTaxDocumentAccessToken(String taxDocumentAccessToken)
The tax document access token, which contains information that the Tax Settings API uses to locate the tax document.
If you update your tax registration, the existing taxDocumentAccessToken won't be valid. To get the
latest token, call the GetTaxRegistration or ListTaxRegistrations API operation. This
token is valid for 24 hours.
taxDocumentAccessToken - The tax document access token, which contains information that the Tax Settings API uses to locate the tax
document.
If you update your tax registration, the existing taxDocumentAccessToken won't be valid. To
get the latest token, call the GetTaxRegistration or ListTaxRegistrations API
operation. This token is valid for 24 hours.
public void setTaxDocumentName(String taxDocumentName)
The name of your tax document.
taxDocumentName - The name of your tax document.public String getTaxDocumentName()
The name of your tax document.
public TaxDocumentMetadata withTaxDocumentName(String taxDocumentName)
The name of your tax document.
taxDocumentName - The name of your tax document.public String toString()
toString in class ObjectObject.toString()public TaxDocumentMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.