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

    Type Alias Subscription

    type Subscription = {
        addonIds: string[];
        addons: SubscriptionAddon[];
        billingId?: string;
        billingLinkUrl?: string;
        billingSyncError?: string;
        customerId: string;
        effectiveEndDate?: Date;
        experimentInfo?: ExperimentInfo | null;
        id: string;
        latestInvoice?: SubscriptionInvoiceFragment;
        metadata?: Metadata | null;
        paymentCollection: PaymentCollection;
        planId: string;
        price: SubscriptionPrice | null;
        prices: Price[];
        pricingType: PricingType;
        resource: CustomerResource | null;
        status: SubscriptionStatus;
        totalPrice: TotalPriceFragment | null | undefined;
    }
    Index

    Properties

    addonIds: string[]
    billingId?: string
    billingLinkUrl?: string
    billingSyncError?: string
    customerId: string
    effectiveEndDate?: Date
    experimentInfo?: ExperimentInfo | null
    id: string
    metadata?: Metadata | null
    paymentCollection: PaymentCollection
    planId: string
    price: SubscriptionPrice | null

    use prices instead with totalPrice

    prices: Price[]
    pricingType: PricingType
    resource: CustomerResource | null
    totalPrice: TotalPriceFragment | null | undefined
    MMNEPVFCICPMFPCPTTAAATR