@stigg/js-client-sdk - v3.92.2

    Type Alias CustomerPortalSubscriptionFragment

    type CustomerPortalSubscriptionFragment = {
        __typename?: "CustomerPortalSubscription";
        addons: (
            { __typename?: "CustomerPortalAddon" } & CustomerPortalSubscriptionAddonFragment
        )[];
        billingPeriodRange?:
            | { __typename?: "DateRange"; end?: any
            | null; start?: any | null }
            | null;
        planId: string;
        planName: string;
        prices: (
            { __typename?: "CustomerPortalSubscriptionPrice" } & CustomerPortalSubscriptionPriceFragment
        )[];
        pricing: {
            __typename?: "CustomerPortalSubscriptionPricing";
            billingModel?: BillingModel | null;
            billingPeriod?: BillingPeriod | null;
            creditRate?:
                | { __typename?: "CreditRate"; amount: number; currencyId: string }
                | null;
            feature?:
                | {
                    __typename?: "CustomerPortalPricingFeature";
                    displayName: string;
                    featureUnits?: string
                    | null;
                    featureUnitsPlural?: string | null;
                }
                | null;
            price?: | { __typename?: "Money"; amount: number; currency: Currency }
            | null;
            pricingType: PricingType;
            unitQuantity?: number | null;
            usageBasedEstimatedBill?: number | null;
        };
        pricingType: PricingType;
        scheduledUpdates?: | (
            { __typename?: "SubscriptionScheduledUpdate" } & CustomerPortalSubscriptionScheduledUpdateDataFragment
        )[]
        | null;
        status: SubscriptionStatus;
        subscriptionId: string;
        totalPrice?:
            | {
                __typename?: "CustomerSubscriptionTotalPrice";
                addonsTotal: { __typename?: "Money"; amount: number; currency: Currency };
                subTotal: { __typename?: "Money"; amount: number; currency: Currency };
                total: { __typename?: "Money"; amount: number; currency: Currency };
            }
            | null;
        trialRemainingDays?: number
        | null;
    }
    Index

    Properties

    __typename?: "CustomerPortalSubscription"
    addons: (
        { __typename?: "CustomerPortalAddon" } & CustomerPortalSubscriptionAddonFragment
    )[]
    billingPeriodRange?:
        | { __typename?: "DateRange"; end?: any
        | null; start?: any | null }
        | null
    planId: string
    planName: string
    prices: (
        { __typename?: "CustomerPortalSubscriptionPrice" } & CustomerPortalSubscriptionPriceFragment
    )[]
    pricing: {
        __typename?: "CustomerPortalSubscriptionPricing";
        billingModel?: BillingModel | null;
        billingPeriod?: BillingPeriod | null;
        creditRate?:
            | { __typename?: "CreditRate"; amount: number; currencyId: string }
            | null;
        feature?:
            | {
                __typename?: "CustomerPortalPricingFeature";
                displayName: string;
                featureUnits?: string
                | null;
                featureUnitsPlural?: string | null;
            }
            | null;
        price?: { __typename?: "Money"; amount: number; currency: Currency }
        | null;
        pricingType: PricingType;
        unitQuantity?: number | null;
        usageBasedEstimatedBill?: number | null;
    }
    pricingType: PricingType
    scheduledUpdates?:
        | (
            { __typename?: "SubscriptionScheduledUpdate" } & CustomerPortalSubscriptionScheduledUpdateDataFragment
        )[]
        | null
    subscriptionId: string
    totalPrice?:
        | {
            __typename?: "CustomerSubscriptionTotalPrice";
            addonsTotal: { __typename?: "Money"; amount: number; currency: Currency };
            subTotal: { __typename?: "Money"; amount: number; currency: Currency };
            total: { __typename?: "Money"; amount: number; currency: Currency };
        }
        | null
    trialRemainingDays?: number | null
    MMNEPVFCICPMFPCPTTAAATR