Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.27 KB

File metadata and controls

33 lines (24 loc) · 1.27 KB

Receiver

A JSON object containing the receiver information.

Properties

Name Type Description Notes
name str The name of the receiver. [optional]
phones str The receiver's phone number. Only applicable for orders that are delivered by the restaurant. `null` if not applicable. > Note: The `phones` field will be deprecated once the virtualContact feature is fully rolled out. [optional]
address Address [optional]
virtual_contact VirtualContact [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]