@acceleratxr/core_sdk / ProductCategory
Class: ProductCategory#
Describes a group of products that have similar characteristics.
REQUIRES: Purchasing Services
author Jean-Philippe Steinmetz info@acceleratxr.com
Hierarchy#
-
↳ ProductCategory
Index#
Constructors#
Properties#
Accessors#
Constructors#
constructor#
+ new ProductCategory(other?: any): ProductCategory
Overrides EntityBase.constructor
Defined in src/models/ProductCategory.ts:44
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: ProductCategory
Properties#
data#
• data: any = undefined
Defined in src/models/ProductCategory.ts:39
An arbitrary map of metadata associated with this category.
dateCreated#
• dateCreated: Date = new Date()
Inherited from EntityBase.dateCreated
Defined in src/EntityBase.ts:18
The date and time that the object was created.
dateModified#
• dateModified: Date = new Date()
Inherited from EntityBase.dateModified
Defined in src/EntityBase.ts:23
The date and time that the object was last modified.
description#
• description: string = “”
Defined in src/models/ProductCategory.ts:29
The textual description of the category
icon#
• icon: string = “”
Defined in src/models/ProductCategory.ts:34
The asset to display for the category’s icon
name#
• name: string = “”
Defined in src/models/ProductCategory.ts:19
The unique name of the category
roles#
• roles: Array<string> = []
Defined in src/models/ProductCategory.ts:44
A list of roles that users must have in order to view/buy this product.
title#
• title: string = “”
Defined in src/models/ProductCategory.ts:24
The unique name of the category
uid#
• uid: string = uuid.v4()
Inherited from EntityBase.uid
Defined in src/EntityBase.ts:13
The universally unique identifier of the object.
version#
• version: number = 0
Inherited from EntityBase.version
Defined in src/EntityBase.ts:28
The optimistic locking version of the object.
Accessors#
ClassName#
• Staticget ClassName(): string
Defined in src/models/ProductCategory.ts:14
Returns: string