Class UomModel
java.lang.Object
net.avalara.avatax.rest.client.models.UomModel
The "Unit of Measurement" model captures information about a type of measurement. Types of measurement refer to
different scales for the same dimension. For example, measurements of type "Distance" may include units of measurement
such as meters, feet, inches, and miles.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Getter for code The code that refers to this unit of measurement.Getter for description A longer description of this unit of measurement.getId()
Getter for id The unique ID number of this unit of measurement.Getter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard.Getter for measurementTypeCode The code describing the measurement type.Getter for measurementTypeDescription A description of the measurement type system.Getter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass".Getter for shortDesc A short description of this unit of measurement.getSiUOM()
Getter for siUOM For a particular measurement type, this is the ID number of the unit of measurement object corresponding to the International System of Units (abbreviated SI) unit of measurement standard.void
Setter for code The code that refers to this unit of measurement.void
setDescription
(String value) Setter for description A longer description of this unit of measurement.void
Setter for id The unique ID number of this unit of measurement.void
setIsSiUom
(Boolean value) Setter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard.void
setMeasurementTypeCode
(String value) Setter for measurementTypeCode The code describing the measurement type.void
Setter for measurementTypeDescription A description of the measurement type system.void
setMeasurementTypeId
(Integer value) Setter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass".void
setShortDesc
(String value) Setter for shortDesc A short description of this unit of measurement.void
Setter for siUOM For a particular measurement type, this is the ID number of the unit of measurement object corresponding to the International System of Units (abbreviated SI) unit of measurement standard.toString()
Returns a JSON string representation of UomModel
-
Constructor Details
-
UomModel
public UomModel()
-
-
Method Details
-
getId
Getter for id The unique ID number of this unit of measurement. -
setId
Setter for id The unique ID number of this unit of measurement. -
getCode
Getter for code The code that refers to this unit of measurement. -
setCode
Setter for code The code that refers to this unit of measurement. -
getShortDesc
Getter for shortDesc A short description of this unit of measurement. -
setShortDesc
Setter for shortDesc A short description of this unit of measurement. -
getDescription
Getter for description A longer description of this unit of measurement. -
setDescription
Setter for description A longer description of this unit of measurement. -
getMeasurementTypeId
Getter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass". -
setMeasurementTypeId
Setter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass". -
getMeasurementTypeCode
Getter for measurementTypeCode The code describing the measurement type. -
setMeasurementTypeCode
Setter for measurementTypeCode The code describing the measurement type. -
getSiUOM
Getter for siUOM For a particular measurement type, this is the ID number of the unit of measurement object corresponding to the International System of Units (abbreviated SI) unit of measurement standard. This pointer allows you to select the SI unit of measurement for a particular measurement type. -
setSiUOM
Setter for siUOM For a particular measurement type, this is the ID number of the unit of measurement object corresponding to the International System of Units (abbreviated SI) unit of measurement standard. This pointer allows you to select the SI unit of measurement for a particular measurement type. -
getMeasurementTypeDescription
Getter for measurementTypeDescription A description of the measurement type system. -
setMeasurementTypeDescription
Setter for measurementTypeDescription A description of the measurement type system. -
getIsSiUom
Getter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard. -
setIsSiUom
Setter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard. -
toString
Returns a JSON string representation of UomModel
-