Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sku

Sku Structure, used in [Gift] and [StoreListing]

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysSku

accessType

accessType: number = 0

Optional application

application: Application

applicationId

applicationId: string = ""

client

client: ShardClient

Optional contentRating

contentRating: undefined | object

contentRatingAgency

contentRatingAgency: number = 0

dependentSkuId

dependentSkuId: null | string = null

Optional features

features: Array<number>

flags

flags: number = 0

Optional genres

genres: Array<number>

id

id: string = ""

legalNotice

legalNotice: string = ""

Optional locales

locales: Array<string>

Optional manifestLabels

manifestLabels: Array<any> | null

name

name: string = ""

Optional premium

premium: undefined | null

Optional price

price: undefined | object

Optional releaseDate

releaseDate: null | string

showAgeGate

showAgeGate: boolean = false

slug

slug: string = ""

Optional systemRequirements

systemRequirements: undefined | object

type

type: SkuTypes = SkuTypes.BASE

Accessors

shardId

  • get shardId(): number
  • Returns number

url

  • get url(): string
  • Returns string

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