Type Alias OnPlanSelectedCallbackFn
OnPlanSelectedCallbackFn: ( {
plan,
customer,
subscription,
intentionType,
selectedBillingPeriod,
billableFeatures,
}: { billableFeatures?: BillableFeature[]; customer: Customer | null; intentionType: SubscribeIntentionType; plan: Plan; selectedBillingPeriod: BillingPeriod; subscription: Subscription | null; },) => void| Promise<void> Type Declaration
- (
{
plan,
customer,
subscription,
intentionType,
selectedBillingPeriod,
billableFeatures,
}: {
billableFeatures?: BillableFeature[];
customer: Customer | null;
intentionType: SubscribeIntentionType;
plan: Plan;
selectedBillingPeriod: BillingPeriod;
subscription: Subscription | null;
},
): void
| Promise<void> Parameters
- {
plan,
customer,
subscription,
intentionType,
selectedBillingPeriod,
billableFeatures,
}: {
billableFeatures?: BillableFeature[];
customer: Customer | null;
intentionType: SubscribeIntentionType;
plan: Plan;
selectedBillingPeriod: BillingPeriod;
subscription: Subscription | null;
}
Returns void | Promise<void>