Package Avalara.SDK.model.A1099.V2
Class CompanyModel
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.CompanyModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class CompanyModel extends Object
CompanyModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompanyModel.CustomTypeAdapterFactory
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CompanyModel()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNT_ID
public static final String SERIALIZED_NAME_ACCOUNT_ID
- 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_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- 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_TELEPHONE
public static final String SERIALIZED_NAME_TELEPHONE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIN
public static final String SERIALIZED_NAME_TIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DBA_NAME
public static final String SERIALIZED_NAME_DBA_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE_ID
public static final String SERIALIZED_NAME_REFERENCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DO_TIN_MATCH
public static final String SERIALIZED_NAME_DO_TIN_MATCH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GROUP_NAME
public static final String SERIALIZED_NAME_GROUP_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FOREIGN_PROVINCE
public static final String SERIALIZED_NAME_FOREIGN_PROVINCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY_CODE
public static final String SERIALIZED_NAME_COUNTRY_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESEND_REQUESTS
public static final String SERIALIZED_NAME_RESEND_REQUESTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESEND_INTERVAL_DAYS
public static final String SERIALIZED_NAME_RESEND_INTERVAL_DAYS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_REMINDER_ATTEMPTS
public static final String SERIALIZED_NAME_MAX_REMINDER_ATTEMPTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public CompanyModel id(String id)
-
setId
public void setId(String id)
-
userId
public CompanyModel userId(Long userId)
-
setUserId
public void setUserId(Long userId)
-
accountId
public CompanyModel accountId(Long accountId)
-
getAccountId
@Nullable public Long getAccountId()
Account ID associated with the company- Returns:
- accountId
-
setAccountId
public void setAccountId(Long accountId)
-
createdAt
public CompanyModel createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Record creation timestamp- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public CompanyModel updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Record last update timestamp- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
name
public CompanyModel name(String name)
-
setName
public void setName(String name)
-
email
public CompanyModel email(String email)
-
setEmail
public void setEmail(String email)
-
address
public CompanyModel address(String address)
-
setAddress
public void setAddress(String address)
-
city
public CompanyModel city(String city)
-
setCity
public void setCity(String city)
-
state
public CompanyModel state(String state)
-
setState
public void setState(String state)
-
zip
public CompanyModel zip(String zip)
-
setZip
public void setZip(String zip)
-
telephone
public CompanyModel telephone(String telephone)
-
setTelephone
public void setTelephone(String telephone)
-
tin
public CompanyModel tin(String tin)
-
setTin
public void setTin(String tin)
-
dbaName
public CompanyModel dbaName(String dbaName)
-
setDbaName
public void setDbaName(String dbaName)
-
referenceId
public CompanyModel referenceId(String referenceId)
-
setReferenceId
public void setReferenceId(String referenceId)
-
doTinMatch
public CompanyModel doTinMatch(Boolean doTinMatch)
-
setDoTinMatch
public void setDoTinMatch(Boolean doTinMatch)
-
groupName
public CompanyModel groupName(String groupName)
-
setGroupName
public void setGroupName(String groupName)
-
foreignProvince
public CompanyModel foreignProvince(String foreignProvince)
-
getForeignProvince
@Nullable public String getForeignProvince()
Get foreignProvince- Returns:
- foreignProvince
-
setForeignProvince
public void setForeignProvince(String foreignProvince)
-
countryCode
public CompanyModel countryCode(String countryCode)
-
setCountryCode
public void setCountryCode(String countryCode)
-
resendRequests
public CompanyModel resendRequests(Boolean resendRequests)
-
getResendRequests
@Nullable public Boolean getResendRequests()
Get resendRequests- Returns:
- resendRequests
-
setResendRequests
public void setResendRequests(Boolean resendRequests)
-
resendIntervalDays
public CompanyModel resendIntervalDays(Integer resendIntervalDays)
-
getResendIntervalDays
@Nullable public Integer getResendIntervalDays()
Get resendIntervalDays- Returns:
- resendIntervalDays
-
setResendIntervalDays
public void setResendIntervalDays(Integer resendIntervalDays)
-
maxReminderAttempts
public CompanyModel maxReminderAttempts(Integer maxReminderAttempts)
-
getMaxReminderAttempts
@Nullable public Integer getMaxReminderAttempts()
Get maxReminderAttempts- Returns:
- maxReminderAttempts
-
setMaxReminderAttempts
public void setMaxReminderAttempts(Integer maxReminderAttempts)
-
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 CompanyModel
-
fromJson
public static CompanyModel fromJson(String jsonString) throws IOException
Create an instance of CompanyModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CompanyModel
- Throws:
IOException- if the JSON string is invalid with respect to CompanyModel
-
toJson
public String toJson()
Convert an instance of CompanyModel to an JSON string- Returns:
- JSON string
-
-