Package Avalara.SDK.model.A1099.V2
Class W4FormResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.W9FormBaseResponse
-
- Avalara.SDK.model.A1099.V2.W4FormResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class W4FormResponse extends W9FormBaseResponse
W4FormResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classW4FormResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDITIONAL_WITHHELDstatic StringSERIALIZED_NAME_ADDRESSstatic StringSERIALIZED_NAME_CITYstatic StringSERIALIZED_NAME_DEDUCTIONSstatic StringSERIALIZED_NAME_EMPLOYEE_FIRST_NAMEstatic StringSERIALIZED_NAME_EMPLOYEE_LAST_NAMEstatic StringSERIALIZED_NAME_EMPLOYEE_MIDDLE_NAMEstatic StringSERIALIZED_NAME_EMPLOYEE_NAME_SUFFIXstatic StringSERIALIZED_NAME_EXEMPT_FROM_WITHHOLDINGstatic StringSERIALIZED_NAME_LAST_NAME_DIFFERSstatic StringSERIALIZED_NAME_MARITAL_STATUSstatic StringSERIALIZED_NAME_NON_JOB_INCOMEstatic StringSERIALIZED_NAME_NUM_ALLOWANCESstatic StringSERIALIZED_NAME_OFFICE_CODEstatic StringSERIALIZED_NAME_OTHER_DEPENDENTSstatic StringSERIALIZED_NAME_STATEstatic StringSERIALIZED_NAME_TINstatic StringSERIALIZED_NAME_TIN_TYPEstatic StringSERIALIZED_NAME_ZIP-
Fields inherited from class Avalara.SDK.model.A1099.V2.W9FormBaseResponse
SERIALIZED_NAME_ANCESTOR_ID, SERIALIZED_NAME_ARCHIVED, SERIALIZED_NAME_COMPANY_ID, SERIALIZED_NAME_CREATED_AT, SERIALIZED_NAME_DISPLAY_NAME, SERIALIZED_NAME_E_DELIVERY_CONSENTED_AT, SERIALIZED_NAME_EMAIL, SERIALIZED_NAME_ENTRY_STATUS, SERIALIZED_NAME_ID, SERIALIZED_NAME_REFERENCE_ID, SERIALIZED_NAME_SIGNATURE, SERIALIZED_NAME_SIGNED_DATE, SERIALIZED_NAME_TYPE, SERIALIZED_NAME_UPDATED_AT, type
-
-
Constructor Summary
Constructors Constructor Description W4FormResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description W4FormResponseadditionalWithheld(Float additionalWithheld)W4FormResponseaddress(String address)W4FormResponsecity(String city)W4FormResponsedeductions(Float deductions)W4FormResponseemployeeFirstName(String employeeFirstName)W4FormResponseemployeeLastName(String employeeLastName)W4FormResponseemployeeMiddleName(String employeeMiddleName)W4FormResponseemployeeNameSuffix(String employeeNameSuffix)booleanequals(Object o)W4FormResponseexemptFromWithholding(Boolean exemptFromWithholding)static W4FormResponsefromJson(String jsonString)Create an instance of W4FormResponse given an JSON stringFloatgetAdditionalWithheld()The additional amount withheld.StringgetAddress()The address of the employee.StringgetCity()The city of residence of the employee.FloatgetDeductions()The amount of deductions claimed.StringgetEmployeeFirstName()The first name of the employee.StringgetEmployeeLastName()The last name of the employee.StringgetEmployeeMiddleName()The middle name of the employee.StringgetEmployeeNameSuffix()The name suffix of the employee.BooleangetExemptFromWithholding()Indicates whether the employee is exempt from withholding.BooleangetLastNameDiffers()Indicates whether the last name differs from prior records.StringgetMaritalStatus()The marital status of the employee.FloatgetNonJobIncome()The amount of non-job income.IntegergetNumAllowances()The number of allowances claimed by the employee.StringgetOfficeCode()The office code associated with the form.IntegergetOtherDependents()The number of dependents other than allowances.StringgetState()The state of residence of the employee.StringgetTin()The taxpayer identification number (TIN).StringgetTinType()The type of TIN provided.StringgetZip()The ZIP code of residence of the employee.inthashCode()W4FormResponselastNameDiffers(Boolean lastNameDiffers)W4FormResponsemaritalStatus(String maritalStatus)W4FormResponsenonJobIncome(Float nonJobIncome)W4FormResponsenumAllowances(Integer numAllowances)W4FormResponseofficeCode(String officeCode)W4FormResponseotherDependents(Integer otherDependents)voidsetAdditionalWithheld(Float additionalWithheld)voidsetAddress(String address)voidsetCity(String city)voidsetDeductions(Float deductions)voidsetEmployeeFirstName(String employeeFirstName)voidsetEmployeeLastName(String employeeLastName)voidsetEmployeeMiddleName(String employeeMiddleName)voidsetEmployeeNameSuffix(String employeeNameSuffix)voidsetExemptFromWithholding(Boolean exemptFromWithholding)voidsetLastNameDiffers(Boolean lastNameDiffers)voidsetMaritalStatus(String maritalStatus)voidsetNonJobIncome(Float nonJobIncome)voidsetNumAllowances(Integer numAllowances)voidsetOfficeCode(String officeCode)voidsetOtherDependents(Integer otherDependents)voidsetState(String state)voidsetTin(String tin)voidsetTinType(String tinType)voidsetZip(String zip)W4FormResponsestate(String state)W4FormResponsetin(String tin)W4FormResponsetinType(String tinType)StringtoJson()Convert an instance of W4FormResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundW4FormResponsezip(String zip)-
Methods inherited from class Avalara.SDK.model.A1099.V2.W9FormBaseResponse
ancestorId, archived, companyId, createdAt, displayName, eDeliveryConsentedAt, email, entryStatus, getAncestorId, getArchived, getCompanyId, getCreatedAt, getDisplayName, geteDeliveryConsentedAt, getEmail, getEntryStatus, getId, getReferenceId, getSignature, getSignedDate, getType, getUpdatedAt, id, referenceId, setAncestorId, setArchived, setCompanyId, setCreatedAt, setDisplayName, seteDeliveryConsentedAt, setEmail, setEntryStatus, setId, setReferenceId, setSignature, setSignedDate, setType, setUpdatedAt, signature, signedDate, type, updatedAt
-
-
-
-
Field Detail
-
SERIALIZED_NAME_EMPLOYEE_FIRST_NAME
public static final String SERIALIZED_NAME_EMPLOYEE_FIRST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMPLOYEE_MIDDLE_NAME
public static final String SERIALIZED_NAME_EMPLOYEE_MIDDLE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMPLOYEE_LAST_NAME
public static final String SERIALIZED_NAME_EMPLOYEE_LAST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMPLOYEE_NAME_SUFFIX
public static final String SERIALIZED_NAME_EMPLOYEE_NAME_SUFFIX
- 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_ADDRESS
public static final String SERIALIZED_NAME_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_MARITAL_STATUS
public static final String SERIALIZED_NAME_MARITAL_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_NAME_DIFFERS
public static final String SERIALIZED_NAME_LAST_NAME_DIFFERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NUM_ALLOWANCES
public static final String SERIALIZED_NAME_NUM_ALLOWANCES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OTHER_DEPENDENTS
public static final String SERIALIZED_NAME_OTHER_DEPENDENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NON_JOB_INCOME
public static final String SERIALIZED_NAME_NON_JOB_INCOME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEDUCTIONS
public static final String SERIALIZED_NAME_DEDUCTIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDITIONAL_WITHHELD
public static final String SERIALIZED_NAME_ADDITIONAL_WITHHELD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXEMPT_FROM_WITHHOLDING
public static final String SERIALIZED_NAME_EXEMPT_FROM_WITHHOLDING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OFFICE_CODE
public static final String SERIALIZED_NAME_OFFICE_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
employeeFirstName
public W4FormResponse employeeFirstName(String employeeFirstName)
-
getEmployeeFirstName
@Nullable public String getEmployeeFirstName()
The first name of the employee.- Returns:
- employeeFirstName
-
setEmployeeFirstName
public void setEmployeeFirstName(String employeeFirstName)
-
employeeMiddleName
public W4FormResponse employeeMiddleName(String employeeMiddleName)
-
getEmployeeMiddleName
@Nullable public String getEmployeeMiddleName()
The middle name of the employee.- Returns:
- employeeMiddleName
-
setEmployeeMiddleName
public void setEmployeeMiddleName(String employeeMiddleName)
-
employeeLastName
public W4FormResponse employeeLastName(String employeeLastName)
-
getEmployeeLastName
@Nullable public String getEmployeeLastName()
The last name of the employee.- Returns:
- employeeLastName
-
setEmployeeLastName
public void setEmployeeLastName(String employeeLastName)
-
employeeNameSuffix
public W4FormResponse employeeNameSuffix(String employeeNameSuffix)
-
getEmployeeNameSuffix
@Nullable public String getEmployeeNameSuffix()
The name suffix of the employee.- Returns:
- employeeNameSuffix
-
setEmployeeNameSuffix
public void setEmployeeNameSuffix(String employeeNameSuffix)
-
tinType
public W4FormResponse tinType(String tinType)
-
setTinType
public void setTinType(String tinType)
-
tin
public W4FormResponse tin(String tin)
-
setTin
public void setTin(String tin)
-
address
public W4FormResponse address(String address)
-
setAddress
public void setAddress(String address)
-
city
public W4FormResponse city(String city)
-
setCity
public void setCity(String city)
-
state
public W4FormResponse state(String state)
-
setState
public void setState(String state)
-
zip
public W4FormResponse zip(String zip)
-
setZip
public void setZip(String zip)
-
maritalStatus
public W4FormResponse maritalStatus(String maritalStatus)
-
getMaritalStatus
@Nullable public String getMaritalStatus()
The marital status of the employee.- Returns:
- maritalStatus
-
setMaritalStatus
public void setMaritalStatus(String maritalStatus)
-
lastNameDiffers
public W4FormResponse lastNameDiffers(Boolean lastNameDiffers)
-
getLastNameDiffers
@Nullable public Boolean getLastNameDiffers()
Indicates whether the last name differs from prior records.- Returns:
- lastNameDiffers
-
setLastNameDiffers
public void setLastNameDiffers(Boolean lastNameDiffers)
-
numAllowances
public W4FormResponse numAllowances(Integer numAllowances)
-
getNumAllowances
@Nullable public Integer getNumAllowances()
The number of allowances claimed by the employee.- Returns:
- numAllowances
-
setNumAllowances
public void setNumAllowances(Integer numAllowances)
-
otherDependents
public W4FormResponse otherDependents(Integer otherDependents)
-
getOtherDependents
@Nullable public Integer getOtherDependents()
The number of dependents other than allowances.- Returns:
- otherDependents
-
setOtherDependents
public void setOtherDependents(Integer otherDependents)
-
nonJobIncome
public W4FormResponse nonJobIncome(Float nonJobIncome)
-
getNonJobIncome
@Nullable public Float getNonJobIncome()
The amount of non-job income.- Returns:
- nonJobIncome
-
setNonJobIncome
public void setNonJobIncome(Float nonJobIncome)
-
deductions
public W4FormResponse deductions(Float deductions)
-
getDeductions
@Nullable public Float getDeductions()
The amount of deductions claimed.- Returns:
- deductions
-
setDeductions
public void setDeductions(Float deductions)
-
additionalWithheld
public W4FormResponse additionalWithheld(Float additionalWithheld)
-
getAdditionalWithheld
@Nullable public Float getAdditionalWithheld()
The additional amount withheld.- Returns:
- additionalWithheld
-
setAdditionalWithheld
public void setAdditionalWithheld(Float additionalWithheld)
-
exemptFromWithholding
public W4FormResponse exemptFromWithholding(Boolean exemptFromWithholding)
-
getExemptFromWithholding
@Nullable public Boolean getExemptFromWithholding()
Indicates whether the employee is exempt from withholding.- Returns:
- exemptFromWithholding
-
setExemptFromWithholding
public void setExemptFromWithholding(Boolean exemptFromWithholding)
-
officeCode
public W4FormResponse officeCode(String officeCode)
-
getOfficeCode
@Nullable public String getOfficeCode()
The office code associated with the form.- Returns:
- officeCode
-
setOfficeCode
public void setOfficeCode(String officeCode)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classW9FormBaseResponse
-
hashCode
public int hashCode()
- Overrides:
hashCodein classW9FormBaseResponse
-
toString
public String toString()
- Overrides:
toStringin classW9FormBaseResponse
-
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 W4FormResponse
-
fromJson
public static W4FormResponse fromJson(String jsonString) throws IOException
Create an instance of W4FormResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of W4FormResponse
- Throws:
IOException- if the JSON string is invalid with respect to W4FormResponse
-
toJson
public String toJson()
Convert an instance of W4FormResponse to an JSON string- Overrides:
toJsonin classW9FormBaseResponse- Returns:
- JSON string
-
-