@stigg/node-server-sdk - v4.22.1

    Type Alias CustomerFragment

    CustomerFragment: {
        __typename?: "Customer";
        coupon?: { __typename?: "Coupon" } & CouponFragment | null;
        defaultPaymentExpirationMonth?: number | null;
        defaultPaymentExpirationYear?: number | null;
        defaultPaymentMethodLast4Digits?: string | null;
        defaultPaymentMethodType?: PaymentMethodType | null;
        eligibleForTrial?:
            | {
                __typename?: "EligibleForTrial";
                eligible: boolean;
                productId?: string
                | null;
                productRefId?: string | null;
            }[]
            | null;
        experimentInfo?: | {
            __typename?: "experimentInfo";
            groupName: string;
            groupType: ExperimentGroupType;
            id: string;
            name: string;
        }
        | null;
        hasActiveSubscription: boolean;
        hasPaymentMethod: boolean;
        promotionalEntitlements: (
            { __typename?: "PromotionalEntitlement" } & PromotionalEntitlementFragment
        )[];
        trialedPlans?:
            | {
                __typename?: "TrialedPlan";
                planId?: string
                | null;
                planRefId?: string | null;
                productId?: string | null;
                productRefId?: string | null;
            }[]
            | null;
    } & SlimCustomerFragment
    MMNEPVFCICPMFPCPTTAAATR