Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.43 KB

Address.md

File metadata and controls

36 lines (27 loc) · 1.43 KB

Address

A JSON object containing the receiver’s location information.

Properties

Name Type Description Notes
unit_number str The delivery address' unit number. [optional]
delivery_instruction str Instructions for the delivery. [optional]
poi_source str POI source [optional]
poi_id str POI ID, empty when poiSource is GRAB. [optional]
address str The delivery address containing street name, city, postal code, and country. Has value only when poiSource is `GRAB`. [optional]
postcode str The postcode of the delivery address. Has value only when poiSource is `GRAB`. [optional]
coordinates Coordinates [optional]

Example

from grabfood.models.address import Address

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

# convert the object into a dict
address_dict = address_instance.to_dict()
# create an instance of Address from a dict
address_from_dict = Address.from_dict(address_dict)

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