Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.17 KB

File metadata and controls

32 lines (23 loc) · 1.17 KB

CartResult

Properties

Name Type Description Notes
kg_co2e float The total amount of kg CO2e calculated. [optional]
settings CartResultSettings [optional]
calculation_results List[CartResultCalculationResultsInner] The calculation results [optional]
orders List[PendingOrder] [optional]

Example

from klimapi_python.models.cart_result import CartResult

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

# convert the object into a dict
cart_result_dict = cart_result_instance.to_dict()
# create an instance of CartResult from a dict
cart_result_from_dict = CartResult.from_dict(cart_result_dict)

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