Package Avalara.SDK.model.A1099.V2
Class W9FormResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.W9FormResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class W9FormResponse extends Object
W9FormResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classW9FormResponse.CustomTypeAdapterFactory
-
Field Summary
-
Constructor Summary
Constructors Constructor Description W9FormResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description W9FormResponseaccountNumber(String accountNumber)W9FormResponseaddress(String address)W9FormResponsearchived(Boolean archived)W9FormResponsebackupWithholding(Boolean backupWithholding)W9FormResponsebusinessClassification(String businessClassification)W9FormResponsebusinessName(String businessName)W9FormResponsebusinessOther(String businessOther)W9FormResponsecity(String city)W9FormResponsecompanyId(String companyId)W9FormResponsecreatedAt(OffsetDateTime createdAt)W9FormResponsedisplayName(String displayName)W9FormResponseeDeliveryConsentedAt(OffsetDateTime eDeliveryConsentedAt)W9FormResponseemail(String email)W9FormResponseentryStatus(String entryStatus)W9FormResponseentryStatusDate(OffsetDateTime entryStatusDate)booleanequals(Object o)W9FormResponseexemptFatcaCode(String exemptFatcaCode)W9FormResponseexemptPayeeCode(String exemptPayeeCode)W9FormResponseforeignAddress(String foreignAddress)W9FormResponseforeignCountryIndicator(Boolean foreignCountryIndicator)W9FormResponseforeignPartnerOwnerOrBeneficiary(Boolean foreignPartnerOwnerOrBeneficiary)static W9FormResponsefromJson(String jsonString)Create an instance of W9FormResponse given an JSON stringStringgetAccountNumber()The account number associated with the form.StringgetAddress()The address of the individual or entity.BooleangetArchived()Indicates whether the form is archived.BooleangetBackupWithholding()Indicates whether backup withholding applies.StringgetBusinessClassification()The classification of the business.StringgetBusinessName()The name of the business associated with the form.StringgetBusinessOther()The classification description when \"businessClassification\" is \"Other\".StringgetCity()The city of the address.StringgetCompanyId()The ID of the associated company.OffsetDateTimegetCreatedAt()The creation date of the form.StringgetDisplayName()The display name associated with the form.OffsetDateTimegeteDeliveryConsentedAt()The date when e-delivery was consented.StringgetEmail()The email address of the individual associated with the form.StringgetEntryStatus()The form status.OffsetDateTimegetEntryStatusDate()The timestamp for the latest status update.StringgetExemptFatcaCode()The exemption from FATCA reporting code.StringgetExemptPayeeCode()The exempt payee code.StringgetForeignAddress()The foreign address of the individual or entity.BooleangetForeignCountryIndicator()Indicates whether the individual or entity is in a foreign country.BooleangetForeignPartnerOwnerOrBeneficiary()Indicates whether the individual is a foreign partner, owner, or beneficiary.StringgetId()The unique identifier for the form.BooleangetIs1099able()Indicates whether the individual or entity should be issued a 1099 form.StringgetName()The name of the individual or entity associated with the form.StringgetReferenceId()A reference identifier for the form.StringgetSignature()The signature of the form.OffsetDateTimegetSignedDate()The date the form was signed.StringgetState()The state of the address.StringgetTin()The taxpayer identification number (TIN).StringgetTinType()The type of TIN provided.StringgetType()The form type.OffsetDateTimegetUpdatedAt()The last updated date of the form.StringgetZip()The ZIP code of the address.inthashCode()W9FormResponseid(String id)W9FormResponseis1099able(Boolean is1099able)W9FormResponsename(String name)W9FormResponsereferenceId(String referenceId)voidsetAccountNumber(String accountNumber)voidsetAddress(String address)voidsetArchived(Boolean archived)voidsetBackupWithholding(Boolean backupWithholding)voidsetBusinessClassification(String businessClassification)voidsetBusinessName(String businessName)voidsetBusinessOther(String businessOther)voidsetCity(String city)voidsetCompanyId(String companyId)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDisplayName(String displayName)voidseteDeliveryConsentedAt(OffsetDateTime eDeliveryConsentedAt)voidsetEmail(String email)voidsetEntryStatus(String entryStatus)voidsetEntryStatusDate(OffsetDateTime entryStatusDate)voidsetExemptFatcaCode(String exemptFatcaCode)voidsetExemptPayeeCode(String exemptPayeeCode)voidsetForeignAddress(String foreignAddress)voidsetForeignCountryIndicator(Boolean foreignCountryIndicator)voidsetForeignPartnerOwnerOrBeneficiary(Boolean foreignPartnerOwnerOrBeneficiary)voidsetId(String id)voidsetIs1099able(Boolean is1099able)voidsetName(String name)voidsetReferenceId(String referenceId)voidsetSignature(String signature)voidsetSignedDate(OffsetDateTime signedDate)voidsetState(String state)voidsetTin(String tin)voidsetTinType(String tinType)voidsetType(String type)voidsetUpdatedAt(OffsetDateTime updatedAt)voidsetZip(String zip)W9FormResponsesignature(String signature)W9FormResponsesignedDate(OffsetDateTime signedDate)W9FormResponsestate(String state)W9FormResponsetin(String tin)W9FormResponsetinType(String tinType)StringtoJson()Convert an instance of W9FormResponse to an JSON stringStringtoString()W9FormResponsetype(String type)W9FormResponseupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundW9FormResponsezip(String zip)
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_NAME
public static final String SERIALIZED_NAME_BUSINESS_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_CLASSIFICATION
public static final String SERIALIZED_NAME_BUSINESS_CLASSIFICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_OTHER
public static final String SERIALIZED_NAME_BUSINESS_OTHER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FOREIGN_PARTNER_OWNER_OR_BENEFICIARY
public static final String SERIALIZED_NAME_FOREIGN_PARTNER_OWNER_OR_BENEFICIARY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXEMPT_PAYEE_CODE
public static final String SERIALIZED_NAME_EXEMPT_PAYEE_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXEMPT_FATCA_CODE
public static final String SERIALIZED_NAME_EXEMPT_FATCA_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FOREIGN_COUNTRY_INDICATOR
public static final String SERIALIZED_NAME_FOREIGN_COUNTRY_INDICATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS
public static final String SERIALIZED_NAME_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FOREIGN_ADDRESS
public static final String SERIALIZED_NAME_FOREIGN_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CITY
public static final String SERIALIZED_NAME_CITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ZIP
public static final String SERIALIZED_NAME_ZIP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNT_NUMBER
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIN_TYPE
public static final String SERIALIZED_NAME_TIN_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIN
public static final String SERIALIZED_NAME_TIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BACKUP_WITHHOLDING
public static final String SERIALIZED_NAME_BACKUP_WITHHOLDING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS1099ABLE
public static final String SERIALIZED_NAME_IS1099ABLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENTRY_STATUS
public static final String SERIALIZED_NAME_ENTRY_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENTRY_STATUS_DATE
public static final String SERIALIZED_NAME_ENTRY_STATUS_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE_ID
public static final String SERIALIZED_NAME_REFERENCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPANY_ID
public static final String SERIALIZED_NAME_COMPANY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DISPLAY_NAME
public static final String SERIALIZED_NAME_DISPLAY_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ARCHIVED
public static final String SERIALIZED_NAME_ARCHIVED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIGNATURE
public static final String SERIALIZED_NAME_SIGNATURE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIGNED_DATE
public static final String SERIALIZED_NAME_SIGNED_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_E_DELIVERY_CONSENTED_AT
public static final String SERIALIZED_NAME_E_DELIVERY_CONSENTED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public W9FormResponse name(String name)
-
getName
@Nullable public String getName()
The name of the individual or entity associated with the form.- Returns:
- name
-
setName
public void setName(String name)
-
businessName
public W9FormResponse businessName(String businessName)
-
getBusinessName
@Nullable public String getBusinessName()
The name of the business associated with the form.- Returns:
- businessName
-
setBusinessName
public void setBusinessName(String businessName)
-
businessClassification
public W9FormResponse businessClassification(String businessClassification)
-
getBusinessClassification
@Nullable public String getBusinessClassification()
The classification of the business.- Returns:
- businessClassification
-
setBusinessClassification
public void setBusinessClassification(String businessClassification)
-
businessOther
public W9FormResponse businessOther(String businessOther)
-
getBusinessOther
@Nullable public String getBusinessOther()
The classification description when \"businessClassification\" is \"Other\".- Returns:
- businessOther
-
setBusinessOther
public void setBusinessOther(String businessOther)
-
foreignPartnerOwnerOrBeneficiary
public W9FormResponse foreignPartnerOwnerOrBeneficiary(Boolean foreignPartnerOwnerOrBeneficiary)
-
getForeignPartnerOwnerOrBeneficiary
@Nullable public Boolean getForeignPartnerOwnerOrBeneficiary()
Indicates whether the individual is a foreign partner, owner, or beneficiary.- Returns:
- foreignPartnerOwnerOrBeneficiary
-
setForeignPartnerOwnerOrBeneficiary
public void setForeignPartnerOwnerOrBeneficiary(Boolean foreignPartnerOwnerOrBeneficiary)
-
exemptPayeeCode
public W9FormResponse exemptPayeeCode(String exemptPayeeCode)
-
getExemptPayeeCode
@Nullable public String getExemptPayeeCode()
The exempt payee code.- Returns:
- exemptPayeeCode
-
setExemptPayeeCode
public void setExemptPayeeCode(String exemptPayeeCode)
-
exemptFatcaCode
public W9FormResponse exemptFatcaCode(String exemptFatcaCode)
-
getExemptFatcaCode
@Nullable public String getExemptFatcaCode()
The exemption from FATCA reporting code.- Returns:
- exemptFatcaCode
-
setExemptFatcaCode
public void setExemptFatcaCode(String exemptFatcaCode)
-
foreignCountryIndicator
public W9FormResponse foreignCountryIndicator(Boolean foreignCountryIndicator)
-
getForeignCountryIndicator
@Nullable public Boolean getForeignCountryIndicator()
Indicates whether the individual or entity is in a foreign country.- Returns:
- foreignCountryIndicator
-
setForeignCountryIndicator
public void setForeignCountryIndicator(Boolean foreignCountryIndicator)
-
address
public W9FormResponse address(String address)
-
getAddress
@Nullable public String getAddress()
The address of the individual or entity.- Returns:
- address
-
setAddress
public void setAddress(String address)
-
foreignAddress
public W9FormResponse foreignAddress(String foreignAddress)
-
getForeignAddress
@Nullable public String getForeignAddress()
The foreign address of the individual or entity.- Returns:
- foreignAddress
-
setForeignAddress
public void setForeignAddress(String foreignAddress)
-
city
public W9FormResponse city(String city)
-
setCity
public void setCity(String city)
-
state
public W9FormResponse state(String state)
-
setState
public void setState(String state)
-
zip
public W9FormResponse zip(String zip)
-
setZip
public void setZip(String zip)
-
accountNumber
public W9FormResponse accountNumber(String accountNumber)
-
getAccountNumber
@Nullable public String getAccountNumber()
The account number associated with the form.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
tinType
public W9FormResponse tinType(String tinType)
-
setTinType
public void setTinType(String tinType)
-
tin
public W9FormResponse tin(String tin)
-
setTin
public void setTin(String tin)
-
backupWithholding
public W9FormResponse backupWithholding(Boolean backupWithholding)
-
getBackupWithholding
@Nullable public Boolean getBackupWithholding()
Indicates whether backup withholding applies.- Returns:
- backupWithholding
-
setBackupWithholding
public void setBackupWithholding(Boolean backupWithholding)
-
is1099able
public W9FormResponse is1099able(Boolean is1099able)
-
getIs1099able
@Nullable public Boolean getIs1099able()
Indicates whether the individual or entity should be issued a 1099 form.- Returns:
- is1099able
-
setIs1099able
public void setIs1099able(Boolean is1099able)
-
id
public W9FormResponse id(String id)
-
setId
public void setId(String id)
-
type
public W9FormResponse type(String type)
-
setType
public void setType(String type)
-
entryStatus
public W9FormResponse entryStatus(String entryStatus)
-
setEntryStatus
public void setEntryStatus(String entryStatus)
-
entryStatusDate
public W9FormResponse entryStatusDate(OffsetDateTime entryStatusDate)
-
getEntryStatusDate
@Nullable public OffsetDateTime getEntryStatusDate()
The timestamp for the latest status update.- Returns:
- entryStatusDate
-
setEntryStatusDate
public void setEntryStatusDate(OffsetDateTime entryStatusDate)
-
referenceId
public W9FormResponse referenceId(String referenceId)
-
getReferenceId
@Nullable public String getReferenceId()
A reference identifier for the form.- Returns:
- referenceId
-
setReferenceId
public void setReferenceId(String referenceId)
-
companyId
public W9FormResponse companyId(String companyId)
-
getCompanyId
@Nullable public String getCompanyId()
The ID of the associated company.- Returns:
- companyId
-
setCompanyId
public void setCompanyId(String companyId)
-
displayName
public W9FormResponse displayName(String displayName)
-
getDisplayName
@Nullable public String getDisplayName()
The display name associated with the form.- Returns:
- displayName
-
setDisplayName
public void setDisplayName(String displayName)
-
email
public W9FormResponse email(String email)
-
getEmail
@Nullable public String getEmail()
The email address of the individual associated with the form.- Returns:
-
setEmail
public void setEmail(String email)
-
archived
public W9FormResponse archived(Boolean archived)
-
getArchived
@Nullable public Boolean getArchived()
Indicates whether the form is archived.- Returns:
- archived
-
setArchived
public void setArchived(Boolean archived)
-
signature
public W9FormResponse signature(String signature)
-
setSignature
public void setSignature(String signature)
-
signedDate
public W9FormResponse signedDate(OffsetDateTime signedDate)
-
getSignedDate
@Nullable public OffsetDateTime getSignedDate()
The date the form was signed.- Returns:
- signedDate
-
setSignedDate
public void setSignedDate(OffsetDateTime signedDate)
-
eDeliveryConsentedAt
public W9FormResponse eDeliveryConsentedAt(OffsetDateTime eDeliveryConsentedAt)
-
geteDeliveryConsentedAt
@Nullable public OffsetDateTime geteDeliveryConsentedAt()
The date when e-delivery was consented.- Returns:
- eDeliveryConsentedAt
-
seteDeliveryConsentedAt
public void seteDeliveryConsentedAt(OffsetDateTime eDeliveryConsentedAt)
-
createdAt
public W9FormResponse createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
The creation date of the form.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public W9FormResponse updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
The last updated date of the form.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to W9FormResponse
-
fromJson
public static W9FormResponse fromJson(String jsonString) throws IOException
Create an instance of W9FormResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of W9FormResponse
- Throws:
IOException- if the JSON string is invalid with respect to W9FormResponse
-
toJson
public String toJson()
Convert an instance of W9FormResponse to an JSON string- Returns:
- JSON string
-
-