Class UomModel
java.lang.Object
net.avalara.avatax.rest.client.models.UomModel
public class UomModel
extends java.lang.Object
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 Constructor Description UomModel()
-
Method Summary
Modifier and Type Method Description java.lang.String
getCode()
Getter for code The code that refers to this unit of measurement.java.lang.String
getDescription()
Getter for description A longer description of this unit of measurement.java.lang.Integer
getId()
Getter for id The unique ID number of this unit of measurement.java.lang.Boolean
getIsSiUom()
Getter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard.java.lang.String
getMeasurementTypeCode()
Getter for measurementTypeCode The code describing the measurement type.java.lang.String
getMeasurementTypeDescription()
Getter for measurementTypeDescription A description of the measurement type system.java.lang.Integer
getMeasurementTypeId()
Getter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass".java.lang.String
getShortDesc()
Getter for shortDesc A short description of this unit of measurement.java.lang.String
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
setCode(java.lang.String value)
Setter for code The code that refers to this unit of measurement.void
setDescription(java.lang.String value)
Setter for description A longer description of this unit of measurement.void
setId(java.lang.Integer value)
Setter for id The unique ID number of this unit of measurement.void
setIsSiUom(java.lang.Boolean value)
Setter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard.void
setMeasurementTypeCode(java.lang.String value)
Setter for measurementTypeCode The code describing the measurement type.void
setMeasurementTypeDescription(java.lang.String value)
Setter for measurementTypeDescription A description of the measurement type system.void
setMeasurementTypeId(java.lang.Integer value)
Setter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass".void
setShortDesc(java.lang.String value)
Setter for shortDesc A short description of this unit of measurement.void
setSiUOM(java.lang.String value)
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.java.lang.String
toString()
Returns a JSON string representation of UomModel
-
Constructor Details
-
UomModel
public UomModel()
-
-
Method Details
-
getId
public java.lang.Integer getId()Getter for id The unique ID number of this unit of measurement. -
setId
public void setId(java.lang.Integer value)Setter for id The unique ID number of this unit of measurement. -
getCode
public java.lang.String getCode()Getter for code The code that refers to this unit of measurement. -
setCode
public void setCode(java.lang.String value)Setter for code The code that refers to this unit of measurement. -
getShortDesc
public java.lang.String getShortDesc()Getter for shortDesc A short description of this unit of measurement. -
setShortDesc
public void setShortDesc(java.lang.String value)Setter for shortDesc A short description of this unit of measurement. -
getDescription
public java.lang.String getDescription()Getter for description A longer description of this unit of measurement. -
setDescription
public void setDescription(java.lang.String value)Setter for description A longer description of this unit of measurement. -
getMeasurementTypeId
public java.lang.Integer getMeasurementTypeId()Getter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass". -
setMeasurementTypeId
public void setMeasurementTypeId(java.lang.Integer value)Setter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass". -
getMeasurementTypeCode
public java.lang.String getMeasurementTypeCode()Getter for measurementTypeCode The code describing the measurement type. -
setMeasurementTypeCode
public void setMeasurementTypeCode(java.lang.String value)Setter for measurementTypeCode The code describing the measurement type. -
getSiUOM
public java.lang.String 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
public void setSiUOM(java.lang.String value)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
public java.lang.String getMeasurementTypeDescription()Getter for measurementTypeDescription A description of the measurement type system. -
setMeasurementTypeDescription
public void setMeasurementTypeDescription(java.lang.String value)Setter for measurementTypeDescription A description of the measurement type system. -
getIsSiUom
public java.lang.Boolean getIsSiUom()Getter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard. -
setIsSiUom
public void setIsSiUom(java.lang.Boolean value)Setter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard. -
toString
public java.lang.String toString()Returns a JSON string representation of UomModel- Overrides:
toString
in classjava.lang.Object
-