Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.34 KB

File metadata and controls

31 lines (22 loc) · 1.34 KB

CartResultCalculationResultsInner

Properties

Name Type Description Notes
product_id str A unique identifier for the product [optional]
source str The source of the calculation [optional]
kg_co2e float The amount of kg CO2e calculated for the given product. [optional]

Example

from klimapi_python.models.cart_result_calculation_results_inner import CartResultCalculationResultsInner

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

# convert the object into a dict
cart_result_calculation_results_inner_dict = cart_result_calculation_results_inner_instance.to_dict()
# create an instance of CartResultCalculationResultsInner from a dict
cart_result_calculation_results_inner_from_dict = CartResultCalculationResultsInner.from_dict(cart_result_calculation_results_inner_dict)

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