Class ItemParameterModel
java.lang.Object
net.avalara.avatax.rest.client.models.ItemParameterModel
public class ItemParameterModel
extends java.lang.Object
Represents a parameter associated with an item.
-
Constructor Summary
Constructors Constructor Description ItemParameterModel()
-
Method Summary
Modifier and Type Method Description java.lang.Long
getId()
Getter for id The id of the parameter.java.lang.Boolean
getIsNeededForCalculation()
Getter for isNeededForCalculation This field identifies if parameter is needed for calculationjava.lang.Boolean
getIsNeededForClassification()
Getter for isNeededForClassification This field identifies if parameter is needed for classificationjava.lang.Boolean
getIsNeededForReturns()
Getter for isNeededForReturns This field identifies if parameter is needed for returnsjava.lang.Long
getItemId()
Getter for itemId The item idjava.lang.String
getName()
Getter for name The parameter's name.java.lang.String
getUnit()
Getter for unit The unit of measurement code for the parameter.java.lang.String
getValue()
Getter for value The value for the parameter.void
setId(java.lang.Long value)
Setter for id The id of the parameter.void
setIsNeededForCalculation(java.lang.Boolean value)
Setter for isNeededForCalculation This field identifies if parameter is needed for calculationvoid
setIsNeededForClassification(java.lang.Boolean value)
Setter for isNeededForClassification This field identifies if parameter is needed for classificationvoid
setIsNeededForReturns(java.lang.Boolean value)
Setter for isNeededForReturns This field identifies if parameter is needed for returnsvoid
setItemId(java.lang.Long value)
Setter for itemId The item idvoid
setName(java.lang.String value)
Setter for name The parameter's name.void
setUnit(java.lang.String value)
Setter for unit The unit of measurement code for the parameter.void
setValue(java.lang.String value)
Setter for value The value for the parameter.java.lang.String
toString()
Returns a JSON string representation of ItemParameterModel
-
Constructor Details
-
ItemParameterModel
public ItemParameterModel()
-
-
Method Details
-
getId
public java.lang.Long getId()Getter for id The id of the parameter. -
setId
public void setId(java.lang.Long value)Setter for id The id of the parameter. -
getName
public java.lang.String getName()Getter for name The parameter's name. -
setName
public void setName(java.lang.String value)Setter for name The parameter's name. -
getValue
public java.lang.String getValue()Getter for value The value for the parameter. -
setValue
public void setValue(java.lang.String value)Setter for value The value for the parameter. -
getUnit
public java.lang.String getUnit()Getter for unit The unit of measurement code for the parameter. -
setUnit
public void setUnit(java.lang.String value)Setter for unit The unit of measurement code for the parameter. -
getItemId
public java.lang.Long getItemId()Getter for itemId The item id -
setItemId
public void setItemId(java.lang.Long value)Setter for itemId The item id -
getIsNeededForCalculation
public java.lang.Boolean getIsNeededForCalculation()Getter for isNeededForCalculation This field identifies if parameter is needed for calculation -
setIsNeededForCalculation
public void setIsNeededForCalculation(java.lang.Boolean value)Setter for isNeededForCalculation This field identifies if parameter is needed for calculation -
getIsNeededForReturns
public java.lang.Boolean getIsNeededForReturns()Getter for isNeededForReturns This field identifies if parameter is needed for returns -
setIsNeededForReturns
public void setIsNeededForReturns(java.lang.Boolean value)Setter for isNeededForReturns This field identifies if parameter is needed for returns -
getIsNeededForClassification
public java.lang.Boolean getIsNeededForClassification()Getter for isNeededForClassification This field identifies if parameter is needed for classification -
setIsNeededForClassification
public void setIsNeededForClassification(java.lang.Boolean value)Setter for isNeededForClassification This field identifies if parameter is needed for classification -
toString
public java.lang.String toString()Returns a JSON string representation of ItemParameterModel- Overrides:
toString
in classjava.lang.Object
-