Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.07 KB

Receiver.md

File metadata and controls

32 lines (23 loc) · 1.07 KB

Receiver

A JSON object containing the receiver information. Only applicable for orders that are delivered by the restaurant. null if not applicable.

Properties

Name Type Description Notes
name str The name of the receiver. [optional]
phones str The receiver's phone number. [optional]
address Address [optional]

Example

from grabfood.models.receiver import Receiver

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

# convert the object into a dict
receiver_dict = receiver_instance.to_dict()
# create an instance of Receiver from a dict
receiver_from_dict = Receiver.from_dict(receiver_dict)

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