SubscriptionPurchaseLineItem: {
    expiryTime?: string | null;
    productId?: string | null;
} & ({
    autoRenewingPlan?: AutoRenewingPlan | null;
} | {
    prepaidPlan?: PrepaidPlan | null;
})

Item-level info for a subscription purchase.

Type declaration

  • Optional expiryTime?: string | null

    Time at which the subscription expired or will expire unless the access is extended (ex. renews).

    A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

  • Optional productId?: string | null

    The purchased product ID (for example, 'monthly001').