Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.48 KB

File metadata and controls

39 lines (30 loc) · 1.48 KB

Order

Properties

Name Type Description Notes
order_id str [optional]
status str The status of the order [optional]
certificate_issued_at datetime Timestamp of when the certificate was issued in ISO 8601 format (UTC) [optional]
certificate_url str [optional]
certificate_pdf str [optional]
price float The total of the compensation in your given currency excl. VAT. [optional]
currency str [optional]
kg_co2e int The amount of kg CO2e. [optional]
metadata Dict[str, str] Add additional queryable information to the order as key-value pairs [optional]
project Project [optional]
recipient OrderRecipient [optional]

Example

from klimapi_python.models.order import Order

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

# convert the object into a dict
order_dict = order_instance.to_dict()
# create an instance of Order from a dict
order_from_dict = Order.from_dict(order_dict)

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