StoreProduct class
A purchasable store product. Mirrors RvStoreProduct / StoreProductDTO.
- Annotations
Constructors
-
StoreProduct({required String id, required ProductType type, required ProductCategory productCategory, required String displayName, String? description, String? priceString, double? price, String? currencyCode, RovenuePeriod? subscriptionPeriod, String? subscriptionGroupIdentifier, IntroPrice? introPrice, required List<
Discount> discounts, bool? isEligibleForIntroOffer, List<SubscriptionOption> ? subscriptionOptions, SubscriptionOption? defaultOption, double? pricePerWeek, double? pricePerMonth, double? pricePerYear, String? pricePerWeekString, String? pricePerMonthString, String? pricePerYearString}) -
const
Properties
- currencyCode → String?
-
final
- defaultOption → SubscriptionOption?
-
final
- description → String?
-
final
-
discounts
→ List<
Discount> -
final
- displayName → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- introPrice → IntroPrice?
-
final
- isEligibleForIntroOffer → bool?
-
final
-
final
- price → double?
-
final
- pricePerMonth → double?
-
final
- pricePerMonthString → String?
-
final
- pricePerWeek → double?
-
final
- pricePerWeekString → String?
-
final
- pricePerYear → double?
-
final
- pricePerYearString → String?
-
final
- priceString → String?
-
final
- productCategory → ProductCategory
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subscriptionGroupIdentifier → String?
-
final
-
subscriptionOptions
→ List<
SubscriptionOption> ? -
final
- subscriptionPeriod → RovenuePeriod?
-
final
- type → ProductType
-
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.
override