OrderQuantityUnit

September 24, 2019 ยท View on GitHub

Description

Contains the measurement unit for a quantity and a precision which specifies the number of digits after the decimal point for decimal quantities.

Properties

NameGetterSetterTypeDescriptionNotes
measurement_unitgetMeasurementUnit()setMeasurementUnit($value)\SquareConnect\Model\MeasurementUnitA `MeasurementUnit` that represents the unit of measure for the quantity.[optional]
precisiongetPrecision()setPrecision($value)intFor non-integer quantities, represents the number of digits after the decimal point that are recorded for this quantity. For example, a precision of 1 allows quantities like `"1.0"` and `"1.1"`, but not `"1.01"`. Min: 0. Max: 5.[optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]