DVPurchaseProduct class
Something the application sells, and what owning it unlocks.
Normally generated from a model's billable: declaration. id is the
application's name for the product; the stores' names for it are on
billable.
Constructors
-
DVPurchaseProduct(String id, {required DVBillable billable, required Set<
Entitlement> entitlements, DVPurchaseKind kind = DVPurchaseKind.subscription}) -
const
Properties
- billable → DVBillable
-
final
-
entitlements
→ Set<
Entitlement> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- kind → DVPurchaseKind
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
identifierOn(
DVStore store) → String? -
The identifier
storesells this under, or null for a physical good or one not declared on that store. -
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