Package Avalara.SDK.model.A1099.V2
Class W4FormMinimalRequest
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.W4FormMinimalRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class W4FormMinimalRequest extends Object
W4FormMinimalRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classW4FormMinimalRequest.CustomTypeAdapterFactorystatic classW4FormMinimalRequest.TypeEnumThe form type (always \"w4\" for this model).
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COMPANY_IDstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_EMPLOYEE_FIRST_NAMEstatic StringSERIALIZED_NAME_EMPLOYEE_LAST_NAMEstatic StringSERIALIZED_NAME_OFFICE_CODEstatic StringSERIALIZED_NAME_REFERENCE_IDstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description W4FormMinimalRequest()W4FormMinimalRequest(W4FormMinimalRequest.TypeEnum type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description W4FormMinimalRequestcompanyId(String companyId)W4FormMinimalRequestemail(String email)W4FormMinimalRequestemployeeFirstName(String employeeFirstName)W4FormMinimalRequestemployeeLastName(String employeeLastName)booleanequals(Object o)static W4FormMinimalRequestfromJson(String jsonString)Create an instance of W4FormMinimalRequest given an JSON stringStringgetCompanyId()The ID of the associated company.StringgetEmail()The email address of the individual associated with the form.StringgetEmployeeFirstName()The first name of the employee.StringgetEmployeeLastName()The last name of the employee.StringgetOfficeCode()The office code associated with the form.StringgetReferenceId()A reference identifier for the form.W4FormMinimalRequest.TypeEnumgetType()The form type (always \"w4\" for this model).inthashCode()W4FormMinimalRequestofficeCode(String officeCode)W4FormMinimalRequestreferenceId(String referenceId)voidsetCompanyId(String companyId)voidsetEmail(String email)voidsetEmployeeFirstName(String employeeFirstName)voidsetEmployeeLastName(String employeeLastName)voidsetOfficeCode(String officeCode)voidsetReferenceId(String referenceId)StringtoJson()Convert an instance of W4FormMinimalRequest to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMPLOYEE_FIRST_NAME
public static final String SERIALIZED_NAME_EMPLOYEE_FIRST_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_OFFICE_CODE
public static final String SERIALIZED_NAME_OFFICE_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPANY_ID
public static final String SERIALIZED_NAME_COMPANY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE_ID
public static final String SERIALIZED_NAME_REFERENCE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
W4FormMinimalRequest
public W4FormMinimalRequest()
-
W4FormMinimalRequest
public W4FormMinimalRequest(W4FormMinimalRequest.TypeEnum type)
-
-
Method Detail
-
getType
@Nullable public W4FormMinimalRequest.TypeEnum getType()
The form type (always \"w4\" for this model).- Returns:
- type
-
email
public W4FormMinimalRequest email(String email)
-
getEmail
@Nonnull public String getEmail()
The email address of the individual associated with the form.- Returns:
-
setEmail
public void setEmail(String email)
-
employeeFirstName
public W4FormMinimalRequest employeeFirstName(String employeeFirstName)
-
getEmployeeFirstName
@Nonnull public String getEmployeeFirstName()
The first name of the employee.- Returns:
- employeeFirstName
-
setEmployeeFirstName
public void setEmployeeFirstName(String employeeFirstName)
-
employeeLastName
public W4FormMinimalRequest employeeLastName(String employeeLastName)
-
getEmployeeLastName
@Nonnull public String getEmployeeLastName()
The last name of the employee.- Returns:
- employeeLastName
-
setEmployeeLastName
public void setEmployeeLastName(String employeeLastName)
-
officeCode
public W4FormMinimalRequest officeCode(String officeCode)
-
getOfficeCode
@Nullable public String getOfficeCode()
The office code associated with the form.- Returns:
- officeCode
-
setOfficeCode
public void setOfficeCode(String officeCode)
-
companyId
public W4FormMinimalRequest companyId(String companyId)
-
getCompanyId
@Nonnull public String getCompanyId()
The ID of the associated company.- Returns:
- companyId
-
setCompanyId
public void setCompanyId(String companyId)
-
referenceId
public W4FormMinimalRequest referenceId(String referenceId)
-
getReferenceId
@Nullable public String getReferenceId()
A reference identifier for the form.- Returns:
- referenceId
-
setReferenceId
public void setReferenceId(String referenceId)
-
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 W4FormMinimalRequest
-
fromJson
public static W4FormMinimalRequest fromJson(String jsonString) throws IOException
Create an instance of W4FormMinimalRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of W4FormMinimalRequest
- Throws:
IOException- if the JSON string is invalid with respect to W4FormMinimalRequest
-
toJson
public String toJson()
Convert an instance of W4FormMinimalRequest to an JSON string- Returns:
- JSON string
-
-