@stigg/react-sdk - v7.4.2

    Type Alias PaywallLocalization

    type PaywallLocalization = {
        addonsTitle?: string;
        entitlementsTitle?: (plan: PaywallPlan) => string;
        highlightChip: string;
        planCTAButton: {
            cancelScheduledUpdate: string;
            currentPlan: string;
            custom: ((data: CurrentPlanParams) => string) | string;
            downgrade: string | ((plan: PaywallPlan) => string);
            startNew: string;
            startTrial: (plan: PaywallPlan) => string;
            switchToBillingPeriod: (billingPeriod: BillingPeriod) => string;
            upgrade: string | ((plan: PaywallPlan) => string);
        };
        price: {
            billingPeriod?: (billingPeriod: BillingPeriod) => string;
            custom: ((data: CurrentPlanParams) => string) | string;
            free: PlanPriceText | ((currency?: PaywallCurrency) => PlanPriceText);
            paid?: (
                priceData: {
                    paywallCalculatedPrice?: PaywallCalculatedPricePoint;
                    plan: Plan;
                    planPrices: Price[];
                    selectedBillingPeriod: BillingPeriod;
                    selectedTier?: PriceTierFragment;
                },
            ) => PlanPriceText;
            priceNotSet: string;
            pricePeriod: (billingPeriod: BillingPeriod) => string;
            startingAtCaption: string;
        };
    }
    Index

    Properties

    addonsTitle?: string
    entitlementsTitle?: (plan: PaywallPlan) => string
    highlightChip: string
    planCTAButton: {
        cancelScheduledUpdate: string;
        currentPlan: string;
        custom: ((data: CurrentPlanParams) => string) | string;
        downgrade: string | ((plan: PaywallPlan) => string);
        startNew: string;
        startTrial: (plan: PaywallPlan) => string;
        switchToBillingPeriod: (billingPeriod: BillingPeriod) => string;
        upgrade: string | ((plan: PaywallPlan) => string);
    }
    price: {
        billingPeriod?: (billingPeriod: BillingPeriod) => string;
        custom: ((data: CurrentPlanParams) => string) | string;
        free: PlanPriceText | ((currency?: PaywallCurrency) => PlanPriceText);
        paid?: (
            priceData: {
                paywallCalculatedPrice?: PaywallCalculatedPricePoint;
                plan: Plan;
                planPrices: Price[];
                selectedBillingPeriod: BillingPeriod;
                selectedTier?: PriceTierFragment;
            },
        ) => PlanPriceText;
        priceNotSet: string;
        pricePeriod: (billingPeriod: BillingPeriod) => string;
        startingAtCaption: string;
    }
    MMNEPVFCICPMFPCPTTAAATR