Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 2.39 KB

File metadata and controls

61 lines (52 loc) · 2.39 KB

DynamicVoucher

Properties

Name Type Description Notes
start_date datetime
expiration_date datetime
id WTWalletPageViewId
title str
notes str
merchants_reference_id str [optional]
valid_only_at_pos_register_ids List[str] [optional]
payment_design_id str
employee_id str
merchant_id str
created_at datetime
updated_at datetime
is_active bool
starting_value int
max_budget int
temporal_decrease_amount int
temporal_decrease_frequency int
numerical_decrease_amount int [optional]
numerical_decrease_frequency int [optional]
temporal_decrease_amount_decimal str
temporal_decrease_amount_string str
numerical_decrease_amount_decimal str
numerical_decrease_amount_string str
starting_value_decimal str
starting_value_string str
max_budget_decimal str
max_budget_string str
current_value float
current_value_decimal str
current_value_string str
status WTDynamicVoucherSummaryStatus
temporal_decrease_frequency_type DynamicVoucherTemporalDecreaseFrequencyType
summary WTDynamicVoucherSummary

Example

from wallet.models.dynamic_voucher import DynamicVoucher

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

# convert the object into a dict
dynamic_voucher_dict = dynamic_voucher_instance.to_dict()
# create an instance of DynamicVoucher from a dict
dynamic_voucher_form_dict = dynamic_voucher.from_dict(dynamic_voucher_dict)

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