Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.22 KB

OrderFreeItem.md

File metadata and controls

33 lines (24 loc) · 1.22 KB

OrderFreeItem

Free item information for freeItem campaign.

Properties

Name Type Description Notes
id str The free item's externalID in the partner system. Empty if not applicable. [optional]
name str The name of the free item. Empty if not applicable. [optional]
quantity int The item's quantity. Maximum is 1. [optional]
price int The item's price in minor unit format. [optional]

Example

from grabfood.models.order_free_item import OrderFreeItem

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

# convert the object into a dict
order_free_item_dict = order_free_item_instance.to_dict()
# create an instance of OrderFreeItem from a dict
order_free_item_from_dict = OrderFreeItem.from_dict(order_free_item_dict)

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