ReadonlybaseIdentifier of the base plan this offer belongs to (for example, "monthly-basic" or "annual-premium").
ReadonlyofferOpaque identifier for this offer. Pass it back unchanged when launching a purchase for a specific plan or when updating a subscription.
ReadonlypricingThe pricing phases for this offer in the order they apply, ending with the recurring phase.
ReadonlypromotionOptional identifier of the promotional offer. It is not set for base plans.
StaticgetReturns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Describes a specific offer for a subscription product, such as a base plan or a promotional plan with a trial. A single subscription product can expose multiple offers through Product#subscriptionOfferDetails.
Since
Lens Scripting Version 377
Snap OS
Example