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

    Type Alias ProvisionSubscription

    type ProvisionSubscription = {
        addons?: SubscriptionAddon[];
        appliedCoupon?: SubscriptionCouponInput;
        awaitPaymentConfirmation?: boolean;
        billableFeatures?: BillableFeature[];
        billingCountryCode?: string;
        billingCycleAnchor?: SubscriptionBillingCycleAnchor;
        billingId?: string;
        billingInformation?: SubscriptionBillingInfo;
        billingPeriod?: BillingPeriod;
        charges?: ChargeInput[];
        checkoutOptions?: CheckoutOptions;
        customerId: string;
        entitlements?: SubscriptionEntitlementV2[];
        id?: string;
        metadata?: Metadata | null;
        payingCustomerId?: string;
        paymentCollectionMethod?: PaymentCollectionMethod;
        planId: string;
        priceOverrides?: PriceOverrideInput[];
        promotionCode?: string;
        resourceId?: string;
        salesforceId?: string;
        scheduleStrategy?: ScheduleStrategy;
        skipTrial?: boolean;
        startDate?: Date;
        subscriptionEntitlements?: SubscriptionEntitlement[];
        trialOverrideConfiguration?: TrialOverrideConfigurationInput;
        unitQuantity?: number;
    }
    Index

    Properties

    appliedCoupon?: SubscriptionCouponInput
    awaitPaymentConfirmation?: boolean
    billableFeatures?: BillableFeature[]
    billingCountryCode?: string
    billingCycleAnchor?: SubscriptionBillingCycleAnchor
    billingId?: string
    billingInformation?: SubscriptionBillingInfo
    billingPeriod?: BillingPeriod
    charges?: ChargeInput[]
    checkoutOptions?: CheckoutOptions
    customerId: string
    entitlements?: SubscriptionEntitlementV2[]
    id?: string
    metadata?: Metadata | null
    payingCustomerId?: string
    paymentCollectionMethod?: PaymentCollectionMethod
    planId: string
    priceOverrides?: PriceOverrideInput[]
    promotionCode?: string
    resourceId?: string
    salesforceId?: string
    scheduleStrategy?: ScheduleStrategy
    skipTrial?: boolean
    startDate?: Date
    subscriptionEntitlements?: SubscriptionEntitlement[]

    Use entitlements instead to support both feature and credit entitlements.

    trialOverrideConfiguration?: TrialOverrideConfigurationInput
    unitQuantity?: number
    MMNEPVFCICPMFPCPTTAAATR