Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.22 KB

File metadata and controls

33 lines (24 loc) · 1.22 KB

CreateDiscountsPayload

Properties

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

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_from_dict = CreateDiscountsPayload.from_dict(create_discounts_payload_dict)

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