Name | Type | Description | Notes |
---|---|---|---|
title | str | ||
description | str | ||
promo_code | str | ||
display_value | str | ||
order_number | int | ||
media_url | str | [optional] | |
start_date | datetime | ||
expiration_date | datetime | ||
id | SaveTicketSettingsRequestPaymentDesignID | ||
created_at | datetime | ||
updated_at | datetime | ||
is_active | bool | ||
merchant_id | str |
from wallet.models.promo_code import PromoCode
# TODO update the JSON string below
json = "{}"
# create an instance of PromoCode from a JSON string
promo_code_instance = PromoCode.from_json(json)
# print the JSON string representation of the object
print PromoCode.to_json()
# convert the object into a dict
promo_code_dict = promo_code_instance.to_dict()
# create an instance of PromoCode from a dict
promo_code_form_dict = promo_code.from_dict(promo_code_dict)