SGPaywallProduct constructor
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,
Implementation
SGPaywallProduct({
required this.productId,
required this.productIdentifier,
this.productType,
this.billingPeriodUnit,
this.billingPeriodNumberOfUnit,
this.hasTrial = false,
this.title,
this.gatewaysAvailable,
this.localiseCurrencySymbol,
required this.price,
required this.localizedPrice,
this.offerPhases
});