Class Form1042S


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class Form1042S
    extends Object
    Form1042S
    • Constructor Detail

      • Form1042S

        public Form1042S()
    • Method Detail

      • getUniqueFormId

        @Nullable
        public String getUniqueFormId()
        Get uniqueFormId
        Returns:
        uniqueFormId
      • setUniqueFormId

        public void setUniqueFormId​(String uniqueFormId)
      • getRecipientDateOfBirth

        @Nullable
        public OffsetDateTime getRecipientDateOfBirth()
        Get recipientDateOfBirth
        Returns:
        recipientDateOfBirth
      • setRecipientDateOfBirth

        public void setRecipientDateOfBirth​(OffsetDateTime recipientDateOfBirth)
      • getRecipientGiin

        @Nullable
        public String getRecipientGiin()
        Get recipientGiin
        Returns:
        recipientGiin
      • setRecipientGiin

        public void setRecipientGiin​(String recipientGiin)
      • recipientForeignTin

        public Form1042S recipientForeignTin​(String recipientForeignTin)
      • getRecipientForeignTin

        @Nullable
        public String getRecipientForeignTin()
        Get recipientForeignTin
        Returns:
        recipientForeignTin
      • setRecipientForeignTin

        public void setRecipientForeignTin​(String recipientForeignTin)
      • getLobCode

        @Nullable
        public String getLobCode()
        Get lobCode
        Returns:
        lobCode
      • setLobCode

        public void setLobCode​(String lobCode)
      • getIncomeCode

        @Nullable
        public String getIncomeCode()
        Get incomeCode
        Returns:
        incomeCode
      • setIncomeCode

        public void setIncomeCode​(String incomeCode)
      • getGrossIncome

        @Nullable
        public Double getGrossIncome()
        Get grossIncome
        Returns:
        grossIncome
      • setGrossIncome

        public void setGrossIncome​(Double grossIncome)
      • withholdingIndicator

        public Form1042S withholdingIndicator​(String withholdingIndicator)
      • getWithholdingIndicator

        @Nullable
        public String getWithholdingIndicator()
        Get withholdingIndicator
        Returns:
        withholdingIndicator
      • setWithholdingIndicator

        public void setWithholdingIndicator​(String withholdingIndicator)
      • taxCountryCode

        public Form1042S taxCountryCode​(String taxCountryCode)
      • getTaxCountryCode

        @Nullable
        public String getTaxCountryCode()
        Get taxCountryCode
        Returns:
        taxCountryCode
      • setTaxCountryCode

        public void setTaxCountryCode​(String taxCountryCode)
      • exemptionCodeChap3

        public Form1042S exemptionCodeChap3​(String exemptionCodeChap3)
      • getExemptionCodeChap3

        @Nullable
        public String getExemptionCodeChap3()
        Get exemptionCodeChap3
        Returns:
        exemptionCodeChap3
      • setExemptionCodeChap3

        public void setExemptionCodeChap3​(String exemptionCodeChap3)
      • exemptionCodeChap4

        public Form1042S exemptionCodeChap4​(String exemptionCodeChap4)
      • getExemptionCodeChap4

        @Nullable
        public String getExemptionCodeChap4()
        Get exemptionCodeChap4
        Returns:
        exemptionCodeChap4
      • setExemptionCodeChap4

        public void setExemptionCodeChap4​(String exemptionCodeChap4)
      • getTaxRateChap3

        @Nullable
        public String getTaxRateChap3()
        Get taxRateChap3
        Returns:
        taxRateChap3
      • setTaxRateChap3

        public void setTaxRateChap3​(String taxRateChap3)
      • withholdingAllowance

        public Form1042S withholdingAllowance​(Double withholdingAllowance)
      • getWithholdingAllowance

        @Nullable
        public Double getWithholdingAllowance()
        Get withholdingAllowance
        Returns:
        withholdingAllowance
      • setWithholdingAllowance

        public void setWithholdingAllowance​(Double withholdingAllowance)
      • federalTaxWithheld

        public Form1042S federalTaxWithheld​(Double federalTaxWithheld)
      • getFederalTaxWithheld

        @Nullable
        public Double getFederalTaxWithheld()
        Get federalTaxWithheld
        Returns:
        federalTaxWithheld
      • setFederalTaxWithheld

        public void setFederalTaxWithheld​(Double federalTaxWithheld)
      • taxNotDepositedIndicator

        public Form1042S taxNotDepositedIndicator​(Boolean taxNotDepositedIndicator)
      • getTaxNotDepositedIndicator

        @Nullable
        public Boolean getTaxNotDepositedIndicator()
        Get taxNotDepositedIndicator
        Returns:
        taxNotDepositedIndicator
      • setTaxNotDepositedIndicator

        public void setTaxNotDepositedIndicator​(Boolean taxNotDepositedIndicator)
      • academicIndicator

        public Form1042S academicIndicator​(Boolean academicIndicator)
      • getAcademicIndicator

        @Nullable
        public Boolean getAcademicIndicator()
        Get academicIndicator
        Returns:
        academicIndicator
      • setAcademicIndicator

        public void setAcademicIndicator​(Boolean academicIndicator)
      • taxWithheldOtherAgents

        public Form1042S taxWithheldOtherAgents​(Double taxWithheldOtherAgents)
      • getTaxWithheldOtherAgents

        @Nullable
        public Double getTaxWithheldOtherAgents()
        Get taxWithheldOtherAgents
        Returns:
        taxWithheldOtherAgents
      • setTaxWithheldOtherAgents

        public void setTaxWithheldOtherAgents​(Double taxWithheldOtherAgents)
      • getAmountRepaid

        @Nullable
        public Double getAmountRepaid()
        Get amountRepaid
        Returns:
        amountRepaid
      • setAmountRepaid

        public void setAmountRepaid​(Double amountRepaid)
      • getTaxPaidAgent

        @Nullable
        public Double getTaxPaidAgent()
        Get taxPaidAgent
        Returns:
        taxPaidAgent
      • setTaxPaidAgent

        public void setTaxPaidAgent​(Double taxPaidAgent)
      • chap3StatusCode

        public Form1042S chap3StatusCode​(String chap3StatusCode)
      • getChap3StatusCode

        @Nullable
        public String getChap3StatusCode()
        Get chap3StatusCode
        Returns:
        chap3StatusCode
      • setChap3StatusCode

        public void setChap3StatusCode​(String chap3StatusCode)
      • chap4StatusCode

        public Form1042S chap4StatusCode​(String chap4StatusCode)
      • getChap4StatusCode

        @Nullable
        public String getChap4StatusCode()
        Get chap4StatusCode
        Returns:
        chap4StatusCode
      • setChap4StatusCode

        public void setChap4StatusCode​(String chap4StatusCode)
      • getPrimaryWithholdingAgent

        @Nullable
        public PrimaryWithholdingAgent getPrimaryWithholdingAgent()
        Get primaryWithholdingAgent
        Returns:
        primaryWithholdingAgent
      • setPrimaryWithholdingAgent

        public void setPrimaryWithholdingAgent​(PrimaryWithholdingAgent primaryWithholdingAgent)
      • getIntermediaryOrFlowThrough

        @Nullable
        public IntermediaryOrFlowThrough getIntermediaryOrFlowThrough()
        Get intermediaryOrFlowThrough
        Returns:
        intermediaryOrFlowThrough
      • setIntermediaryOrFlowThrough

        public void setIntermediaryOrFlowThrough​(IntermediaryOrFlowThrough intermediaryOrFlowThrough)
      • setId

        public void setId​(String id)
      • setType

        public void setType​(String type)
      • getIssuerId

        @Nullable
        public Integer getIssuerId()
        Get issuerId
        Returns:
        issuerId
      • setIssuerId

        public void setIssuerId​(Integer issuerId)
      • issuerReferenceId

        public Form1042S issuerReferenceId​(String issuerReferenceId)
      • getIssuerReferenceId

        @Nullable
        public String getIssuerReferenceId()
        Get issuerReferenceId
        Returns:
        issuerReferenceId
      • setIssuerReferenceId

        public void setIssuerReferenceId​(String issuerReferenceId)
      • getIssuerTin

        @Nullable
        public String getIssuerTin()
        Get issuerTin
        Returns:
        issuerTin
      • setIssuerTin

        public void setIssuerTin​(String issuerTin)
      • getTaxYear

        @Nullable
        public Integer getTaxYear()
        Get taxYear
        Returns:
        taxYear
      • setTaxYear

        public void setTaxYear​(Integer taxYear)
      • getFederalEfile

        @Nullable
        public Boolean getFederalEfile()
        Get federalEfile
        Returns:
        federalEfile
      • setFederalEfile

        public void setFederalEfile​(Boolean federalEfile)
      • setFederalEfileStatus

        public void setFederalEfileStatus​(Form1099StatusDetail federalEfileStatus)
      • getStateEfile

        @Nullable
        public Boolean getStateEfile()
        Get stateEfile
        Returns:
        stateEfile
      • setStateEfile

        public void setStateEfile​(Boolean stateEfile)
      • getPostalMail

        @Nullable
        public Boolean getPostalMail()
        Get postalMail
        Returns:
        postalMail
      • setPostalMail

        public void setPostalMail​(Boolean postalMail)
      • getTinMatch

        @Nullable
        public Boolean getTinMatch()
        Get tinMatch
        Returns:
        tinMatch
      • setTinMatch

        public void setTinMatch​(Boolean tinMatch)
      • addressVerification

        public Form1042S addressVerification​(Boolean addressVerification)
      • getAddressVerification

        @Nullable
        public Boolean getAddressVerification()
        Get addressVerification
        Returns:
        addressVerification
      • setAddressVerification

        public void setAddressVerification​(Boolean addressVerification)
      • getAddressVerificationStatus

        @Nullable
        public Form1099StatusDetail getAddressVerificationStatus()
        Get addressVerificationStatus
        Returns:
        addressVerificationStatus
      • setAddressVerificationStatus

        public void setAddressVerificationStatus​(Form1099StatusDetail addressVerificationStatus)
      • getReferenceId

        @Nullable
        public String getReferenceId()
        Get referenceId
        Returns:
        referenceId
      • setReferenceId

        public void setReferenceId​(String referenceId)
      • setEmail

        public void setEmail​(String email)
      • getTinType

        @Nullable
        public String getTinType()
        Get tinType
        Returns:
        tinType
      • setTinType

        public void setTinType​(String tinType)
      • fatcaFilingRequirement

        public Form1042S fatcaFilingRequirement​(Boolean fatcaFilingRequirement)
      • getFatcaFilingRequirement

        @Nullable
        public Boolean getFatcaFilingRequirement()
        Get fatcaFilingRequirement
        Returns:
        fatcaFilingRequirement
      • setFatcaFilingRequirement

        public void setFatcaFilingRequirement​(Boolean fatcaFilingRequirement)
      • setTin

        public void setTin​(String tin)
      • setNoTin

        public void setNoTin​(Boolean noTin)
      • secondTinNotice

        public Form1042S secondTinNotice​(Boolean secondTinNotice)
      • getSecondTinNotice

        @Nullable
        public Boolean getSecondTinNotice()
        Get secondTinNotice
        Returns:
        secondTinNotice
      • setSecondTinNotice

        public void setSecondTinNotice​(Boolean secondTinNotice)
      • getRecipientName

        @Nullable
        public String getRecipientName()
        Get recipientName
        Returns:
        recipientName
      • setRecipientName

        public void setRecipientName​(String recipientName)
      • recipientSecondName

        public Form1042S recipientSecondName​(String recipientSecondName)
      • getRecipientSecondName

        @Nullable
        public String getRecipientSecondName()
        Get recipientSecondName
        Returns:
        recipientSecondName
      • setRecipientSecondName

        public void setRecipientSecondName​(String recipientSecondName)
      • getAddress

        @Nullable
        public String getAddress()
        Get address
        Returns:
        address
      • setAddress

        public void setAddress​(String address)
      • getAddress2

        @Nullable
        public String getAddress2()
        Get address2
        Returns:
        address2
      • setAddress2

        public void setAddress2​(String address2)
      • setCity

        public void setCity​(String city)
      • setState

        public void setState​(String state)
      • setZip

        public void setZip​(String zip)
      • getNonUsProvince

        @Nullable
        public String getNonUsProvince()
        Get nonUsProvince
        Returns:
        nonUsProvince
      • setNonUsProvince

        public void setNonUsProvince​(String nonUsProvince)
      • getCountryCode

        @Nullable
        public String getCountryCode()
        Get countryCode
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(String countryCode)
      • getAccountNumber

        @Nullable
        public String getAccountNumber()
        Get accountNumber
        Returns:
        accountNumber
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
      • getOfficeCode

        @Nullable
        public String getOfficeCode()
        Get officeCode
        Returns:
        officeCode
      • setOfficeCode

        public void setOfficeCode​(String officeCode)
      • setValidationErrors

        public void setValidationErrors​(List<ValidationError> validationErrors)
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
      • setUpdatedAt

        public void setUpdatedAt​(OffsetDateTime updatedAt)
      • getStateAndLocalWithholding

        @Nullable
        public StateAndLocalWithholding getStateAndLocalWithholding()
        Get stateAndLocalWithholding
        Returns:
        stateAndLocalWithholding
      • setStateAndLocalWithholding

        public void setStateAndLocalWithholding​(StateAndLocalWithholding stateAndLocalWithholding)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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 Form1042S
      • fromJson

        public static Form1042S fromJson​(String jsonString)
                                  throws IOException
        Create an instance of Form1042S given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Form1042S
        Throws:
        IOException - if the JSON string is invalid with respect to Form1042S
      • toJson

        public String toJson()
        Convert an instance of Form1042S to an JSON string
        Returns:
        JSON string