Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 2.2 KB

AdvancedPricing.md

File metadata and controls

36 lines (27 loc) · 2.2 KB

AdvancedPricing

Price configuration (in minor unit) for different service, order type and channel combination. If a service type does not have a specified price, it will utilize the default price of the item. Refer Service Based Menu.

Properties

Name Type Description Notes
delivery_on_demand_grab_app int Service type: `Delivery`, Order type: `Instant`, Channel: `Grab App` [optional]
delivery_scheduled_grab_app int Service type: `Delivery`, Order type: `Scheduled`, Channel: `Grab App` [optional]
self_pick_up_on_demand_grab_app int Service type: `Self Pick Up`, Order type: `Instant`, Channel: `Grab App` [optional]
dine_in_on_demand_grab_app int Service type: `Dine In`, Order type: `Instant`, Channel: `Grab App` [optional]
delivery_on_demand_store_front int Service type: `Delivery`, Order type: `Instant`, Channel: `Store Front` [optional]
delivery_scheduled_store_front int Service type: `Delivery`, Order type: `Scheduled`, Channel: `Store Front` [optional]
self_pick_up_on_demand_store_front int Service type: `Self Pick Up`, Order type: `Instant`, Channel: `Store Front` [optional]

Example

from grabfood.models.advanced_pricing import AdvancedPricing

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

# convert the object into a dict
advanced_pricing_dict = advanced_pricing_instance.to_dict()
# create an instance of AdvancedPricing from a dict
advanced_pricing_from_dict = AdvancedPricing.from_dict(advanced_pricing_dict)

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