Package Avalara.SDK.model.A1099.V2
Class IssuerResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.IssuerResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class IssuerResponse extends Object
IssuerResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIssuerResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDRESSstatic StringSERIALIZED_NAME_CITYstatic StringSERIALIZED_NAME_COUNTRY_CODEstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DBA_NAMEstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_FOREIGN_PROVINCEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LAST_FILINGstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_REFERENCE_IDstatic StringSERIALIZED_NAME_STATEstatic StringSERIALIZED_NAME_TAX_YEARstatic StringSERIALIZED_NAME_TELEPHONEstatic StringSERIALIZED_NAME_TINstatic StringSERIALIZED_NAME_TRANSFER_AGENT_NAMEstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_ZIP
-
Constructor Summary
Constructors Constructor Description IssuerResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IssuerResponseaddress(String address)IssuerResponsecity(String city)IssuerResponsecountryCode(String countryCode)IssuerResponsecreatedAt(OffsetDateTime createdAt)IssuerResponsedbaName(String dbaName)IssuerResponseemail(String email)booleanequals(Object o)IssuerResponseforeignProvince(String foreignProvince)static IssuerResponsefromJson(String jsonString)Create an instance of IssuerResponse given an JSON stringStringgetAddress()Address.StringgetCity()City.StringgetCountryCode()Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes.OffsetDateTimegetCreatedAt()Date time when the record was created.StringgetDbaName()Doing Business As (DBA) name or continuation of a long legal name.StringgetEmail()Contact email address.StringgetForeignProvince()Province or region for non-US/CA addresses.StringgetId()Unique identifier set when the record is created.BooleangetLastFiling()Indicates if this is the issuer's final year filing.StringgetName()Legal name.StringgetReferenceId()Internal reference ID.StringgetState()Two-letter US state or Canadian province code (required for US/CA addresses).IntegergetTaxYear()Tax year for which the forms are being filed (e.g., 2024).StringgetTelephone()Contact phone number (must contain at least 10 digits, max 15 characters).StringgetTin()Federal Tax Identification Number (TIN).StringgetTransferAgentName()Name of the transfer agent, if applicable — optional; use either this or 'dbaName'.OffsetDateTimegetUpdatedAt()Date time when the record was last updated.StringgetZip()ZIP/postal code.inthashCode()IssuerResponseid(String id)IssuerResponselastFiling(Boolean lastFiling)IssuerResponsename(String name)IssuerResponsereferenceId(String referenceId)voidsetAddress(String address)voidsetCity(String city)voidsetCountryCode(String countryCode)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDbaName(String dbaName)voidsetEmail(String email)voidsetForeignProvince(String foreignProvince)voidsetId(String id)voidsetLastFiling(Boolean lastFiling)voidsetName(String name)voidsetReferenceId(String referenceId)voidsetState(String state)voidsetTaxYear(Integer taxYear)voidsetTelephone(String telephone)voidsetTin(String tin)voidsetTransferAgentName(String transferAgentName)voidsetUpdatedAt(OffsetDateTime updatedAt)voidsetZip(String zip)IssuerResponsestate(String state)IssuerResponsetaxYear(Integer taxYear)IssuerResponsetelephone(String telephone)IssuerResponsetin(String tin)StringtoJson()Convert an instance of IssuerResponse to an JSON stringStringtoString()IssuerResponsetransferAgentName(String transferAgentName)IssuerResponseupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundIssuerResponsezip(String zip)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_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_DBA_NAME
public static final String SERIALIZED_NAME_DBA_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIN
public static final String SERIALIZED_NAME_TIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE_ID
public static final String SERIALIZED_NAME_REFERENCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TELEPHONE
public static final String SERIALIZED_NAME_TELEPHONE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_YEAR
public static final String SERIALIZED_NAME_TAX_YEAR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY_CODE
public static final String SERIALIZED_NAME_COUNTRY_CODE
- 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_FOREIGN_PROVINCE
public static final String SERIALIZED_NAME_FOREIGN_PROVINCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSFER_AGENT_NAME
public static final String SERIALIZED_NAME_TRANSFER_AGENT_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_FILING
public static final String SERIALIZED_NAME_LAST_FILING
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public IssuerResponse id(String id)
-
setId
public void setId(String id)
-
createdAt
public IssuerResponse createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Date time when the record was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public IssuerResponse updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Date time when the record was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
name
public IssuerResponse name(String name)
-
setName
public void setName(String name)
-
dbaName
public IssuerResponse dbaName(String dbaName)
-
getDbaName
@Nullable public String getDbaName()
Doing Business As (DBA) name or continuation of a long legal name. Use either this or 'transferAgentName'.- Returns:
- dbaName
-
setDbaName
public void setDbaName(String dbaName)
-
tin
public IssuerResponse tin(String tin)
-
setTin
public void setTin(String tin)
-
referenceId
public IssuerResponse referenceId(String referenceId)
-
getReferenceId
@Nullable public String getReferenceId()
Internal reference ID. Never shown to any agency or recipient. If present, it will prefix download filenames. Allowed characters: letters, numbers, dashes, underscores, and spaces.- Returns:
- referenceId
-
setReferenceId
public void setReferenceId(String referenceId)
-
telephone
public IssuerResponse telephone(String telephone)
-
getTelephone
@Nullable public String getTelephone()
Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries.- Returns:
- telephone
-
setTelephone
public void setTelephone(String telephone)
-
taxYear
public IssuerResponse taxYear(Integer taxYear)
-
getTaxYear
@Nullable public Integer getTaxYear()
Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4.- Returns:
- taxYear
-
setTaxYear
public void setTaxYear(Integer taxYear)
-
countryCode
public IssuerResponse countryCode(String countryCode)
-
getCountryCode
@Nullable public String getCountryCode()
Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address.- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
email
public IssuerResponse email(String email)
-
getEmail
@Nullable public String getEmail()
Contact email address. For recipient inquiries.- Returns:
-
setEmail
public void setEmail(String email)
-
address
public IssuerResponse address(String address)
-
setAddress
public void setAddress(String address)
-
city
public IssuerResponse city(String city)
-
setCity
public void setCity(String city)
-
state
public IssuerResponse state(String state)
-
getState
@Nullable public String getState()
Two-letter US state or Canadian province code (required for US/CA addresses).- Returns:
- state
-
setState
public void setState(String state)
-
zip
public IssuerResponse zip(String zip)
-
setZip
public void setZip(String zip)
-
foreignProvince
public IssuerResponse foreignProvince(String foreignProvince)
-
getForeignProvince
@Nullable public String getForeignProvince()
Province or region for non-US/CA addresses.- Returns:
- foreignProvince
-
setForeignProvince
public void setForeignProvince(String foreignProvince)
-
transferAgentName
public IssuerResponse transferAgentName(String transferAgentName)
-
getTransferAgentName
@Nullable public String getTransferAgentName()
Name of the transfer agent, if applicable — optional; use either this or 'dbaName'.- Returns:
- transferAgentName
-
setTransferAgentName
public void setTransferAgentName(String transferAgentName)
-
lastFiling
public IssuerResponse lastFiling(Boolean lastFiling)
-
getLastFiling
@Nullable public Boolean getLastFiling()
Indicates if this is the issuer's final year filing.- Returns:
- lastFiling
-
setLastFiling
public void setLastFiling(Boolean lastFiling)
-
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 IssuerResponse
-
fromJson
public static IssuerResponse fromJson(String jsonString) throws IOException
Create an instance of IssuerResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IssuerResponse
- Throws:
IOException- if the JSON string is invalid with respect to IssuerResponse
-
toJson
public String toJson()
Convert an instance of IssuerResponse to an JSON string- Returns:
- JSON string
-
-