Class NewAccountRequestModel
java.lang.Object
net.avalara.avatax.rest.client.models.NewAccountRequestModel
Represents a request for a new account with Avalara for a new subscriber.
Contains information about the account requested and the rate plan selected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for acceptAvalaraTermsAndConditions Set this to true if and only if the owner of the newly created account accepts Avalara's terms and conditions for your account.Getter for accountName The name of the account to createGetter for accountType Type of the account to be created.Getter for campaign If your Avalara business development representative requests, please provide the campaign ID associated with your signup process.Getter for companyAddressGetter for companyCode Company code to be assigned to the company created for this account.Getter for connectorId The id associated with the connectorGetter for effectiveDate The date on which the account should take effect.getEmail()
Getter for email Email of the primary contact person for this accountGetter for endDate The date on which the account should expire.Getter for firstName First name of the primary contact person for this accountGetter for haveReadAvalaraTermsAndConditions Set this to true if and only if the owner of the newly created account has fully read Avalara's terms and conditions for your account.Getter for lastName Last name of the primary contact person for this accountGetter for leadSource If your Avalara business development representative requests, please provide the lead source value associated with your signup process.Getter for marketingContext A dynamic key-value pair for the marketing context informationgetOffer()
Getter for offer The offer code provided to you by your Avalara business development contact.Getter for paymentMethodId Payment Method to be associated with the account.Getter for phoneNumber Phone number of the primary contact person for this accountGetter for properties Properties of the primary contact person for this accountGetter for taxPayerIdNumber United States Taxpayer ID number, usually your Employer Identification Number if you are a business or your Social Security Number if you are an individual.getTitle()
Getter for title Title of the primary contact person for this accountGetter for username The username to be associated with the user created.Getter for userPassword If instructed by your Avalara business development manager, set this value to a temporary password to permit the user to continue their onboarding process.Getter for website Website of the new customer whose account is being created.Getter for welcomeEmail This option controls what type of a welcome email is sent when the account is created.void
Setter for acceptAvalaraTermsAndConditions Set this to true if and only if the owner of the newly created account accepts Avalara's terms and conditions for your account.void
setAccountName
(String value) Setter for accountName The name of the account to createvoid
setAccountType
(AccountTypeId value) Setter for accountType Type of the account to be created.void
setCampaign
(String value) Setter for campaign If your Avalara business development representative requests, please provide the campaign ID associated with your signup process.void
setCompanyAddress
(CompanyAddress value) Setter for companyAddressvoid
setCompanyCode
(String value) Setter for companyCode Company code to be assigned to the company created for this account.void
setConnectorId
(String value) Setter for connectorId The id associated with the connectorvoid
setEffectiveDate
(Date value) Setter for effectiveDate The date on which the account should take effect.void
Setter for email Email of the primary contact person for this accountvoid
setEndDate
(Date value) Setter for endDate The date on which the account should expire.void
setFirstName
(String value) Setter for firstName First name of the primary contact person for this accountvoid
Setter for haveReadAvalaraTermsAndConditions Set this to true if and only if the owner of the newly created account has fully read Avalara's terms and conditions for your account.void
setLastName
(String value) Setter for lastName Last name of the primary contact person for this accountvoid
setLeadSource
(String value) Setter for leadSource If your Avalara business development representative requests, please provide the lead source value associated with your signup process.void
setMarketingContext
(HashMap<String, String> value) Setter for marketingContext A dynamic key-value pair for the marketing context informationvoid
Setter for offer The offer code provided to you by your Avalara business development contact.void
setPaymentMethodId
(String value) Setter for paymentMethodId Payment Method to be associated with the account.void
setPhoneNumber
(String value) Setter for phoneNumber Phone number of the primary contact person for this accountvoid
setProperties
(ArrayList<String> value) Setter for properties Properties of the primary contact person for this accountvoid
setTaxPayerIdNumber
(String value) Setter for taxPayerIdNumber United States Taxpayer ID number, usually your Employer Identification Number if you are a business or your Social Security Number if you are an individual.void
Setter for title Title of the primary contact person for this accountvoid
setUsername
(String value) Setter for username The username to be associated with the user created.void
setUserPassword
(String value) Setter for userPassword If instructed by your Avalara business development manager, set this value to a temporary password to permit the user to continue their onboarding process.void
setWebsite
(String value) Setter for website Website of the new customer whose account is being created.void
setWelcomeEmail
(String value) Setter for welcomeEmail This option controls what type of a welcome email is sent when the account is created.toString()
Returns a JSON string representation of NewAccountRequestModel
-
Constructor Details
-
NewAccountRequestModel
public NewAccountRequestModel()
-
-
Method Details
-
getOffer
Getter for offer The offer code provided to you by your Avalara business development contact. This code controls what services and rates the customer will be provisioned with upon creation. If you do not know your offer code, please contact your Avalara business development representative. -
setOffer
Setter for offer The offer code provided to you by your Avalara business development contact. This code controls what services and rates the customer will be provisioned with upon creation. If you do not know your offer code, please contact your Avalara business development representative. -
getConnectorId
Getter for connectorId The id associated with the connector -
setConnectorId
Setter for connectorId The id associated with the connector -
getCampaign
Getter for campaign If your Avalara business development representative requests, please provide the campaign ID associated with your signup process. This campaign identifier helps Avalara match users to the context in which they learned about the product to help improve the accuracy of our messaging. The `campaign` field must be either null or a value provided to you by an Avalara business development representative. If you provide an unexpected value in this field, your API call will fail. -
setCampaign
Setter for campaign If your Avalara business development representative requests, please provide the campaign ID associated with your signup process. This campaign identifier helps Avalara match users to the context in which they learned about the product to help improve the accuracy of our messaging. The `campaign` field must be either null or a value provided to you by an Avalara business development representative. If you provide an unexpected value in this field, your API call will fail. -
getLeadSource
Getter for leadSource If your Avalara business development representative requests, please provide the lead source value associated with your signup process. This lead source identifier helps Avalara match users to the context in which they learned about the product to help improve the accuracy of our messaging. The `leadSource` field must be either null or a value provided to you by an Avalara business development representative. If you provide an unexpected value in this field, your API call will fail. -
setLeadSource
Setter for leadSource If your Avalara business development representative requests, please provide the lead source value associated with your signup process. This lead source identifier helps Avalara match users to the context in which they learned about the product to help improve the accuracy of our messaging. The `leadSource` field must be either null or a value provided to you by an Avalara business development representative. If you provide an unexpected value in this field, your API call will fail. -
getEffectiveDate
Getter for effectiveDate The date on which the account should take effect. If null, defaults to today. You should leave this value `null` unless specifically requested by your Avalara business development manager. -
setEffectiveDate
Setter for effectiveDate The date on which the account should take effect. If null, defaults to today. You should leave this value `null` unless specifically requested by your Avalara business development manager. -
getEndDate
Getter for endDate The date on which the account should expire. You should leave this value `null` unless specifically requested by your Avalara business development manager. -
setEndDate
Setter for endDate The date on which the account should expire. You should leave this value `null` unless specifically requested by your Avalara business development manager. -
getAccountName
Getter for accountName The name of the account to create -
setAccountName
Setter for accountName The name of the account to create -
getWebsite
Getter for website Website of the new customer whose account is being created. It is strongly recommended to provide the customer's website URL, as this will help our support representatives better assist customers. -
setWebsite
Setter for website Website of the new customer whose account is being created. It is strongly recommended to provide the customer's website URL, as this will help our support representatives better assist customers. -
getPaymentMethodId
Getter for paymentMethodId Payment Method to be associated with the account. This is strictly to be used internally unless your Avalara business development manager specifically asks you to provide this value while attempting to create an account. -
setPaymentMethodId
Setter for paymentMethodId Payment Method to be associated with the account. This is strictly to be used internally unless your Avalara business development manager specifically asks you to provide this value while attempting to create an account. -
getFirstName
Getter for firstName First name of the primary contact person for this account -
setFirstName
Setter for firstName First name of the primary contact person for this account -
getLastName
Getter for lastName Last name of the primary contact person for this account -
setLastName
Setter for lastName Last name of the primary contact person for this account -
getTitle
Getter for title Title of the primary contact person for this account -
setTitle
Setter for title Title of the primary contact person for this account -
getPhoneNumber
Getter for phoneNumber Phone number of the primary contact person for this account -
setPhoneNumber
Setter for phoneNumber Phone number of the primary contact person for this account -
getEmail
Getter for email Email of the primary contact person for this account -
setEmail
Setter for email Email of the primary contact person for this account -
getUsername
Getter for username The username to be associated with the user created. If this is not provided, email address will be used as the username. -
setUsername
Setter for username The username to be associated with the user created. If this is not provided, email address will be used as the username. -
getUserPassword
Getter for userPassword If instructed by your Avalara business development manager, set this value to a temporary password to permit the user to continue their onboarding process. If this value is null, a temporary password is generated by the system and emailed to the user. The user will then be asked to choose a permanent password when they first log on to the AvaTax website. -
setUserPassword
Setter for userPassword If instructed by your Avalara business development manager, set this value to a temporary password to permit the user to continue their onboarding process. If this value is null, a temporary password is generated by the system and emailed to the user. The user will then be asked to choose a permanent password when they first log on to the AvaTax website. -
getWelcomeEmail
Getter for welcomeEmail This option controls what type of a welcome email is sent when the account is created. * `Normal` - A standard welcome email will be sent. * `Suppressed` - No email will be sent. * `Custom` - If your Avalara business development representative provides you with a customized welcome email for your customers, please select this option. -
setWelcomeEmail
Setter for welcomeEmail This option controls what type of a welcome email is sent when the account is created. * `Normal` - A standard welcome email will be sent. * `Suppressed` - No email will be sent. * `Custom` - If your Avalara business development representative provides you with a customized welcome email for your customers, please select this option. -
getCompanyAddress
Getter for companyAddress -
setCompanyAddress
Setter for companyAddress -
getCompanyCode
Getter for companyCode Company code to be assigned to the company created for this account. If no company code is provided, this will be defaulted to "DEFAULT" company code. -
setCompanyCode
Setter for companyCode Company code to be assigned to the company created for this account. If no company code is provided, this will be defaulted to "DEFAULT" company code. -
getProperties
Getter for properties Properties of the primary contact person for this account -
setProperties
Setter for properties Properties of the primary contact person for this account -
getAcceptAvalaraTermsAndConditions
Getter for acceptAvalaraTermsAndConditions Set this to true if and only if the owner of the newly created account accepts Avalara's terms and conditions for your account. Reading and accepting Avalara's terms and conditions is necessary in order for the account to receive a license key. -
setAcceptAvalaraTermsAndConditions
Setter for acceptAvalaraTermsAndConditions Set this to true if and only if the owner of the newly created account accepts Avalara's terms and conditions for your account. Reading and accepting Avalara's terms and conditions is necessary in order for the account to receive a license key. -
getHaveReadAvalaraTermsAndConditions
Getter for haveReadAvalaraTermsAndConditions Set this to true if and only if the owner of the newly created account has fully read Avalara's terms and conditions for your account. Reading and accepting Avalara's terms and conditions is necessary in order for the account to receive a license key. -
setHaveReadAvalaraTermsAndConditions
Setter for haveReadAvalaraTermsAndConditions Set this to true if and only if the owner of the newly created account has fully read Avalara's terms and conditions for your account. Reading and accepting Avalara's terms and conditions is necessary in order for the account to receive a license key. -
getMarketingContext
Getter for marketingContext A dynamic key-value pair for the marketing context information -
setMarketingContext
Setter for marketingContext A dynamic key-value pair for the marketing context information -
getAccountType
Getter for accountType Type of the account to be created. Regular, Firm or FirmClient -
setAccountType
Setter for accountType Type of the account to be created. Regular, Firm or FirmClient -
getTaxPayerIdNumber
Getter for taxPayerIdNumber United States Taxpayer ID number, usually your Employer Identification Number if you are a business or your Social Security Number if you are an individual. This value is required if the address provided is inside the US and if you subscribed to the Avalara Managed Returns or SST Certified Service Provider service. Otherwise it is optional. -
setTaxPayerIdNumber
Setter for taxPayerIdNumber United States Taxpayer ID number, usually your Employer Identification Number if you are a business or your Social Security Number if you are an individual. This value is required if the address provided is inside the US and if you subscribed to the Avalara Managed Returns or SST Certified Service Provider service. Otherwise it is optional. -
toString
Returns a JSON string representation of NewAccountRequestModel
-