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

    Type Alias FullSubscription

    type FullSubscription = {
        addons: FullSubscriptionAddon[];
        billingId?: string;
        billingLinkUrl?: string;
        billingSyncError?: string;
        cancellationDate?: Date;
        crmId?: string;
        currentBillingPeriodEnd?: Date;
        effectiveEndDate?: Date;
        endDate?: Date;
        experimentInfo?: ExperimentInfo | null;
        futureUpdates: SubscriptionFutureUpdateDataFragment[];
        id: string;
        latestInvoice?: SubscriptionInvoiceFragment;
        metadata?: Metadata | null;
        payingCustomer: SlimCustomer | null;
        paymentCollection: PaymentCollection;
        paymentCollectionMethod?: PaymentCollectionMethod;
        plan: Plan;
        price: SubscriptionPrice | null;
        prices: Price[];
        pricingType: PricingType;
        resource: CustomerResource | null;
        startDate: Date;
        status: SubscriptionStatus;
        totalPrice: TotalPriceFragment | null | undefined;
        trialEndDate?: Date;
    }
    Index

    Properties

    billingId?: string
    billingLinkUrl?: string
    billingSyncError?: string
    cancellationDate?: Date
    crmId?: string
    currentBillingPeriodEnd?: Date
    effectiveEndDate?: Date

    The calculated end date after which the subscription will be canceled, which takes trial expiration and scheduled cancellations into consideration

    endDate?: Date
    experimentInfo?: ExperimentInfo | null
    id: string
    metadata?: Metadata | null
    payingCustomer: SlimCustomer | null
    paymentCollection: PaymentCollection
    paymentCollectionMethod?: PaymentCollectionMethod
    plan: Plan
    price: SubscriptionPrice | null

    use prices instead with totalPrice

    prices: Price[]
    pricingType: PricingType
    resource: CustomerResource | null
    startDate: Date
    totalPrice: TotalPriceFragment | null | undefined
    trialEndDate?: Date
    MMNEPVFCICPMFPCPTTAAATR