Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.74 KB

MenuCategory.md

File metadata and controls

35 lines (26 loc) · 1.74 KB

MenuCategory

Properties

Name Type Description Notes
id str The category's ID that is on the partner system. This ID should be unique.
name str The name of the category.
name_translation Dict[str, str] Translation of the category name. Only support up to 1 translated language. Refer Menu Translation. [optional]
available_status str The status for the category. Refer to FAQs for more details about availableStatus.
selling_time_id str The selling time's ID for the category. All items within the category will apply the same selling time unless there is another selling time specified for the item.
sequence int The sort or display order of the category within the menu. [optional]
items List[MenuItem] An array of item JSON objects. Max 300 allowed per category. Refer to Items for more information.

Example

from grabfood.models.menu_category import MenuCategory

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

# convert the object into a dict
menu_category_dict = menu_category_instance.to_dict()
# create an instance of MenuCategory from a dict
menu_category_from_dict = MenuCategory.from_dict(menu_category_dict)

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