V1ModifierOption

November 20, 2019 ยท View on GitHub

Description

V1ModifierOption Note: This model is deprecated.

Properties

NameGetterSetterTypeDescriptionNotes
idgetId()setId($value)stringThe modifier option's unique ID.[optional]
namegetName()setName($value)stringThe modifier option's name.[optional]
price_moneygetPriceMoney()setPriceMoney($value)\SquareConnect\Model\V1MoneyThe modifier option's price.[optional]
on_by_defaultgetOnByDefault()setOnByDefault($value)boolIf true, the modifier option is the default option in a modifier list for which selection_type is SINGLE.[optional]
ordinalgetOrdinal()setOrdinal($value)intIndicates the modifier option's list position when displayed in Square Point of Sale and the merchant dashboard. If more than one modifier option in the same modifier list has the same ordinal value, those options are displayed in alphabetical order.[optional]
modifier_list_idgetModifierListId()setModifierListId($value)stringThe ID of the modifier list the option belongs to.[optional]
v2_idgetV2Id()setV2Id($value)stringThe ID of the CatalogObject in the Connect v2 API. Objects that are shared across multiple locations share the same v2 ID.[optional]

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

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