react-native-qonversion
Version:
Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and co
24 lines • 1.02 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* This class contains all the information about the Google subscription offer details.
* It might be either a plain base plan details or a base plan with the concrete offer details.
*/
class ProductOfferDetails {
constructor(basePlanId, offerId, offerToken, tags, pricingPhases, basePlan, installmentPlanDetails, introPhase, trialPhase, hasTrial, hasIntro, hasTrialOrIntro) {
this.basePlanId = basePlanId;
this.offerId = offerId;
this.offerToken = offerToken;
this.tags = tags;
this.pricingPhases = pricingPhases;
this.basePlan = basePlan;
this.installmentPlanDetails = installmentPlanDetails;
this.introPhase = introPhase;
this.trialPhase = trialPhase;
this.hasTrial = hasTrial;
this.hasIntro = hasIntro;
this.hasTrialOrIntro = hasTrialOrIntro;
}
}
exports.default = ProductOfferDetails;
//# sourceMappingURL=ProductOfferDetails.js.map