An item in the cart of a specific customer
| Name | Type | Description | Notes |
|---|---|---|---|
| amount | int | The amount of the product in the cart | |
| total | float | The total price of the product in the cart | |
| product | Product |
from klimapi_python.models.cart_item import CartItem
# TODO update the JSON string below
json = "{}"
# create an instance of CartItem from a JSON string
cart_item_instance = CartItem.from_json(json)
# print the JSON string representation of the object
print(CartItem.to_json())
# convert the object into a dict
cart_item_dict = cart_item_instance.to_dict()
# create an instance of CartItem from a dict
cart_item_from_dict = CartItem.from_dict(cart_item_dict)