Package Avalara.SDK.model.A1099.V2
Class W9FormBaseResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.W9FormBaseResponse
-
- Direct Known Subclasses:
W4FormResponse,W8BenEFormResponse,W8BenFormResponse,W8ImyFormResponse,W9FormResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class W9FormBaseResponse extends Object
W9FormBaseResponse
-
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ANCESTOR_IDstatic StringSERIALIZED_NAME_ARCHIVEDstatic StringSERIALIZED_NAME_COMPANY_IDstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DISPLAY_NAMEstatic StringSERIALIZED_NAME_E_DELIVERY_CONSENTED_ATstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_ENTRY_STATUSstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_REFERENCE_IDstatic StringSERIALIZED_NAME_SIGNATUREstatic StringSERIALIZED_NAME_SIGNED_DATEstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_UPDATED_ATprotected Stringtype
-
Constructor Summary
Constructors Constructor Description W9FormBaseResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description W9FormBaseResponseancestorId(String ancestorId)W9FormBaseResponsearchived(Boolean archived)W9FormBaseResponsecompanyId(String companyId)W9FormBaseResponsecreatedAt(OffsetDateTime createdAt)W9FormBaseResponsedisplayName(String displayName)W9FormBaseResponseeDeliveryConsentedAt(OffsetDateTime eDeliveryConsentedAt)W9FormBaseResponseemail(String email)W9FormBaseResponseentryStatus(EntryStatusResponse entryStatus)booleanequals(Object o)static W9FormBaseResponsefromJson(String jsonString)Create an instance of W9FormBaseResponse given an JSON stringStringgetAncestorId()Form ID of previous version.BooleangetArchived()Indicates whether the form is archived.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.EntryStatusResponsegetEntryStatus()The entry status information for the form.StringgetId()The unique identifier for the form.StringgetReferenceId()A reference identifier for the form.StringgetSignature()The signature of the form.OffsetDateTimegetSignedDate()The date the form was signed.StringgetType()The type of the response object.OffsetDateTimegetUpdatedAt()The last updated date of the form.inthashCode()W9FormBaseResponseid(String id)W9FormBaseResponsereferenceId(String referenceId)voidsetAncestorId(String ancestorId)voidsetArchived(Boolean archived)voidsetCompanyId(String companyId)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDisplayName(String displayName)voidseteDeliveryConsentedAt(OffsetDateTime eDeliveryConsentedAt)voidsetEmail(String email)voidsetEntryStatus(EntryStatusResponse entryStatus)voidsetId(String id)voidsetReferenceId(String referenceId)voidsetSignature(String signature)voidsetSignedDate(OffsetDateTime signedDate)voidsetType(String type)voidsetUpdatedAt(OffsetDateTime updatedAt)W9FormBaseResponsesignature(String signature)W9FormBaseResponsesignedDate(OffsetDateTime signedDate)StringtoJson()Convert an instance of W9FormBaseResponse to an JSON stringStringtoString()W9FormBaseResponsetype(String type)W9FormBaseResponseupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENTRY_STATUS
public static final String SERIALIZED_NAME_ENTRY_STATUS
- 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_ANCESTOR_ID
public static final String SERIALIZED_NAME_ANCESTOR_ID
- 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
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
type
@SerializedName("type") protected String type
-
-
Method Detail
-
id
public W9FormBaseResponse id(String id)
-
setId
public void setId(String id)
-
entryStatus
public W9FormBaseResponse entryStatus(EntryStatusResponse entryStatus)
-
getEntryStatus
@Nullable public EntryStatusResponse getEntryStatus()
The entry status information for the form.- Returns:
- entryStatus
-
setEntryStatus
public void setEntryStatus(EntryStatusResponse entryStatus)
-
referenceId
public W9FormBaseResponse referenceId(String referenceId)
-
getReferenceId
@Nullable public String getReferenceId()
A reference identifier for the form.- Returns:
- referenceId
-
setReferenceId
public void setReferenceId(String referenceId)
-
companyId
public W9FormBaseResponse companyId(String companyId)
-
getCompanyId
@Nullable public String getCompanyId()
The ID of the associated company.- Returns:
- companyId
-
setCompanyId
public void setCompanyId(String companyId)
-
displayName
public W9FormBaseResponse 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 W9FormBaseResponse 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 W9FormBaseResponse archived(Boolean archived)
-
getArchived
@Nullable public Boolean getArchived()
Indicates whether the form is archived.- Returns:
- archived
-
setArchived
public void setArchived(Boolean archived)
-
ancestorId
public W9FormBaseResponse ancestorId(String ancestorId)
-
getAncestorId
@Nullable public String getAncestorId()
Form ID of previous version.- Returns:
- ancestorId
-
setAncestorId
public void setAncestorId(String ancestorId)
-
signature
public W9FormBaseResponse signature(String signature)
-
setSignature
public void setSignature(String signature)
-
signedDate
public W9FormBaseResponse signedDate(OffsetDateTime signedDate)
-
getSignedDate
@Nullable public OffsetDateTime getSignedDate()
The date the form was signed.- Returns:
- signedDate
-
setSignedDate
public void setSignedDate(OffsetDateTime signedDate)
-
eDeliveryConsentedAt
public W9FormBaseResponse 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 W9FormBaseResponse createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
The creation date of the form.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public W9FormBaseResponse updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
The last updated date of the form.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
type
public W9FormBaseResponse type(String type)
-
setType
public void setType(String type)
-
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 W9FormBaseResponse
-
fromJson
public static W9FormBaseResponse fromJson(String jsonString) throws IOException
Create an instance of W9FormBaseResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of W9FormBaseResponse
- Throws:
IOException- if the JSON string is invalid with respect to W9FormBaseResponse
-
toJson
public String toJson()
Convert an instance of W9FormBaseResponse to an JSON string- Returns:
- JSON string
-
-