Class Form1099NecListItem


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class Form1099NecListItem
    extends Object
    1099-NEC - Nonemployee compensation
    • Constructor Detail

      • Form1099NecListItem

        public Form1099NecListItem()
    • Method Detail

      • getSecondTinNotice

        @Nullable
        public Boolean getSecondTinNotice()
        Second TIN notice
        Returns:
        secondTinNotice
      • setSecondTinNotice

        public void setSecondTinNotice​(Boolean secondTinNotice)
      • getNonemployeeCompensation

        @Nonnull
        public Double getNonemployeeCompensation()
        Nonemployee compensation
        Returns:
        nonemployeeCompensation
      • setNonemployeeCompensation

        public void setNonemployeeCompensation​(Double nonemployeeCompensation)
      • getDirectSalesIndicator

        @Nullable
        public Boolean getDirectSalesIndicator()
        Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale
        Returns:
        directSalesIndicator
      • setDirectSalesIndicator

        public void setDirectSalesIndicator​(Boolean directSalesIndicator)
      • getFederalIncomeTaxWithheld

        @Nullable
        public Double getFederalIncomeTaxWithheld()
        Federal income tax withheld
        Returns:
        federalIncomeTaxWithheld
      • setFederalIncomeTaxWithheld

        public void setFederalIncomeTaxWithheld​(Double federalIncomeTaxWithheld)
      • getIssuerReferenceId

        @Nullable
        public String getIssuerReferenceId()
        Issuer Reference ID. One of `issuerReferenceId` or `issuerTin` is required.
        Returns:
        issuerReferenceId
      • setIssuerReferenceId

        public void setIssuerReferenceId​(String issuerReferenceId)
      • getIssuerTin

        @Nullable
        public String getIssuerTin()
        Issuer TIN. One of `issuerReferenceId` or `issuerTin` is required.
        Returns:
        issuerTin
      • setIssuerTin

        public void setIssuerTin​(String issuerTin)
      • getTaxYear

        @Nonnull
        public Integer getTaxYear()
        Tax year
        Returns:
        taxYear
      • setTaxYear

        public void setTaxYear​(Integer taxYear)
      • getIssuerId

        @Nullable
        public String getIssuerId()
        Issuer ID
        Returns:
        issuerId
      • setIssuerId

        public void setIssuerId​(String issuerId)
      • getReferenceId

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

        public void setReferenceId​(String referenceId)
      • getRecipientTin

        @Nullable
        public String getRecipientTin()
        Recipient Tax ID Number
        Returns:
        recipientTin
      • setRecipientTin

        public void setRecipientTin​(String recipientTin)
      • getRecipientName

        @Nonnull
        public String getRecipientName()
        Recipient name
        Returns:
        recipientName
      • setRecipientName

        public void setRecipientName​(String recipientName)
      • getRecipientSecondName

        @Nullable
        public String getRecipientSecondName()
        Recipient second name
        Returns:
        recipientSecondName
      • setRecipientSecondName

        public void setRecipientSecondName​(String recipientSecondName)
      • getAddress

        @Nonnull
        public String getAddress()
        Address
        Returns:
        address
      • setAddress

        public void setAddress​(String address)
      • getAddress2

        @Nullable
        public String getAddress2()
        Address line 2
        Returns:
        address2
      • setAddress2

        public void setAddress2​(String address2)
      • setCity

        public void setCity​(String city)
      • getState

        @Nullable
        public String getState()
        US state. Required if CountryCode is \"US\".
        Returns:
        state
      • setState

        public void setState​(String state)
      • setZip

        public void setZip​(String zip)
      • getRecipientEmail

        @Nullable
        public String getRecipientEmail()
        Recipient email address
        Returns:
        recipientEmail
      • setRecipientEmail

        public void setRecipientEmail​(String recipientEmail)
      • getAccountNumber

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

        public void setAccountNumber​(String accountNumber)
      • getOfficeCode

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

        public void setOfficeCode​(String officeCode)
      • getRecipientNonUsProvince

        @Nullable
        public String getRecipientNonUsProvince()
        Foreign province
        Returns:
        recipientNonUsProvince
      • setRecipientNonUsProvince

        public void setRecipientNonUsProvince​(String recipientNonUsProvince)
      • getCountryCode

        @Nonnull
        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)
      • 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)
      • 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)
      • 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)
      • getTinMatch

        @Nullable
        public Boolean getTinMatch()
        Boolean indicating that TIN Matching should be scheduled for this form
        Returns:
        tinMatch
      • setTinMatch

        public void setTinMatch​(Boolean tinMatch)
      • getAddressVerification

        @Nullable
        public Boolean getAddressVerification()
        Boolean indicating that address verification should be scheduled for this form
        Returns:
        addressVerification
      • setAddressVerification

        public void setAddressVerification​(Boolean addressVerification)
      • 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 Form1099NecListItem
      • fromJson

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

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