Customer
: { 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
: any; getActiveSubscriptions
: any; getActiveTrials
: any }
Type declaration
-
createdAt: Date
-
Optional
eligibleForTrial?: EligibleForTrial[] | null
-
Optional
email?: string
-
Optional
experimentInfo?: ExperimentInfo | null
-
hasPaymentMethod: boolean
-
id: string
-
Optional
metadata?: Metadata | null
-
Optional
name?: string
-
-
-
-
Optional
trialedPlans?: TrialedPlan[] | null
-
updatedAt: Date
-
getActivePromotionalEntitlements:function
-
getActiveSubscriptions:function
-
getActiveTrials:function
Deprecated
use getActiveSubscriptions instead with filter for Active