A JSON object containing the receiver information. Only applicable for orders that are delivered by the restaurant. null
if not applicable.
Name | Type | Description | Notes |
---|---|---|---|
name | str | The name of the receiver. | [optional] |
phones | str | The receiver's phone number. | [optional] |
address | Address | [optional] |
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)