AccessPassCouponUsage

class AccessPassCouponUsage[source]

AccessPassCouponUsage(id: ‘str’, success_at: ‘datetime.datetime’, user_id: ‘int’, scope: “t.Literal[‘access-plan’]”, coupon: ‘AccessPassCoupon’)

scope: Literal['access-plan']

This is a access pass coupon usage.

coupon: AccessPassCouponWithCode | AccessPassCouponWithoutCode
id: str

The id of the coupon usage

success_at: datetime

The moment the coupon was used.

user_id: int

The user that used the coupon.