Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 3.47 KB

File metadata and controls

47 lines (38 loc) · 3.47 KB

HelloAssoApiV5ModelsFormsTierPublicModel

TierPublicModel class

Properties

Name Type Description Notes
custom_fields List[HelloAssoApiV5ModelsFormsCustomFieldPublicModel] List of custom fields to be filled by the user [optional]
extra_options List[HelloAssoApiV5ModelsFormsExtraOptionPublicModel] List of available extra options to buy along the tier [optional]
id int id [optional]
label str label [optional]
description str description [optional]
tier_type HelloAssoApiV5ModelsEnumsTierType [optional]
price int the Price in cents if price equals 0 then it is free or there is a MinAmount [optional]
vat_rate float Vat rate if applicable Amount have to be 0.10 for 10% [optional]
min_amount int If set, it means the payment is free to choose, according to the specified minAmount in cents [optional]
payment_frequency HelloAssoApiV5ModelsEnumsPaymentFrequencyType [optional]
max_per_user int Max quantity buyable in this cart [optional]
meta HelloAssoApiV5ModelsCommonMetaModel [optional]
sale_start_date datetime The datetime (Inclusive) at which the users can start buying this tier. If null the tier will be available at the start of the event. [optional]
sale_end_date datetime The datetime (Inclusive) at which the tier is no longer available. If null the tier will be available until the end of the event. [optional]
is_eligible_tax_receipt bool Whether this is eligible to a deduction [optional]
terms List[HelloAssoApiV5ModelsFormsTermModel] Terms of tier [optional]
picture HelloAssoApiV5ModelsCommonDocumentModel [optional]
is_excluded_from_form_payment_terms bool True means this tier must be paid in the initial payment, false means it can be paid in payment with installments Null when the form payment terms are disabled or not compatible with the related form [optional]

Example

from helloasso_python.models.hello_asso_api_v5_models_forms_tier_public_model import HelloAssoApiV5ModelsFormsTierPublicModel

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

# convert the object into a dict
hello_asso_api_v5_models_forms_tier_public_model_dict = hello_asso_api_v5_models_forms_tier_public_model_instance.to_dict()
# create an instance of HelloAssoApiV5ModelsFormsTierPublicModel from a dict
hello_asso_api_v5_models_forms_tier_public_model_from_dict = HelloAssoApiV5ModelsFormsTierPublicModel.from_dict(hello_asso_api_v5_models_forms_tier_public_model_dict)

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