Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

Index

Constructors

constructor

Properties

Readonly _keys

_keys: BaseSet<string> = ...

accessType

accessType: number = 0

Optional application

application: Application

applicationId

applicationId: string = ''

Readonly client

client: ShardClient

Optional contentRating

contentRating: { descriptors: number[]; rating: number }

Type declaration

  • descriptors: number[]
  • rating: number

contentRatingAgency

contentRatingAgency: number = 0

dependentSkuId

dependentSkuId: null | string = null

Optional features

features: number[]

flags

flags: number = 0

Optional genres

genres: number[]

id

id: string = ''

legalNotice

legalNotice: string = ''

Optional locales

locales: string[]

Optional manifestLabels

manifestLabels: null | any[]

name

name: string = ''

Optional premium

premium: null

Optional price

price: { amount: number; currency: string }

Type declaration

  • amount: number
  • currency: string

Optional releaseDate

releaseDate: null | string

showAgeGate

showAgeGate: boolean = false

slug

slug: string = ''

Optional systemRequirements

systemRequirements: {}

Type declaration

  • [key: string]: { minimum: any; recommended: any }
    • minimum: any
    • recommended: any

type

type: SkuTypes = ...

Accessors

isClone

  • get isClone(): boolean

shardId

  • get shardId(): number

url

  • get url(): string

Methods

[custom]

  • [custom](): object

_getFromSnake

  • _getFromSnake(key: string): any

_setFromSnake

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

clone

difference

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

differences

differencesBetween

  • differencesBetween(structure: Structure): null | object

hasDifference

  • hasDifference(key: string, value: any): boolean

hasDifferences

hasDifferencesBetween

  • hasDifferencesBetween(structure: Structure): boolean

merge

mergeValue

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

toJSON

  • toJSON(): object

Generated using TypeDoc