OfferOfferData constructor
const
OfferOfferData({
- required OfferFlowType flowType,
- required String productId,
- required List<
String> eligibleProductIds, - required int savingsPercent,
- required OfferDisplay display,
- required int freeTrialDays,
- required int minSubscriptionDays,
- int? maxSubscriptionDays,
- int? rolloutPercent,
- OfferUpgradeType? upgradeType,
- String? fromProductId,
- String? toProductId,
- int? variantId,
- Map<
String, OfferPerProductOffer> ? perProductPrompts, - OfferCheckoutPresentation? checkoutPresentation,
Implementation
const OfferOfferData({
required this.flowType,
required this.productId,
required this.eligibleProductIds,
required this.savingsPercent,
required this.display,
required this.freeTrialDays,
required this.minSubscriptionDays,
this.maxSubscriptionDays,
this.rolloutPercent,
this.upgradeType,
this.fromProductId,
this.toProductId,
this.variantId,
this.perProductPrompts,
this.checkoutPresentation,
});