Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 2.11 KB

ModifierGroup.md

File metadata and controls

36 lines (27 loc) · 2.11 KB

ModifierGroup

Properties

Name Type Description Notes
id str The modifier group's ID that is on the partner system. This ID should be unique.
name str The name of the modifier group.
name_translation Dict[str, str] Translation of the modifier group name. Only support up to 1 translated language. Refer Menu Translation. [optional]
available_status str The status for the modifier group. > The item may be marked as `"UNAVAILABLE"` if no available modifier to be selected within the required modifier group where `"selectionRangeMin": 1`.
selection_range_min int The minimum quantity of the modifiers to be selected. Refer to FAQs for more details about selection range. [optional]
selection_range_max int The maximum quantity of the modifiers to be selected. Refer to FAQs for more details about selection range.
sequence int The sort or display order of the modifier group within the menu. [optional]
modifiers List[MenuModifier] An array of modifier JSON objects. Max 100 per modifierGroup. Refer to Modifiers for more information. [optional]

Example

from grabfood.models.modifier_group import ModifierGroup

# TODO update the JSON string below
json = "{}"
# create an instance of ModifierGroup from a JSON string
modifier_group_instance = ModifierGroup.from_json(json)
# print the JSON string representation of the object
print(ModifierGroup.to_json())

# convert the object into a dict
modifier_group_dict = modifier_group_instance.to_dict()
# create an instance of ModifierGroup from a dict
modifier_group_from_dict = ModifierGroup.from_dict(modifier_group_dict)

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