Files
plexjs/docs/sdk/models/operations/pastsubscription.md
2024-09-08 03:06:14 +00:00

9.0 KiB
Raw Blame History

PastSubscription

Example Usage

import { PastSubscription, PostUsersSignInDataState } from "@lukehagar/plexjs/sdk/models/operations";

let value: PastSubscription = {
    id: "<id>",
    mode: "<value>",
    renewsAt: 1556281940,
    endsAt: 1556281940,
    canceled: false,
    gracePeriod: false,
    onHold: false,
    canReactivate: false,
    canUpgrade: false,
    canDowngrade: false,
    canConvert: false,
    type: "plexpass",
    transfer: "<value>",
    state: PostUsersSignInDataState.Ended,
    billing: {
        internalPaymentMethod: {},
        paymentMethodId: 880476,
    },
};

Fields

Field Type Required Description Example
id string ✔️ N/A
mode string ✔️ N/A
renewsAt number ✔️ N/A 1556281940
endsAt number ✔️ N/A 1556281940
canceled boolean N/A false
gracePeriod boolean N/A false
onHold boolean N/A false
canReactivate boolean N/A false
canUpgrade boolean N/A false
canDowngrade boolean N/A false
canConvert boolean N/A false
type string ✔️ N/A plexpass
transfer string ✔️ N/A
state operations.PostUsersSignInDataState ✔️ N/A ended
billing operations.Billing ✔️ N/A