Package Avalara.SDK.model.A1099.V2
Class Form1099NecRequest
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.Form1099NecRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Form1099NecRequest extends Object
Form1099NecRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForm1099NecRequest.CustomTypeAdapterFactorystatic classForm1099NecRequest.TinTypeEnumType of TIN (Tax ID Number).static classForm1099NecRequest.TypeEnumGets or Sets type
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Form1099NecRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Form1099NecRequestaccountNumber(String accountNumber)Form1099NecRequestaddress(String address)Form1099NecRequestaddress2(String address2)Form1099NecRequestaddressVerification(Boolean addressVerification)Form1099NecRequestcity(String city)Form1099NecRequestcountryCode(String countryCode)Form1099NecRequestdirectSalesIndicator(Boolean directSalesIndicator)Form1099NecRequestemail(String email)booleanequals(Object o)Form1099NecRequestfederalEFile(Boolean federalEFile)Form1099NecRequestfederalIncomeTaxWithheld(Double federalIncomeTaxWithheld)static Form1099NecRequestfromJson(String jsonString)Create an instance of Form1099NecRequest given an JSON stringStringgetAccountNumber()Account numberStringgetAddress()AddressStringgetAddress2()Address line 2BooleangetAddressVerification()Boolean indicating that address verification should be scheduled for this formStringgetCity()CityStringgetCountryCode()Country code, as defined at https://www.irs.gov/e-file-providers/country-codesBooleangetDirectSalesIndicator()Payer made direct sales totaling $5,000 or more of consumer products to recipient for resaleStringgetEmail()Recipient email addressBooleangetFederalEFile()Boolean indicating that federal e-filing should be scheduled for this formDoublegetFederalIncomeTaxWithheld()Federal income tax withheldStringgetIssuerId()Issuer IDDoublegetNonemployeeCompensation()Nonemployee compensationStringgetNonUsProvince()Foreign provinceBooleangetNoTin()Indicates whether the recipient has no TINStringgetOfficeCode()Office codeBooleangetPostalMail()Boolean indicating that postal mailing to the recipient should be scheduled for this formStringgetRecipientName()Recipient nameStringgetRecipientSecondName()Recipient second nameStringgetRecipientTin()Recipient Tax ID NumberStringgetReferenceId()Reference IDBooleangetSecondTinNotice()Second TIN notice in three yearsStringgetState()US state.StateAndLocalWithholdingRequestgetStateAndLocalWithholding()State and local withholding informationBooleangetStateEFile()Boolean indicating that state e-filing should be scheduled for this formBooleangetTinMatch()Boolean indicating that TIN Matching should be scheduled for this formForm1099NecRequest.TinTypeEnumgetTinType()Type of TIN (Tax ID Number).Form1099NecRequest.TypeEnumgetType()Get typeStringgetZip()Zip/postal codeinthashCode()Form1099NecRequestissuerId(String issuerId)Form1099NecRequestnonemployeeCompensation(Double nonemployeeCompensation)Form1099NecRequestnonUsProvince(String nonUsProvince)Form1099NecRequestnoTin(Boolean noTin)Form1099NecRequestofficeCode(String officeCode)Form1099NecRequestpostalMail(Boolean postalMail)Form1099NecRequestrecipientName(String recipientName)Form1099NecRequestrecipientSecondName(String recipientSecondName)Form1099NecRequestrecipientTin(String recipientTin)Form1099NecRequestreferenceId(String referenceId)Form1099NecRequestsecondTinNotice(Boolean secondTinNotice)voidsetAccountNumber(String accountNumber)voidsetAddress(String address)voidsetAddress2(String address2)voidsetAddressVerification(Boolean addressVerification)voidsetCity(String city)voidsetCountryCode(String countryCode)voidsetDirectSalesIndicator(Boolean directSalesIndicator)voidsetEmail(String email)voidsetFederalEFile(Boolean federalEFile)voidsetFederalIncomeTaxWithheld(Double federalIncomeTaxWithheld)voidsetIssuerId(String issuerId)voidsetNonemployeeCompensation(Double nonemployeeCompensation)voidsetNonUsProvince(String nonUsProvince)voidsetNoTin(Boolean noTin)voidsetOfficeCode(String officeCode)voidsetPostalMail(Boolean postalMail)voidsetRecipientName(String recipientName)voidsetRecipientSecondName(String recipientSecondName)voidsetRecipientTin(String recipientTin)voidsetReferenceId(String referenceId)voidsetSecondTinNotice(Boolean secondTinNotice)voidsetState(String state)voidsetStateAndLocalWithholding(StateAndLocalWithholdingRequest stateAndLocalWithholding)voidsetStateEFile(Boolean stateEFile)voidsetTinMatch(Boolean tinMatch)voidsetTinType(Form1099NecRequest.TinTypeEnum tinType)voidsetType(Form1099NecRequest.TypeEnum type)voidsetZip(String zip)Form1099NecRequeststate(String state)Form1099NecRequeststateAndLocalWithholding(StateAndLocalWithholdingRequest stateAndLocalWithholding)Form1099NecRequeststateEFile(Boolean stateEFile)Form1099NecRequesttinMatch(Boolean tinMatch)Form1099NecRequesttinType(Form1099NecRequest.TinTypeEnum tinType)StringtoJson()Convert an instance of Form1099NecRequest to an JSON stringStringtoString()Form1099NecRequesttype(Form1099NecRequest.TypeEnum type)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundForm1099NecRequestzip(String zip)
-
-
-
Field Detail
-
SERIALIZED_NAME_NONEMPLOYEE_COMPENSATION
public static final String SERIALIZED_NAME_NONEMPLOYEE_COMPENSATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DIRECT_SALES_INDICATOR
public static final String SERIALIZED_NAME_DIRECT_SALES_INDICATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD
public static final String SERIALIZED_NAME_FEDERAL_INCOME_TAX_WITHHELD
- 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_ADDRESS_VERIFICATION
public static final String SERIALIZED_NAME_ADDRESS_VERIFICATION
- 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
-
-
Method Detail
-
nonemployeeCompensation
public Form1099NecRequest nonemployeeCompensation(Double nonemployeeCompensation)
-
getNonemployeeCompensation
@Nonnull public Double getNonemployeeCompensation()
Nonemployee compensation- Returns:
- nonemployeeCompensation
-
setNonemployeeCompensation
public void setNonemployeeCompensation(Double nonemployeeCompensation)
-
directSalesIndicator
public Form1099NecRequest directSalesIndicator(Boolean directSalesIndicator)
-
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)
-
federalIncomeTaxWithheld
public Form1099NecRequest federalIncomeTaxWithheld(Double federalIncomeTaxWithheld)
-
getFederalIncomeTaxWithheld
@Nullable public Double getFederalIncomeTaxWithheld()
Federal income tax withheld- Returns:
- federalIncomeTaxWithheld
-
setFederalIncomeTaxWithheld
public void setFederalIncomeTaxWithheld(Double federalIncomeTaxWithheld)
-
type
public Form1099NecRequest type(Form1099NecRequest.TypeEnum type)
-
getType
@Nullable public Form1099NecRequest.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(Form1099NecRequest.TypeEnum type)
-
issuerId
public Form1099NecRequest issuerId(String issuerId)
-
setIssuerId
public void setIssuerId(String issuerId)
-
referenceId
public Form1099NecRequest referenceId(String referenceId)
-
setReferenceId
public void setReferenceId(String referenceId)
-
recipientTin
public Form1099NecRequest recipientTin(String recipientTin)
-
getRecipientTin
@Nullable public String getRecipientTin()
Recipient Tax ID Number- Returns:
- recipientTin
-
setRecipientTin
public void setRecipientTin(String recipientTin)
-
recipientName
public Form1099NecRequest recipientName(String recipientName)
-
setRecipientName
public void setRecipientName(String recipientName)
-
tinType
public Form1099NecRequest tinType(Form1099NecRequest.TinTypeEnum tinType)
-
getTinType
@Nullable public Form1099NecRequest.TinTypeEnum getTinType()
Type of TIN (Tax ID Number). Will be one of: * SSN * EIN * ITIN * ATIN- Returns:
- tinType
-
setTinType
public void setTinType(Form1099NecRequest.TinTypeEnum tinType)
-
recipientSecondName
public Form1099NecRequest recipientSecondName(String recipientSecondName)
-
getRecipientSecondName
@Nullable public String getRecipientSecondName()
Recipient second name- Returns:
- recipientSecondName
-
setRecipientSecondName
public void setRecipientSecondName(String recipientSecondName)
-
address
public Form1099NecRequest address(String address)
-
setAddress
public void setAddress(String address)
-
address2
public Form1099NecRequest address2(String address2)
-
setAddress2
public void setAddress2(String address2)
-
city
public Form1099NecRequest city(String city)
-
setCity
public void setCity(String city)
-
state
public Form1099NecRequest 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 Form1099NecRequest zip(String zip)
-
setZip
public void setZip(String zip)
-
email
public Form1099NecRequest email(String email)
-
setEmail
public void setEmail(String email)
-
accountNumber
public Form1099NecRequest accountNumber(String accountNumber)
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
officeCode
public Form1099NecRequest officeCode(String officeCode)
-
setOfficeCode
public void setOfficeCode(String officeCode)
-
nonUsProvince
public Form1099NecRequest nonUsProvince(String nonUsProvince)
-
setNonUsProvince
public void setNonUsProvince(String nonUsProvince)
-
countryCode
public Form1099NecRequest countryCode(String countryCode)
-
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)
-
federalEFile
public Form1099NecRequest 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 Form1099NecRequest 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 Form1099NecRequest 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 Form1099NecRequest 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 Form1099NecRequest 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 Form1099NecRequest secondTinNotice(Boolean secondTinNotice)
-
getSecondTinNotice
@Nullable public Boolean getSecondTinNotice()
Second TIN notice in three years- Returns:
- secondTinNotice
-
setSecondTinNotice
public void setSecondTinNotice(Boolean secondTinNotice)
-
addressVerification
public Form1099NecRequest 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)
-
stateAndLocalWithholding
public Form1099NecRequest stateAndLocalWithholding(StateAndLocalWithholdingRequest stateAndLocalWithholding)
-
getStateAndLocalWithholding
@Nullable public StateAndLocalWithholdingRequest getStateAndLocalWithholding()
State and local withholding information- Returns:
- stateAndLocalWithholding
-
setStateAndLocalWithholding
public void setStateAndLocalWithholding(StateAndLocalWithholdingRequest 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 Form1099NecRequest
-
fromJson
public static Form1099NecRequest fromJson(String jsonString) throws IOException
Create an instance of Form1099NecRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Form1099NecRequest
- Throws:
IOException- if the JSON string is invalid with respect to Form1099NecRequest
-
toJson
public String toJson()
Convert an instance of Form1099NecRequest to an JSON string- Returns:
- JSON string
-
-