Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 2.4 KB

File metadata and controls

38 lines (29 loc) · 2.4 KB

HelloAssoApiV5ModelsCartsInitCheckoutBody

Properties

Name Type Description Notes
total_amount int Total amount, all taxes included, in cents (required) Must be equal to the sum of the initial amount and subsequent terms
initial_amount int The amount for the first term, all taxes included, in cents (required)
item_name str Item name (required) A text describing what the user paid for ('Renew license', '3 tickets', donation, etc). Will be displayed in the near future in the user space and in the organization back office
back_url str Url followed by the contributor if he wants to return to its previous site
error_url str Url called in case of an error during the checkout process
return_url str Url called after the payment
contains_donation bool The sale (or a part of) is a donation
terms List[HelloAssoApiV5ModelsCartsCheckoutTerm] The list of future terms (if applicable) [optional]
payer HelloAssoApiV5ModelsCartsCheckoutPayer [optional]
metadata object Metadata (optional) Json object (max length : 20000) [optional]

Example

from helloasso_python.models.hello_asso_api_v5_models_carts_init_checkout_body import HelloAssoApiV5ModelsCartsInitCheckoutBody

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

# convert the object into a dict
hello_asso_api_v5_models_carts_init_checkout_body_dict = hello_asso_api_v5_models_carts_init_checkout_body_instance.to_dict()
# create an instance of HelloAssoApiV5ModelsCartsInitCheckoutBody from a dict
hello_asso_api_v5_models_carts_init_checkout_body_from_dict = HelloAssoApiV5ModelsCartsInitCheckoutBody.from_dict(hello_asso_api_v5_models_carts_init_checkout_body_dict)

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