SGPaywallProduct constructor

SGPaywallProduct({
  1. required String productId,
  2. required String productIdentifier,
  3. String? productType,
  4. SGBillinPeriodUnit? billingPeriodUnit,
  5. int? billingPeriodNumberOfUnit,
  6. bool hasTrial = false,
  7. String? title,
  8. List<SGGatewayProduct>? gatewaysAvailable,
  9. String? localiseCurrencySymbol,
  10. required double price,
  11. required String localizedPrice,
  12. 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
});