Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Latest commit

 

History

History
18 lines (10 loc) · 1.01 KB

CatalogMeasurementUnit.md

File metadata and controls

18 lines (10 loc) · 1.01 KB

Square.Connect.Model.CatalogMeasurementUnit

Description

Represents the unit used to measure a CatalogItemVariation and specifies the precision for decimal quantities. Note: This model is in beta.

Properties

Name Type Description Notes
MeasurementUnit MeasurementUnit Indicates the unit used to measure the quantity of a catalog item variation. [optional]
Precision int? An integer between 0 and 5 that represents the maximum number of positions allowed after the decimal in quantities measured with this unit. For example: - if the precision is 0, the quantity can be 1, 2, 3, etc. - if the precision is 1, the quantity can be 0.1, 0.2, etc. - if the precision is 2, the quantity can be 0.01, 0.12, etc. Default: 3 [optional]

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