Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.21 KB

File metadata and controls

33 lines (24 loc) · 1.21 KB

CreateDiscountsPayload

Properties

Name Type Description Notes
customers List[CustomerPayload]
discount_resources List[ResourcePayload]
start_date datetime [optional]
end_date datetime [optional]
discount_status str

Example

from hyperstack.models.create_discounts_payload import CreateDiscountsPayload

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

# convert the object into a dict
create_discounts_payload_dict = create_discounts_payload_instance.to_dict()
# create an instance of CreateDiscountsPayload from a dict
create_discounts_payload_form_dict = create_discounts_payload.from_dict(create_discounts_payload_dict)

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