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

    Type Alias SlimSubscriptionFragmentV2Fragment

    type SlimSubscriptionFragmentV2Fragment = {
        __typename?: "CustomerSubscription";
        additionalMetaData?: any | null;
        addons?:
            | {
                __typename?: "SubscriptionAddon";
                addon: { __typename?: "Addon"; addonId: string };
                quantity: number;
            }[]
            | null;
        billingPeriod?: BillingPeriod
        | null;
        cancellationDate?: any | null;
        currentBillingPeriodEnd?: any | null;
        currentBillingPeriodStart?: any | null;
        customer: {
            __typename?: "Customer";
            customerId: string;
            email?: string | null;
        };
        effectiveEndDate?: any
        | null;
        endDate?: any | null;
        payingCustomer?:
            | {
                __typename?: "Customer";
                customerId: string;
                email?: string
                | null;
            }
            | null;
        plan: {
            __typename?: "Plan";
            description?: string
            | null;
            displayName: string;
            planId: string;
            product: {
                __typename?: "Product";
                displayName?: string | null;
                downgradePlan?:
                    | { __typename?: "Plan"; displayName: string; refId: string }
                    | null;
                refId: string;
            };
        };
        prices?: | {
            __typename?: "SubscriptionPrice";
            billingModel?: BillingModel
            | null;
            price?:
                | {
                    __typename?: "Price";
                    billingPeriod: BillingPeriod;
                    price?: | { __typename?: "Money"; amount: number; currency: Currency }
                    | null;
                }
                | null;
        }[]
        | null;
        pricingType: PricingType;
        resource?: { __typename?: "CustomerResource"; resourceId: string }
        | null;
        startDate: any;
        status: SubscriptionStatus;
        subscriptionId: string;
        totalPrice?:
            | {
                __typename?: "CustomerSubscriptionTotalPrice";
                subTotal: { __typename?: "Money"; amount: number; currency: Currency };
                total: { __typename?: "Money"; amount: number; currency: Currency };
            }
            | null;
        trialConfiguration?: | {
            __typename?: "TrialConfiguration";
            trialEndBehavior: TrialEndBehavior;
        }
        | null;
        trialEndDate?: any
        | null;
    }
    Index

    Properties

    __typename?: "CustomerSubscription"
    additionalMetaData?: any | null
    addons?:
        | {
            __typename?: "SubscriptionAddon";
            addon: { __typename?: "Addon"; addonId: string };
            quantity: number;
        }[]
        | null
    billingPeriod?: BillingPeriod | null
    cancellationDate?: any | null
    currentBillingPeriodEnd?: any | null
    currentBillingPeriodStart?: any | null
    customer: { __typename?: "Customer"; customerId: string; email?: string | null }
    effectiveEndDate?: any | null
    endDate?: any | null
    payingCustomer?:
        | { __typename?: "Customer"; customerId: string; email?: string
        | null }
        | null
    plan: {
        __typename?: "Plan";
        description?: string | null;
        displayName: string;
        planId: string;
        product: {
            __typename?: "Product";
            displayName?: string | null;
            downgradePlan?:
                | { __typename?: "Plan"; displayName: string; refId: string }
                | null;
            refId: string;
        };
    }
    prices?:
        | {
            __typename?: "SubscriptionPrice";
            billingModel?: BillingModel
            | null;
            price?:
                | {
                    __typename?: "Price";
                    billingPeriod: BillingPeriod;
                    price?: | { __typename?: "Money"; amount: number; currency: Currency }
                    | null;
                }
                | null;
        }[]
        | null
    pricingType: PricingType
    resource?: { __typename?: "CustomerResource"; resourceId: string } | null
    startDate: any
    subscriptionId: string
    totalPrice?:
        | {
            __typename?: "CustomerSubscriptionTotalPrice";
            subTotal: { __typename?: "Money"; amount: number; currency: Currency };
            total: { __typename?: "Money"; amount: number; currency: Currency };
        }
        | null
    trialConfiguration?:
        | {
            __typename?: "TrialConfiguration";
            trialEndBehavior: TrialEndBehavior;
        }
        | null
    trialEndDate?: any | null
    MMNEPVFCICPMFPCPTTAAATR