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

Latest commit

 

History

History
20 lines (14 loc) · 1.65 KB

File metadata and controls

20 lines (14 loc) · 1.65 KB

MeasurementUnit

squareconnect.models.measurement_unit

Description

Represents a unit of measurement to use with a quantity, such as ounces or inches. Exactly one of the following fields are required: custom_unit, area_unit, length_unit, volume_unit, and weight_unit. The family field describes the type of measurement. For example, ounces are in the weight family.

Properties

Name Type Description Notes
custom_unit MeasurementUnitCustom A custom unit of measurement defined by the seller using the Point of Sale app or ad-hoc as an order line item. [optional]
area_unit str Represents a standard area unit. See MeasurementUnitArea for possible values [optional]
length_unit str Represents a standard length unit. See MeasurementUnitLength for possible values [optional]
volume_unit str Represents a standard volume unit. See MeasurementUnitVolume for possible values [optional]
weight_unit str Represents a standard unit of weight or mass. See MeasurementUnitWeight for possible values [optional]
generic_unit str Reserved for API integrations that lack the ability to specify a real measurement unit See MeasurementUnitGeneric for possible values [optional]

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