@acceleratxr/core_sdk / ProductFeature
Class: ProductFeature#
Describes a single feature assignable to a product.
REQUIRES: Purchasing Services
author Jean-Philippe Steinmetz info@acceleratxr.com
Hierarchy#
-
↳ ProductFeature
Index#
Constructors#
Properties#
Accessors#
Constructors#
constructor#
+ new ProductFeature(other?: any): ProductFeature
Overrides EntityBase.constructor
Defined in src/models/ProductFeature.ts:39
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: ProductFeature
Properties#
data#
• data: any = undefined
Defined in src/models/ProductFeature.ts:39
An arbitrary map of metadata associated with this feature.
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/ProductFeature.ts:29
The textual description of the feature
icon#
• icon: string = “”
Defined in src/models/ProductFeature.ts:34
The asset to display for the feature’s icon
name#
• name: string = “”
Defined in src/models/ProductFeature.ts:19
The unique name of the feature
title#
• title: string = “”
Defined in src/models/ProductFeature.ts:24
The textual name of the feature
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/ProductFeature.ts:14
Returns: string