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
-
-
-
Field Detail
-
SERIALIZED_NAME_SECOND_TIN_NOTICE
public static final String SERIALIZED_NAME_SECOND_TIN_NOTICE
- See Also:
- Constant Field Values
-
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_RECIPIENT_EMAIL
public static final String SERIALIZED_NAME_RECIPIENT_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_RECIPIENT_NON_US_PROVINCE
public static final String SERIALIZED_NAME_RECIPIENT_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_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
-
secondTinNotice
public Form1099NecRequest secondTinNotice(Boolean secondTinNotice)
-
getSecondTinNotice
@Nullable public Boolean getSecondTinNotice()
Second TIN notice- Returns:
- secondTinNotice
-
setSecondTinNotice
public void setSecondTinNotice(Boolean secondTinNotice)
-
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)
-
recipientEmail
public Form1099NecRequest recipientEmail(String recipientEmail)
-
getRecipientEmail
@Nullable public String getRecipientEmail()
Recipient email address- Returns:
- recipientEmail
-
setRecipientEmail
public void setRecipientEmail(String recipientEmail)
-
accountNumber
public Form1099NecRequest accountNumber(String accountNumber)
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
officeCode
public Form1099NecRequest officeCode(String officeCode)
-
setOfficeCode
public void setOfficeCode(String officeCode)
-
recipientNonUsProvince
public Form1099NecRequest recipientNonUsProvince(String recipientNonUsProvince)
-
getRecipientNonUsProvince
@Nullable public String getRecipientNonUsProvince()
Foreign province- Returns:
- recipientNonUsProvince
-
setRecipientNonUsProvince
public void setRecipientNonUsProvince(String recipientNonUsProvince)
-
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)
-
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
-
-