Class ParameterModel
java.lang.Object
net.avalara.avatax.rest.client.models.ParameterModel
An extra property that can change the behavior of tax transactions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for attributeType The type of parameter as determined by its application, e.g.Getter for category DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null.Getter for dataType The data type of the property.Getter for helpText Help text to be shown to the user when they are filling out this parameter.Getter for helpUrl A help url that provides more information about the parametergetId()
Getter for id The unique ID number of this property.Getter for isNeededForCalculation This field identifies if parameter is needed for calculationGetter for isNeededForClassification This field identifies if parameter is needed for classificationGetter for isNeededForReturns This field identifies if parameter is needed for returnsgetLabel()
Getter for label Label that helps the user to identify a parameterGetter for measurementType The unit of measurement type of the parametergetName()
Getter for name The name of the property.Getter for prompt DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null.Getter for regularExpression DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null.Getter for serviceTypes A list of service types to which this parameter applies.Getter for values If the parameter is of enumeration data type, then this list will be populated with all of the possible enumeration values.void
setAttributeType
(String value) Setter for attributeType The type of parameter as determined by its application, e.g.void
setCategory
(String value) Setter for category DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null.void
setDataType
(String value) Setter for dataType The data type of the property.void
setHelpText
(String value) Setter for helpText Help text to be shown to the user when they are filling out this parameter.void
setHelpUrl
(String value) Setter for helpUrl A help url that provides more information about the parametervoid
Setter for id The unique ID number of this property.void
setIsNeededForCalculation
(Boolean value) Setter for isNeededForCalculation This field identifies if parameter is needed for calculationvoid
Setter for isNeededForClassification This field identifies if parameter is needed for classificationvoid
setIsNeededForReturns
(Boolean value) Setter for isNeededForReturns This field identifies if parameter is needed for returnsvoid
Setter for label Label that helps the user to identify a parametervoid
setMeasurementType
(String value) Setter for measurementType The unit of measurement type of the parametervoid
Setter for name The name of the property.void
Setter for prompt DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null.void
setRegularExpression
(String value) Setter for regularExpression DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null.void
setServiceTypes
(ArrayList<String> value) Setter for serviceTypes A list of service types to which this parameter applies.void
Setter for values If the parameter is of enumeration data type, then this list will be populated with all of the possible enumeration values.toString()
Returns a JSON string representation of ParameterModel
-
Constructor Details
-
ParameterModel
public ParameterModel()
-
-
Method Details
-
getId
Getter for id The unique ID number of this property. -
setId
Setter for id The unique ID number of this property. -
getCategory
Getter for category DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null. The category grouping of this parameter. When your user interface displays a large number of parameters, they should be grouped by their category value. -
setCategory
Setter for category DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null. The category grouping of this parameter. When your user interface displays a large number of parameters, they should be grouped by their category value. -
getName
Getter for name The name of the property. To use this property, add a field on the `parameters` object of a [CreateTransaction](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/CreateTransaction/) call. -
setName
Setter for name The name of the property. To use this property, add a field on the `parameters` object of a [CreateTransaction](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/CreateTransaction/) call. -
getDataType
Getter for dataType The data type of the property. -
setDataType
Setter for dataType The data type of the property. -
getHelpText
Getter for helpText Help text to be shown to the user when they are filling out this parameter. Help text may include HTML links to additional content with more information about a parameter. -
setHelpText
Setter for helpText Help text to be shown to the user when they are filling out this parameter. Help text may include HTML links to additional content with more information about a parameter. -
getServiceTypes
Getter for serviceTypes A list of service types to which this parameter applies. -
setServiceTypes
Setter for serviceTypes A list of service types to which this parameter applies. -
getPrompt
Getter for prompt DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null. The prompt you should use when displaying this parameter to a user. For example, if your user interface displays a parameter in a text box, this is the label you should use to identify that text box. -
setPrompt
Setter for prompt DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null. The prompt you should use when displaying this parameter to a user. For example, if your user interface displays a parameter in a text box, this is the label you should use to identify that text box. -
getRegularExpression
Getter for regularExpression DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null. If your user interface permits client-side validation of parameters, this string is a regular expression you can use to validate the user's data entry prior to submitting a tax request. -
setRegularExpression
Setter for regularExpression DEPRECATED - Date: 07/25/2018, Version: 18.7, Message: This field is deprecated and will return null. If your user interface permits client-side validation of parameters, this string is a regular expression you can use to validate the user's data entry prior to submitting a tax request. -
getLabel
Getter for label Label that helps the user to identify a parameter -
setLabel
Setter for label Label that helps the user to identify a parameter -
getHelpUrl
Getter for helpUrl A help url that provides more information about the parameter -
setHelpUrl
Setter for helpUrl A help url that provides more information about the parameter -
getAttributeType
Getter for attributeType The type of parameter as determined by its application, e.g. Product, Transaction, Calculated -
setAttributeType
Setter for attributeType The type of parameter as determined by its application, e.g. Product, Transaction, Calculated -
getValues
Getter for values If the parameter is of enumeration data type, then this list will be populated with all of the possible enumeration values. -
setValues
Setter for values If the parameter is of enumeration data type, then this list will be populated with all of the possible enumeration values. -
getMeasurementType
Getter for measurementType The unit of measurement type of the parameter -
setMeasurementType
Setter for measurementType The unit of measurement type of the parameter -
getIsNeededForCalculation
Getter for isNeededForCalculation This field identifies if parameter is needed for calculation -
setIsNeededForCalculation
Setter for isNeededForCalculation This field identifies if parameter is needed for calculation -
getIsNeededForReturns
Getter for isNeededForReturns This field identifies if parameter is needed for returns -
setIsNeededForReturns
Setter for isNeededForReturns This field identifies if parameter is needed for returns -
getIsNeededForClassification
Getter for isNeededForClassification This field identifies if parameter is needed for classification -
setIsNeededForClassification
Setter for isNeededForClassification This field identifies if parameter is needed for classification -
toString
Returns a JSON string representation of ParameterModel
-