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

NameTypeDescriptionNotes
order_idstr[optional]
statusstrThe status of the order[optional]
certificate_issued_atdatetimeTimestamp of when the certificate was issued in ISO 8601 format (UTC)[optional]
certificate_urlstr[optional]
certificate_pdfstr[optional]
pricefloatThe total of the compensation in your given currency excl. VAT.[optional]
currencystr[optional]
kg_co2eintThe amount of kg CO2e.[optional]
metadataDict[str, str]Add additional queryable information to the order as key-value pairs[optional]
projectProject[optional]
recipientOrderRecipient[optional]

Example

fromklimapi_python.models.orderimportOrder# TODO update the JSON string belowjson="{}"# create an instance of Order from a JSON stringorder_instance=Order.from_json(json)
# print the JSON string representation of the objectprint(Order.to_json())
# convert the object into a dictorder_dict=order_instance.to_dict()
# create an instance of Order from a dictorder_from_dict=Order.from_dict(order_dict)

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