SGPaywallProduct class
- Available extensions
- Annotations
-
- @JsonSerializable()
Constructors
-
SGPaywallProduct({required String productId, required String productIdentifier, String? productType, SGBillinPeriodUnit? billingPeriodUnit, int? billingPeriodNumberOfUnit, bool hasTrial = false, String? title, List<
SGGatewayProduct> ? gatewaysAvailable, String? localiseCurrencySymbol, required double price, required String localizedPrice, List<SGOfferPhase> ? offerPhases}) -
SGPaywallProduct.fromJson(Map<
String, dynamic> json) -
factory
Properties
- billingPeriodNumberOfUnit → int?
-
final
- billingPeriodUnit → SGBillinPeriodUnit?
-
final
-
gatewaysAvailable
→ List<
SGGatewayProduct> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasTrial → bool
-
final
- localiseCurrencySymbol → String?
-
final
- localizedPrice → String
-
final
-
offerPhases
→ List<
SGOfferPhase> ? -
final
- price → double
-
final
- productId → String
-
final
- productIdentifier → String
-
final
- productType → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
final
Methods
-
hasOffer(
) → bool -
Available on SGPaywallProduct, provided by the TrialOfferDays extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
trialDurationInDays(
) → int -
Available on SGPaywallProduct, provided by the TrialOfferDays extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited