SetgreetPurchaseIntroOffer class
An introductory offer attached to a product.
- Annotations
Constructors
- SetgreetPurchaseIntroOffer({required String type, String? localizedPrice, String? periodText, bool? eligible})
-
const
Properties
- eligible → bool?
-
Whether this user is eligible; null when the provider cannot say. The
SDK derives
trialTextonly when this istrue.final - hashCode → int
-
The hash code for this object.
no setterinherited
- localizedPrice → String?
-
The offer's localized price, when it has one.
final
- periodText → String?
-
The offer's length as the provider formats it, e.g.
"7 days".final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
"trial"for a free trial. The SDK derivestrialTextfrom trials only; other values ("payAsYouGo","payUpFront") pass through to the catalog sync untouched.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited