Promo class
Properties
-
active
↔ bool?
-
Active is false for a promo that is no longer offered; an inactive promo quotes as ineligible and refuses to redeem.
getter/setter pair
-
code
↔ String?
-
Code is the promo id, e.g. "first1000".
getter/setter pair
-
createdAt
↔ int?
-
CreatedAt is unix seconds.
getter/setter pair
-
description
↔ String?
-
Description is the human-readable offer.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
maxRedemptions
↔ int?
-
MaxRedemptions is the hard fleet-wide cap; the redemption past it is declined.
getter/setter pair
-
percentOff
↔ int?
-
PercentOff is the discount applied to ONE month's list price.
getter/setter pair
-
plans
↔ String?
-
Plans is the csv of eligible plan ids ("pro,max,team").
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
teamSeatCap
↔ int?
-
TeamSeatCap is how many Team seats bill at the promo rate; seats beyond it bill at list.
getter/setter pair