Files
plexjs/docs/sdk/models/operations/pastsubscription.md

8.8 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,
  type: "plexpass",
  transfer: "<value>",
  state: PostUsersSignInDataState.Ended,
  billing: {
    internalPaymentMethod: {},
    paymentMethodId: 929530,
  },
};

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