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

    Type Alias Customer

    type Customer = {
        billingId?: string;
        createdAt: Date;
        eligibleForTrial?: EligibleForTrial[] | null;
        email?: string;
        experimentInfo?: ExperimentInfo | null;
        hasPaymentMethod: boolean;
        id: string;
        metadata?: Metadata | null;
        name?: string;
        paymentMethodDetails?: PaymentMethodDetails;
        promotionalEntitlements: PromotionalEntitlement[];
        subscriptions: Subscription[];
        trialedPlans?: TrialedPlan[] | null;
        updatedAt: Date;
        getActivePromotionalEntitlements(): PromotionalEntitlement[];
        getActiveSubscriptions(): Subscription[];
        getActiveTrials(): Subscription[];
    }
    Index

    Properties

    billingId?: string
    createdAt: Date
    eligibleForTrial?: EligibleForTrial[] | null
    email?: string
    experimentInfo?: ExperimentInfo | null
    hasPaymentMethod: boolean
    id: string
    metadata?: Metadata | null
    name?: string
    paymentMethodDetails?: PaymentMethodDetails
    promotionalEntitlements: PromotionalEntitlement[]
    subscriptions: Subscription[]
    trialedPlans?: TrialedPlan[] | null
    updatedAt: Date

    Methods

    MMNEPVFCICPMFPCPTTAAATR