Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.92 KB

File metadata and controls

38 lines (29 loc) · 1.92 KB

ExpiringCouponsData

Properties

Name Type Description Notes
coupon_value str The coupon code.
created_date datetime Timestamp at which point the coupon was created. [optional]
valid_from datetime Timestamp at which point the coupon becomes valid. [optional]
valid_until datetime Timestamp at which point the coupon expires. Coupon never expires if this is omitted, zero, or negative. [optional]
campaign_id int The ID of the campaign to which the coupon belongs.
customer_profile_id str The Integration ID of the customer that is allowed to redeem this coupon. [optional]
usage_limit int The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply.
usage_counter int The number of times the coupon has been successfully redeemed.
batch_id str The ID of the batch the coupon belongs to. [optional]
attributes Dict[str, object] Custom attributes associated with this coupon.

Example

from talon_one.models.expiring_coupons_data import ExpiringCouponsData

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

# convert the object into a dict
expiring_coupons_data_dict = expiring_coupons_data_instance.to_dict()
# create an instance of ExpiringCouponsData from a dict
expiring_coupons_data_from_dict = ExpiringCouponsData.from_dict(expiring_coupons_data_dict)

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