Class: Product
structures.Product
Table of contents
Constructors
Properties
- assetId
- assetTypeId
- client
- created
- creator
- description
- forSale
- iconImageAssetId
- id
- isNew
- limited
- limitedUnique
- minimumMembershipLevel
- name
- price
- productId
- publicDomain
- remaining
- sales
- type
- updated
Constructors
constructor
+ new Product(data
: ProductOptions, client
: default): Product
Parameters:
Name | Type |
---|---|
data |
ProductOptions |
client |
default |
Returns: Product
Defined in: structures/Asset.ts:301
Properties
assetId
• assetId: number
Defined in: structures/Asset.ts:284
assetTypeId
• assetTypeId: number
Defined in: structures/Asset.ts:288
client
• client: default
Defined in: structures/Asset.ts:281
created
• created: Date
Defined in: structures/Asset.ts:291
creator
• creator: PartialUser
Defined in: structures/Asset.ts:289
description
• description: string
Defined in: structures/Asset.ts:287
forSale
• forSale: boolean
Defined in: structures/Asset.ts:296
iconImageAssetId
• iconImageAssetId: number
Defined in: structures/Asset.ts:290
id
• id: number
Defined in: structures/Asset.ts:282
isNew
• isNew: boolean
Defined in: structures/Asset.ts:295
limited
• limited: boolean
Defined in: structures/Asset.ts:298
limitedUnique
• limitedUnique: boolean
Defined in: structures/Asset.ts:299
minimumMembershipLevel
• minimumMembershipLevel: number
Defined in: structures/Asset.ts:301
name
• name: string
Defined in: structures/Asset.ts:286
price
• price: number
Defined in: structures/Asset.ts:293
productId
• productId: number
Defined in: structures/Asset.ts:285
publicDomain
• publicDomain: boolean
Defined in: structures/Asset.ts:297
remaining
• remaining: null | number
Defined in: structures/Asset.ts:300
sales
• sales: number
Defined in: structures/Asset.ts:294
type
• type: string
Defined in: structures/Asset.ts:283
updated
• updated: Date
Defined in: structures/Asset.ts:292