CatalogItemOptionValue

November 20, 2019 ยท View on GitHub

Description

An enumerated value that can link a CatalogItemVariation to an item option as one of its item option values.

Properties

NameGetterSetterTypeDescriptionNotes
item_option_idgetItemOptionId()setItemOptionId($value)stringUnique ID of the associated item option.[optional]
namegetName()setName($value)stringName of this item option value. Searchable.[optional]
descriptiongetDescription()setDescription($value)stringA human-readable description for the option value.[optional]
colorgetColor()setColor($value)stringThe HTML-supported hex color for the item option (e.g., "#ff8d4e85"). Only displayed if `show_colors` is enabled on the parent `ItemOption`. When left unset, `color` defaults to white ("#ffffff") when `show_colors` is enabled on the parent `ItemOption`.[optional]
ordinalgetOrdinal()setOrdinal($value)intDetermines where this option value appears in a list of option values.[optional]
item_variation_countgetItemVariationCount()setItemVariationCount($value)intThe number of `CatalogItemVariation`s that currently make use of this Item Option value. Present only if `retrieve_counts` was specified on the request used to retrieve the parent Item Option of this value. Maximum: 100 counts.[optional]

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

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