Class UomModel

java.lang.Object
net.avalara.avatax.rest.client.models.UomModel

public class UomModel extends 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for code The code that refers to this unit of measurement.
    Getter for description A longer description of this unit of measurement.
    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.
    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(String value)
    Setter for code The code that refers to this unit of measurement.
    void
    Setter for description A longer description of this unit of measurement.
    void
    setId(Integer value)
    Setter for id The unique ID number of this unit of measurement.
    void
    Setter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard.
    void
    Setter for measurementTypeCode The code describing the measurement type.
    void
    Setter for measurementTypeDescription A description of the measurement type system.
    void
    Setter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass".
    void
    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.
    Returns a JSON string representation of UomModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UomModel

      public UomModel()
  • Method Details

    • getId

      public Integer getId()
      Getter for id The unique ID number of this unit of measurement.
    • setId

      public void setId(Integer value)
      Setter for id The unique ID number of this unit of measurement.
    • getCode

      public String getCode()
      Getter for code The code that refers to this unit of measurement.
    • setCode

      public void setCode(String value)
      Setter for code The code that refers to this unit of measurement.
    • getShortDesc

      public String getShortDesc()
      Getter for shortDesc A short description of this unit of measurement.
    • setShortDesc

      public void setShortDesc(String value)
      Setter for shortDesc A short description of this unit of measurement.
    • getDescription

      public String getDescription()
      Getter for description A longer description of this unit of measurement.
    • setDescription

      public void setDescription(String value)
      Setter for description A longer description of this unit of measurement.
    • getMeasurementTypeId

      public Integer getMeasurementTypeId()
      Getter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass".
    • setMeasurementTypeId

      public void setMeasurementTypeId(Integer value)
      Setter for measurementTypeId The ID number of the measurement type, such as "Distance" or "Mass".
    • getMeasurementTypeCode

      public String getMeasurementTypeCode()
      Getter for measurementTypeCode The code describing the measurement type.
    • setMeasurementTypeCode

      public void setMeasurementTypeCode(String value)
      Setter for measurementTypeCode The code describing the measurement type.
    • getSiUOM

      public 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(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 String getMeasurementTypeDescription()
      Getter for measurementTypeDescription A description of the measurement type system.
    • setMeasurementTypeDescription

      public void setMeasurementTypeDescription(String value)
      Setter for measurementTypeDescription A description of the measurement type system.
    • getIsSiUom

      public Boolean getIsSiUom()
      Getter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard.
    • setIsSiUom

      public void setIsSiUom(Boolean value)
      Setter for isSiUom True if this measurement is an International System of Units (abbreviated SI) defined standard.
    • toString

      public String toString()
      Returns a JSON string representation of UomModel
      Overrides:
      toString in class Object