MarketAddress
MarketAddress(street, zip, city)Represents a market address.
Attributes: street (str): The street of the market. zip (str): The ZIP code of the market. city (str): The city where the market is located.
Methods
| Name | Description |
|---|---|
| to_dict | Converts the MarketAddress instance to a dictionary. |
to_dict
MarketAddress.to_dict()Converts the MarketAddress instance to a dictionary.
Returns: dict: A dictionary representation of the MarketAddress instance.