Package Avalara.SDK.model.A1099.V2
Class Form1042SRequest
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.Form1042SRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Form1042SRequest extends Object
Form1042SRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForm1042SRequest.CustomTypeAdapterFactorystatic classForm1042SRequest.TinTypeEnumType of TIN (Tax ID Number).static classForm1042SRequest.TypeEnumGets or Sets type
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Form1042SRequest()
-
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_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_STATE_AND_LOCAL_WITHHOLDING
public static final String SERIALIZED_NAME_STATE_AND_LOCAL_WITHHOLDING
- 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_REFERENCE_ID
public static final String SERIALIZED_NAME_REFERENCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECIPIENT_TIN
public static final String SERIALIZED_NAME_RECIPIENT_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_TIN_TYPE
public static final String SERIALIZED_NAME_TIN_TYPE
- 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_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNT_NUMBER
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OFFICE_CODE
public static final String SERIALIZED_NAME_OFFICE_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NON_US_PROVINCE
public static final String SERIALIZED_NAME_NON_US_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_FEDERAL_E_FILE
public static final String SERIALIZED_NAME_FEDERAL_E_FILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POSTAL_MAIL
public static final String SERIALIZED_NAME_POSTAL_MAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE_E_FILE
public static final String SERIALIZED_NAME_STATE_E_FILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIN_MATCH
public static final String SERIALIZED_NAME_TIN_MATCH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NO_TIN
public static final String SERIALIZED_NAME_NO_TIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECOND_TIN_NOTICE
public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FATCA_FILING_REQUIREMENT
public static final String SERIALIZED_NAME_FATCA_FILING_REQUIREMENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS_VERIFICATION
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
uniqueFormId
public Form1042SRequest uniqueFormId(String uniqueFormId)
-
getUniqueFormId
@Nullable public String getUniqueFormId()
Unique form identifier- Returns:
- uniqueFormId
-
setUniqueFormId
public void setUniqueFormId(String uniqueFormId)
-
recipientDateOfBirth
public Form1042SRequest recipientDateOfBirth(OffsetDateTime recipientDateOfBirth)
-
getRecipientDateOfBirth
@Nullable public OffsetDateTime getRecipientDateOfBirth()
Recipient's date of birth- Returns:
- recipientDateOfBirth
-
setRecipientDateOfBirth
public void setRecipientDateOfBirth(OffsetDateTime recipientDateOfBirth)
-
recipientGiin
public Form1042SRequest 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 Form1042SRequest recipientForeignTin(String recipientForeignTin)
-
getRecipientForeignTin
@Nullable public String getRecipientForeignTin()
Recipient's foreign TIN- Returns:
- recipientForeignTin
-
setRecipientForeignTin
public void setRecipientForeignTin(String recipientForeignTin)
-
lobCode
public Form1042SRequest lobCode(String lobCode)
-
setLobCode
public void setLobCode(String lobCode)
-
incomeCode
public Form1042SRequest incomeCode(String incomeCode)
-
setIncomeCode
public void setIncomeCode(String incomeCode)
-
grossIncome
public Form1042SRequest grossIncome(Double grossIncome)
-
setGrossIncome
public void setGrossIncome(Double grossIncome)
-
withholdingIndicator
public Form1042SRequest withholdingIndicator(String withholdingIndicator)
-
getWithholdingIndicator
@Nullable public String getWithholdingIndicator()
Withholding indicator- Returns:
- withholdingIndicator
-
setWithholdingIndicator
public void setWithholdingIndicator(String withholdingIndicator)
-
taxCountryCode
public Form1042SRequest taxCountryCode(String taxCountryCode)
-
setTaxCountryCode
public void setTaxCountryCode(String taxCountryCode)
-
exemptionCodeChap3
public Form1042SRequest exemptionCodeChap3(String exemptionCodeChap3)
-
getExemptionCodeChap3
@Nullable public String getExemptionCodeChap3()
Exemption code (Chapter 3)- Returns:
- exemptionCodeChap3
-
setExemptionCodeChap3
public void setExemptionCodeChap3(String exemptionCodeChap3)
-
exemptionCodeChap4
public Form1042SRequest exemptionCodeChap4(String exemptionCodeChap4)
-
getExemptionCodeChap4
@Nullable public String getExemptionCodeChap4()
Exemption code (Chapter 4)- Returns:
- exemptionCodeChap4
-
setExemptionCodeChap4
public void setExemptionCodeChap4(String exemptionCodeChap4)
-
taxRateChap3
public Form1042SRequest taxRateChap3(String taxRateChap3)
-
getTaxRateChap3
@Nullable public String getTaxRateChap3()
Tax rate (Chapter 3)- Returns:
- taxRateChap3
-
setTaxRateChap3
public void setTaxRateChap3(String taxRateChap3)
-
withholdingAllowance
public Form1042SRequest withholdingAllowance(Double withholdingAllowance)
-
getWithholdingAllowance
@Nullable public Double getWithholdingAllowance()
Withholding allowance- Returns:
- withholdingAllowance
-
setWithholdingAllowance
public void setWithholdingAllowance(Double withholdingAllowance)
-
federalTaxWithheld
public Form1042SRequest federalTaxWithheld(Double federalTaxWithheld)
-
getFederalTaxWithheld
@Nullable public Double getFederalTaxWithheld()
Federal tax withheld- Returns:
- federalTaxWithheld
-
setFederalTaxWithheld
public void setFederalTaxWithheld(Double federalTaxWithheld)
-
taxNotDepositedIndicator
public Form1042SRequest taxNotDepositedIndicator(Boolean taxNotDepositedIndicator)
-
getTaxNotDepositedIndicator
@Nullable public Boolean getTaxNotDepositedIndicator()
Tax not deposited indicator- Returns:
- taxNotDepositedIndicator
-
setTaxNotDepositedIndicator
public void setTaxNotDepositedIndicator(Boolean taxNotDepositedIndicator)
-
academicIndicator
public Form1042SRequest academicIndicator(Boolean academicIndicator)
-
getAcademicIndicator
@Nullable public Boolean getAcademicIndicator()
Academic indicator- Returns:
- academicIndicator
-
setAcademicIndicator
public void setAcademicIndicator(Boolean academicIndicator)
-
taxWithheldOtherAgents
public Form1042SRequest taxWithheldOtherAgents(Double taxWithheldOtherAgents)
-
getTaxWithheldOtherAgents
@Nullable public Double getTaxWithheldOtherAgents()
Tax withheld by other agents- Returns:
- taxWithheldOtherAgents
-
setTaxWithheldOtherAgents
public void setTaxWithheldOtherAgents(Double taxWithheldOtherAgents)
-
amountRepaid
public Form1042SRequest amountRepaid(Double amountRepaid)
-
getAmountRepaid
@Nullable public Double getAmountRepaid()
Amount repaid to recipient- Returns:
- amountRepaid
-
setAmountRepaid
public void setAmountRepaid(Double amountRepaid)
-
taxPaidAgent
public Form1042SRequest taxPaidAgent(Double taxPaidAgent)
-
getTaxPaidAgent
@Nullable public Double getTaxPaidAgent()
Tax paid by withholding agent- Returns:
- taxPaidAgent
-
setTaxPaidAgent
public void setTaxPaidAgent(Double taxPaidAgent)
-
chap3StatusCode
public Form1042SRequest chap3StatusCode(String chap3StatusCode)
-
getChap3StatusCode
@Nullable public String getChap3StatusCode()
Chapter 3 status code- Returns:
- chap3StatusCode
-
setChap3StatusCode
public void setChap3StatusCode(String chap3StatusCode)
-
chap4StatusCode
public Form1042SRequest chap4StatusCode(String chap4StatusCode)
-
getChap4StatusCode
@Nullable public String getChap4StatusCode()
Chapter 4 status code- Returns:
- chap4StatusCode
-
setChap4StatusCode
public void setChap4StatusCode(String chap4StatusCode)
-
primaryWithholdingAgent
public Form1042SRequest primaryWithholdingAgent(PrimaryWithholdingAgentRequest primaryWithholdingAgent)
-
getPrimaryWithholdingAgent
@Nullable public PrimaryWithholdingAgentRequest getPrimaryWithholdingAgent()
Primary withholding agent information- Returns:
- primaryWithholdingAgent
-
setPrimaryWithholdingAgent
public void setPrimaryWithholdingAgent(PrimaryWithholdingAgentRequest primaryWithholdingAgent)
-
intermediaryOrFlowThrough
public Form1042SRequest intermediaryOrFlowThrough(IntermediaryOrFlowThroughRequest intermediaryOrFlowThrough)
-
getIntermediaryOrFlowThrough
@Nullable public IntermediaryOrFlowThroughRequest getIntermediaryOrFlowThrough()
Intermediary or flow-through entity information- Returns:
- intermediaryOrFlowThrough
-
setIntermediaryOrFlowThrough
public void setIntermediaryOrFlowThrough(IntermediaryOrFlowThroughRequest intermediaryOrFlowThrough)
-
stateAndLocalWithholding
public Form1042SRequest stateAndLocalWithholding(StateAndLocalWithholdingRequest stateAndLocalWithholding)
-
getStateAndLocalWithholding
@Nullable public StateAndLocalWithholdingRequest getStateAndLocalWithholding()
State and local withholding information- Returns:
- stateAndLocalWithholding
-
setStateAndLocalWithholding
public void setStateAndLocalWithholding(StateAndLocalWithholdingRequest stateAndLocalWithholding)
-
type
public Form1042SRequest type(Form1042SRequest.TypeEnum type)
-
getType
@Nullable public Form1042SRequest.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(Form1042SRequest.TypeEnum type)
-
issuerId
public Form1042SRequest issuerId(String issuerId)
-
setIssuerId
public void setIssuerId(String issuerId)
-
referenceId
public Form1042SRequest referenceId(String referenceId)
-
setReferenceId
public void setReferenceId(String referenceId)
-
recipientTin
public Form1042SRequest recipientTin(String recipientTin)
-
getRecipientTin
@Nullable public String getRecipientTin()
Recipient Tax ID Number- Returns:
- recipientTin
-
setRecipientTin
public void setRecipientTin(String recipientTin)
-
recipientName
public Form1042SRequest recipientName(String recipientName)
-
setRecipientName
public void setRecipientName(String recipientName)
-
tinType
public Form1042SRequest tinType(Form1042SRequest.TinTypeEnum tinType)
-
getTinType
@Nullable public Form1042SRequest.TinTypeEnum getTinType()
Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN- Returns:
- tinType
-
setTinType
public void setTinType(Form1042SRequest.TinTypeEnum tinType)
-
recipientSecondName
public Form1042SRequest recipientSecondName(String recipientSecondName)
-
getRecipientSecondName
@Nullable public String getRecipientSecondName()
Recipient second name- Returns:
- recipientSecondName
-
setRecipientSecondName
public void setRecipientSecondName(String recipientSecondName)
-
address
public Form1042SRequest address(String address)
-
setAddress
public void setAddress(String address)
-
address2
public Form1042SRequest address2(String address2)
-
setAddress2
public void setAddress2(String address2)
-
city
public Form1042SRequest city(String city)
-
setCity
public void setCity(String city)
-
state
public Form1042SRequest state(String state)
-
getState
@Nullable public String getState()
US state. Required if CountryCode is \"US\".- Returns:
- state
-
setState
public void setState(String state)
-
zip
public Form1042SRequest zip(String zip)
-
setZip
public void setZip(String zip)
-
email
public Form1042SRequest email(String email)
-
setEmail
public void setEmail(String email)
-
accountNumber
public Form1042SRequest accountNumber(String accountNumber)
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
officeCode
public Form1042SRequest officeCode(String officeCode)
-
setOfficeCode
public void setOfficeCode(String officeCode)
-
nonUsProvince
public Form1042SRequest nonUsProvince(String nonUsProvince)
-
setNonUsProvince
public void setNonUsProvince(String nonUsProvince)
-
countryCode
public Form1042SRequest 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)
-
federalEFile
public Form1042SRequest federalEFile(Boolean federalEFile)
-
getFederalEFile
@Nullable public Boolean getFederalEFile()
Boolean indicating that federal e-filing should be scheduled for this form- Returns:
- federalEFile
-
setFederalEFile
public void setFederalEFile(Boolean federalEFile)
-
postalMail
public Form1042SRequest postalMail(Boolean postalMail)
-
getPostalMail
@Nullable public Boolean getPostalMail()
Boolean indicating that postal mailing to the recipient should be scheduled for this form- Returns:
- postalMail
-
setPostalMail
public void setPostalMail(Boolean postalMail)
-
stateEFile
public Form1042SRequest stateEFile(Boolean stateEFile)
-
getStateEFile
@Nullable public Boolean getStateEFile()
Boolean indicating that state e-filing should be scheduled for this form- Returns:
- stateEFile
-
setStateEFile
public void setStateEFile(Boolean stateEFile)
-
tinMatch
public Form1042SRequest tinMatch(Boolean tinMatch)
-
getTinMatch
@Nullable public Boolean getTinMatch()
Boolean indicating that TIN Matching should be scheduled for this form- Returns:
- tinMatch
-
setTinMatch
public void setTinMatch(Boolean tinMatch)
-
noTin
public Form1042SRequest noTin(Boolean noTin)
-
getNoTin
@Nullable public Boolean getNoTin()
Indicates whether the recipient has no TIN- Returns:
- noTin
-
setNoTin
public void setNoTin(Boolean noTin)
-
secondTinNotice
public Form1042SRequest secondTinNotice(Boolean secondTinNotice)
-
getSecondTinNotice
@Nullable public Boolean getSecondTinNotice()
Second TIN notice in three years- Returns:
- secondTinNotice
-
setSecondTinNotice
public void setSecondTinNotice(Boolean secondTinNotice)
-
fatcaFilingRequirement
public Form1042SRequest fatcaFilingRequirement(Boolean fatcaFilingRequirement)
-
getFatcaFilingRequirement
@Nullable public Boolean getFatcaFilingRequirement()
Fatca filing requirement- Returns:
- fatcaFilingRequirement
-
setFatcaFilingRequirement
public void setFatcaFilingRequirement(Boolean fatcaFilingRequirement)
-
addressVerification
public Form1042SRequest addressVerification(Boolean addressVerification)
-
getAddressVerification
@Nullable public Boolean getAddressVerification()
Boolean indicating that address verification should be scheduled for this form- Returns:
- addressVerification
-
setAddressVerification
public void setAddressVerification(Boolean addressVerification)
-
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 Form1042SRequest
-
fromJson
public static Form1042SRequest fromJson(String jsonString) throws IOException
Create an instance of Form1042SRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Form1042SRequest
- Throws:
IOException- if the JSON string is invalid with respect to Form1042SRequest
-
toJson
public String toJson()
Convert an instance of Form1042SRequest to an JSON string- Returns:
- JSON string
-
-