Skip to content

Latest commit

 

History

History
executable file
·
32 lines (23 loc) · 961 Bytes

Discount.md

File metadata and controls

executable file
·
32 lines (23 loc) · 961 Bytes

Discount

The reduction due to discounts.

Properties

Name Type Description Notes
amount float Amount of the currency
currency str Type of currency
currency_symbol str Symbol to be used for this currency

Example

from epiccore.models.discount import Discount

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

# convert the object into a dict
discount_dict = discount_instance.to_dict()
# create an instance of Discount from a dict
discount_form_dict = discount.from_dict(discount_dict)

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