Package Avalara.SDK.model.A1099.V2
Class Form1042SListItemResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.Form1042SListItemResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Form1042SListItemResponse extends Object
Form1042SListItemResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForm1042SListItemResponse.CustomTypeAdapterFactory
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Form1042SListItemResponse()Form1042SListItemResponse(String id, Form1099StatusDetailResponse federalEfileStatus, List<StateEfileStatusDetailResponse> stateEfileStatus, Form1099StatusDetailResponse postalMailStatus, Form1099StatusDetailResponse tinMatchStatus, Form1099StatusDetailResponse addressVerificationStatus, List<ValidationErrorResponse> validationErrors, OffsetDateTime createdAt, OffsetDateTime updatedAt)
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_UNIQUE_FORM_ID
public static final String SERIALIZED_NAME_UNIQUE_FORM_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NO_TIN
public static final String SERIALIZED_NAME_NO_TIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECIPIENT_DATE_OF_BIRTH
public static final String SERIALIZED_NAME_RECIPIENT_DATE_OF_BIRTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECIPIENT_GIIN
public static final String SERIALIZED_NAME_RECIPIENT_GIIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECIPIENT_FOREIGN_TIN
public static final String SERIALIZED_NAME_RECIPIENT_FOREIGN_TIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOB_CODE
public static final String SERIALIZED_NAME_LOB_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCOME_CODE
public static final String SERIALIZED_NAME_INCOME_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GROSS_INCOME
public static final String SERIALIZED_NAME_GROSS_INCOME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITHHOLDING_INDICATOR
public static final String SERIALIZED_NAME_WITHHOLDING_INDICATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_COUNTRY_CODE
public static final String SERIALIZED_NAME_TAX_COUNTRY_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXEMPTION_CODE_CHAP3
public static final String SERIALIZED_NAME_EXEMPTION_CODE_CHAP3
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXEMPTION_CODE_CHAP4
public static final String SERIALIZED_NAME_EXEMPTION_CODE_CHAP4
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_RATE_CHAP3
public static final String SERIALIZED_NAME_TAX_RATE_CHAP3
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITHHOLDING_ALLOWANCE
public static final String SERIALIZED_NAME_WITHHOLDING_ALLOWANCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEDERAL_TAX_WITHHELD
public static final String SERIALIZED_NAME_FEDERAL_TAX_WITHHELD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_NOT_DEPOSITED_INDICATOR
public static final String SERIALIZED_NAME_TAX_NOT_DEPOSITED_INDICATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACADEMIC_INDICATOR
public static final String SERIALIZED_NAME_ACADEMIC_INDICATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_WITHHELD_OTHER_AGENTS
public static final String SERIALIZED_NAME_TAX_WITHHELD_OTHER_AGENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AMOUNT_REPAID
public static final String SERIALIZED_NAME_AMOUNT_REPAID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_PAID_AGENT
public static final String SERIALIZED_NAME_TAX_PAID_AGENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHAP3_STATUS_CODE
public static final String SERIALIZED_NAME_CHAP3_STATUS_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHAP4_STATUS_CODE
public static final String SERIALIZED_NAME_CHAP4_STATUS_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT
public static final String SERIALIZED_NAME_PRIMARY_WITHHOLDING_AGENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INTERMEDIARY_OR_FLOW_THROUGH
public static final String SERIALIZED_NAME_INTERMEDIARY_OR_FLOW_THROUGH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUER_ID
public static final String SERIALIZED_NAME_ISSUER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUER_REFERENCE_ID
public static final String SERIALIZED_NAME_ISSUER_REFERENCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUER_TIN
public static final String SERIALIZED_NAME_ISSUER_TIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_YEAR
public static final String SERIALIZED_NAME_TAX_YEAR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEDERAL_EFILE
public static final String SERIALIZED_NAME_FEDERAL_EFILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEDERAL_EFILE_STATUS
public static final String SERIALIZED_NAME_FEDERAL_EFILE_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE_EFILE
public static final String SERIALIZED_NAME_STATE_EFILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE_EFILE_STATUS
public static final String SERIALIZED_NAME_STATE_EFILE_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POSTAL_MAIL
public static final String SERIALIZED_NAME_POSTAL_MAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POSTAL_MAIL_STATUS
public static final String SERIALIZED_NAME_POSTAL_MAIL_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIN_MATCH
public static final String SERIALIZED_NAME_TIN_MATCH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIN_MATCH_STATUS
public static final String SERIALIZED_NAME_TIN_MATCH_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS_VERIFICATION
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS_VERIFICATION_STATUS
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION_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_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- 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_RECIPIENT_NAME
public static final String SERIALIZED_NAME_RECIPIENT_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECIPIENT_SECOND_NAME
public static final String SERIALIZED_NAME_RECIPIENT_SECOND_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS
public static final String SERIALIZED_NAME_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS2
public static final String SERIALIZED_NAME_ADDRESS2
- 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_COUNTRY_CODE
public static final String SERIALIZED_NAME_COUNTRY_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALIDATION_ERRORS
public static final String SERIALIZED_NAME_VALIDATION_ERRORS
- 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_STATE_AND_LOCAL_WITHHOLDING
public static final String SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Form1042SListItemResponse
public Form1042SListItemResponse()
-
Form1042SListItemResponse
public Form1042SListItemResponse(String id, Form1099StatusDetailResponse federalEfileStatus, List<StateEfileStatusDetailResponse> stateEfileStatus, Form1099StatusDetailResponse postalMailStatus, Form1099StatusDetailResponse tinMatchStatus, Form1099StatusDetailResponse addressVerificationStatus, List<ValidationErrorResponse> validationErrors, OffsetDateTime createdAt, OffsetDateTime updatedAt)
-
-
Method Detail
-
uniqueFormId
public Form1042SListItemResponse uniqueFormId(String uniqueFormId)
-
getUniqueFormId
@Nullable public String getUniqueFormId()
Unique form identifier- Returns:
- uniqueFormId
-
setUniqueFormId
public void setUniqueFormId(String uniqueFormId)
-
noTin
public Form1042SListItemResponse noTin(Boolean noTin)
-
setNoTin
public void setNoTin(Boolean noTin)
-
recipientDateOfBirth
public Form1042SListItemResponse recipientDateOfBirth(OffsetDateTime recipientDateOfBirth)
-
getRecipientDateOfBirth
@Nullable public OffsetDateTime getRecipientDateOfBirth()
Recipient's date of birth- Returns:
- recipientDateOfBirth
-
setRecipientDateOfBirth
public void setRecipientDateOfBirth(OffsetDateTime recipientDateOfBirth)
-
recipientGiin
public Form1042SListItemResponse recipientGiin(String recipientGiin)
-
getRecipientGiin
@Nullable public String getRecipientGiin()
Recipient's GIIN (Global Intermediary Identification Number)- Returns:
- recipientGiin
-
setRecipientGiin
public void setRecipientGiin(String recipientGiin)
-
recipientForeignTin
public Form1042SListItemResponse recipientForeignTin(String recipientForeignTin)
-
getRecipientForeignTin
@Nullable public String getRecipientForeignTin()
Recipient's foreign TIN- Returns:
- recipientForeignTin
-
setRecipientForeignTin
public void setRecipientForeignTin(String recipientForeignTin)
-
lobCode
public Form1042SListItemResponse lobCode(String lobCode)
-
setLobCode
public void setLobCode(String lobCode)
-
incomeCode
public Form1042SListItemResponse incomeCode(String incomeCode)
-
setIncomeCode
public void setIncomeCode(String incomeCode)
-
grossIncome
public Form1042SListItemResponse grossIncome(Double grossIncome)
-
setGrossIncome
public void setGrossIncome(Double grossIncome)
-
withholdingIndicator
public Form1042SListItemResponse withholdingIndicator(String withholdingIndicator)
-
getWithholdingIndicator
@Nullable public String getWithholdingIndicator()
Withholding indicator- Returns:
- withholdingIndicator
-
setWithholdingIndicator
public void setWithholdingIndicator(String withholdingIndicator)
-
taxCountryCode
public Form1042SListItemResponse taxCountryCode(String taxCountryCode)
-
setTaxCountryCode
public void setTaxCountryCode(String taxCountryCode)
-
exemptionCodeChap3
public Form1042SListItemResponse exemptionCodeChap3(String exemptionCodeChap3)
-
getExemptionCodeChap3
@Nullable public String getExemptionCodeChap3()
Exemption code (Chapter 3)- Returns:
- exemptionCodeChap3
-
setExemptionCodeChap3
public void setExemptionCodeChap3(String exemptionCodeChap3)
-
exemptionCodeChap4
public Form1042SListItemResponse exemptionCodeChap4(String exemptionCodeChap4)
-
getExemptionCodeChap4
@Nullable public String getExemptionCodeChap4()
Exemption code (Chapter 4)- Returns:
- exemptionCodeChap4
-
setExemptionCodeChap4
public void setExemptionCodeChap4(String exemptionCodeChap4)
-
taxRateChap3
public Form1042SListItemResponse taxRateChap3(String taxRateChap3)
-
getTaxRateChap3
@Nullable public String getTaxRateChap3()
Tax rate (Chapter 3)- Returns:
- taxRateChap3
-
setTaxRateChap3
public void setTaxRateChap3(String taxRateChap3)
-
withholdingAllowance
public Form1042SListItemResponse withholdingAllowance(Double withholdingAllowance)
-
getWithholdingAllowance
@Nullable public Double getWithholdingAllowance()
Withholding allowance- Returns:
- withholdingAllowance
-
setWithholdingAllowance
public void setWithholdingAllowance(Double withholdingAllowance)
-
federalTaxWithheld
public Form1042SListItemResponse federalTaxWithheld(Double federalTaxWithheld)
-
getFederalTaxWithheld
@Nullable public Double getFederalTaxWithheld()
Federal tax withheld- Returns:
- federalTaxWithheld
-
setFederalTaxWithheld
public void setFederalTaxWithheld(Double federalTaxWithheld)
-
taxNotDepositedIndicator
public Form1042SListItemResponse taxNotDepositedIndicator(Boolean taxNotDepositedIndicator)
-
getTaxNotDepositedIndicator
@Nullable public Boolean getTaxNotDepositedIndicator()
Tax not deposited indicator- Returns:
- taxNotDepositedIndicator
-
setTaxNotDepositedIndicator
public void setTaxNotDepositedIndicator(Boolean taxNotDepositedIndicator)
-
academicIndicator
public Form1042SListItemResponse academicIndicator(Boolean academicIndicator)
-
getAcademicIndicator
@Nullable public Boolean getAcademicIndicator()
Academic indicator- Returns:
- academicIndicator
-
setAcademicIndicator
public void setAcademicIndicator(Boolean academicIndicator)
-
taxWithheldOtherAgents
public Form1042SListItemResponse taxWithheldOtherAgents(Double taxWithheldOtherAgents)
-
getTaxWithheldOtherAgents
@Nullable public Double getTaxWithheldOtherAgents()
Tax withheld by other agents- Returns:
- taxWithheldOtherAgents
-
setTaxWithheldOtherAgents
public void setTaxWithheldOtherAgents(Double taxWithheldOtherAgents)
-
amountRepaid
public Form1042SListItemResponse amountRepaid(Double amountRepaid)
-
getAmountRepaid
@Nullable public Double getAmountRepaid()
Amount repaid to recipient- Returns:
- amountRepaid
-
setAmountRepaid
public void setAmountRepaid(Double amountRepaid)
-
taxPaidAgent
public Form1042SListItemResponse taxPaidAgent(Double taxPaidAgent)
-
getTaxPaidAgent
@Nullable public Double getTaxPaidAgent()
Tax paid by withholding agent- Returns:
- taxPaidAgent
-
setTaxPaidAgent
public void setTaxPaidAgent(Double taxPaidAgent)
-
chap3StatusCode
public Form1042SListItemResponse chap3StatusCode(String chap3StatusCode)
-
getChap3StatusCode
@Nullable public String getChap3StatusCode()
Chapter 3 status code- Returns:
- chap3StatusCode
-
setChap3StatusCode
public void setChap3StatusCode(String chap3StatusCode)
-
chap4StatusCode
public Form1042SListItemResponse chap4StatusCode(String chap4StatusCode)
-
getChap4StatusCode
@Nullable public String getChap4StatusCode()
Chapter 4 status code- Returns:
- chap4StatusCode
-
setChap4StatusCode
public void setChap4StatusCode(String chap4StatusCode)
-
primaryWithholdingAgent
public Form1042SListItemResponse primaryWithholdingAgent(PrimaryWithholdingAgentResponse primaryWithholdingAgent)
-
getPrimaryWithholdingAgent
@Nullable public PrimaryWithholdingAgentResponse getPrimaryWithholdingAgent()
Primary withholding agent information- Returns:
- primaryWithholdingAgent
-
setPrimaryWithholdingAgent
public void setPrimaryWithholdingAgent(PrimaryWithholdingAgentResponse primaryWithholdingAgent)
-
intermediaryOrFlowThrough
public Form1042SListItemResponse intermediaryOrFlowThrough(IntermediaryOrFlowThroughResponse intermediaryOrFlowThrough)
-
getIntermediaryOrFlowThrough
@Nullable public IntermediaryOrFlowThroughResponse getIntermediaryOrFlowThrough()
Intermediary or flow-through entity information- Returns:
- intermediaryOrFlowThrough
-
setIntermediaryOrFlowThrough
public void setIntermediaryOrFlowThrough(IntermediaryOrFlowThroughResponse intermediaryOrFlowThrough)
-
type
public Form1042SListItemResponse type(String type)
-
getType
@Nonnull public String getType()
Type of the form. Will be one of: * 940 * 941 * 943 * 944 * 945 * 1042 * 1042-S * 1095-B * 1095-C * 1097-BTC * 1098 * 1098-C * 1098-E * 1098-Q * 1098-T * 3921 * 3922 * 5498 * 5498-ESA * 5498-SA * 1099-MISC * 1099-A * 1099-B * 1099-C * 1099-CAP * 1099-DIV * 1099-G * 1099-INT * 1099-K * 1099-LS * 1099-LTC * 1099-NEC * 1099-OID * 1099-PATR * 1099-Q * 1099-R * 1099-S * 1099-SA * T4A * W-2 * W-2G * 1099-HC- Returns:
- type
-
setType
public void setType(String type)
-
issuerId
public Form1042SListItemResponse issuerId(Integer issuerId)
-
setIssuerId
public void setIssuerId(Integer issuerId)
-
issuerReferenceId
public Form1042SListItemResponse issuerReferenceId(String issuerReferenceId)
-
getIssuerReferenceId
@Nullable public String getIssuerReferenceId()
Issuer Reference ID- Returns:
- issuerReferenceId
-
setIssuerReferenceId
public void setIssuerReferenceId(String issuerReferenceId)
-
issuerTin
public Form1042SListItemResponse issuerTin(String issuerTin)
-
setIssuerTin
public void setIssuerTin(String issuerTin)
-
taxYear
public Form1042SListItemResponse taxYear(Integer taxYear)
-
setTaxYear
public void setTaxYear(Integer taxYear)
-
federalEfile
public Form1042SListItemResponse federalEfile(Boolean federalEfile)
-
getFederalEfile
@Nonnull public Boolean getFederalEfile()
Boolean indicating that federal e-filing has been scheduled for this form- Returns:
- federalEfile
-
setFederalEfile
public void setFederalEfile(Boolean federalEfile)
-
getFederalEfileStatus
@Nullable public Form1099StatusDetailResponse getFederalEfileStatus()
Federal e-file status- Returns:
- federalEfileStatus
-
stateEfile
public Form1042SListItemResponse stateEfile(Boolean stateEfile)
-
getStateEfile
@Nonnull public Boolean getStateEfile()
Boolean indicating that state e-filing has been scheduled for this form- Returns:
- stateEfile
-
setStateEfile
public void setStateEfile(Boolean stateEfile)
-
getStateEfileStatus
@Nullable public List<StateEfileStatusDetailResponse> getStateEfileStatus()
State e-file status- Returns:
- stateEfileStatus
-
postalMail
public Form1042SListItemResponse postalMail(Boolean postalMail)
-
getPostalMail
@Nonnull public Boolean getPostalMail()
Boolean indicating that postal mailing to the recipient has been scheduled for this form- Returns:
- postalMail
-
setPostalMail
public void setPostalMail(Boolean postalMail)
-
getPostalMailStatus
@Nullable public Form1099StatusDetailResponse getPostalMailStatus()
Postal mail to recipient status- Returns:
- postalMailStatus
-
tinMatch
public Form1042SListItemResponse tinMatch(Boolean tinMatch)
-
getTinMatch
@Nonnull public Boolean getTinMatch()
Boolean indicating that TIN Matching has been scheduled for this form- Returns:
- tinMatch
-
setTinMatch
public void setTinMatch(Boolean tinMatch)
-
getTinMatchStatus
@Nullable public Form1099StatusDetailResponse getTinMatchStatus()
TIN Match status- Returns:
- tinMatchStatus
-
addressVerification
public Form1042SListItemResponse addressVerification(Boolean addressVerification)
-
getAddressVerification
@Nonnull public Boolean getAddressVerification()
Boolean indicating that address verification has been scheduled for this form- Returns:
- addressVerification
-
setAddressVerification
public void setAddressVerification(Boolean addressVerification)
-
getAddressVerificationStatus
@Nullable public Form1099StatusDetailResponse getAddressVerificationStatus()
Address verification status- Returns:
- addressVerificationStatus
-
referenceId
public Form1042SListItemResponse referenceId(String referenceId)
-
setReferenceId
public void setReferenceId(String referenceId)
-
email
public Form1042SListItemResponse email(String email)
-
setEmail
public void setEmail(String email)
-
tinType
public Form1042SListItemResponse tinType(String tinType)
-
getTinType
@Nullable public String getTinType()
Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN- Returns:
- tinType
-
setTinType
public void setTinType(String tinType)
-
tin
public Form1042SListItemResponse tin(String tin)
-
setTin
public void setTin(String tin)
-
recipientName
public Form1042SListItemResponse recipientName(String recipientName)
-
setRecipientName
public void setRecipientName(String recipientName)
-
recipientSecondName
public Form1042SListItemResponse recipientSecondName(String recipientSecondName)
-
getRecipientSecondName
@Nullable public String getRecipientSecondName()
Recipient second name- Returns:
- recipientSecondName
-
setRecipientSecondName
public void setRecipientSecondName(String recipientSecondName)
-
address
public Form1042SListItemResponse address(String address)
-
setAddress
public void setAddress(String address)
-
address2
public Form1042SListItemResponse address2(String address2)
-
setAddress2
public void setAddress2(String address2)
-
city
public Form1042SListItemResponse city(String city)
-
setCity
public void setCity(String city)
-
state
public Form1042SListItemResponse state(String state)
-
setState
public void setState(String state)
-
zip
public Form1042SListItemResponse zip(String zip)
-
setZip
public void setZip(String zip)
-
foreignProvince
public Form1042SListItemResponse foreignProvince(String foreignProvince)
-
getForeignProvince
@Nullable public String getForeignProvince()
Foreign province- Returns:
- foreignProvince
-
setForeignProvince
public void setForeignProvince(String foreignProvince)
-
countryCode
public Form1042SListItemResponse countryCode(String countryCode)
-
getCountryCode
@Nullable public String getCountryCode()
Country code, as defined at https://www.irs.gov/e-file-providers/country-codes- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
getValidationErrors
@Nullable public List<ValidationErrorResponse> getValidationErrors()
Validation errors- Returns:
- validationErrors
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Creation time- Returns:
- createdAt
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Update time- Returns:
- updatedAt
-
stateAndLocalWithholding
public Form1042SListItemResponse stateAndLocalWithholding(StateAndLocalWithholdingResponse stateAndLocalWithholding)
-
getStateAndLocalWithholding
@Nullable public StateAndLocalWithholdingResponse getStateAndLocalWithholding()
Get stateAndLocalWithholding- Returns:
- stateAndLocalWithholding
-
setStateAndLocalWithholding
public void setStateAndLocalWithholding(StateAndLocalWithholdingResponse stateAndLocalWithholding)
-
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 Form1042SListItemResponse
-
fromJson
public static Form1042SListItemResponse fromJson(String jsonString) throws IOException
Create an instance of Form1042SListItemResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Form1042SListItemResponse
- Throws:
IOException- if the JSON string is invalid with respect to Form1042SListItemResponse
-
toJson
public String toJson()
Convert an instance of Form1042SListItemResponse to an JSON string- Returns:
- JSON string
-
-