Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SubscriptionPlan

Subscription Plan, used in Gift

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysSubscriptionPlan

client

client: ShardClient

currency

currency: string = "usd"

id

id: string = ""

interval

interval: number = 0

intervalCount

intervalCount: number = 0

name

name: string = ""

price

price: number = 0

skuId

skuId: string = ""

taxInclusive

taxInclusive: boolean = false

Accessors

shardId

  • get shardId(): number
  • Returns number

Methods

[inspect.custom]

  • [inspect.custom](): object

_getFromSnake

  • _getFromSnake(key: string): any
  • Parameters

    • key: string

    Returns any

_setFromSnake

  • _setFromSnake(key: string, value: any): any
  • Parameters

    • key: string
    • value: any

    Returns any

difference

  • difference(key: string, value: any): [boolean, any]
  • Parameters

    • key: string
    • value: any

    Returns [boolean, any]

differences

merge

mergeValue

  • mergeValue(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

toJSON

  • toJSON(): object
  • Returns object

Generated using TypeDoc