Class ActiveData
Represents the active data for an object in Commerce Cloud Digital.
CustomerActiveData, ProductActiveData
| Property | Description |
|---|---|
custom: CustomAttributes (read-only) | Returns the custom attributes for this object. |
empty: Boolean (read-only) | Return true if the ActiveData doesn't exist for the object |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getCustom() | Returns the custom attributes for this object. |
| isEmpty() | Return true if the ActiveData doesn't exist for the object |
getCreationDate, getLastModified, getUUID
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
- custom: CustomAttributes
(read-only) Returns the custom attributes for this object. The returned object can only be used for retrieving attribute values, not storing them. See CustomAttributes for a detailed example of the syntax for working with custom attributes.
- empty: Boolean
(read-only) Return true if the ActiveData doesn't exist for the object
- getCustom(): CustomAttributes
Returns the custom attributes for this object. The returned object can only be used for retrieving attribute values, not storing them. See CustomAttributes for a detailed example of the syntax for working with custom attributes.
Returns:
- the custom attributes for this object.
- isEmpty(): Boolean
Return true if the ActiveData doesn't exist for the object
Returns:
- true if ActiveData is empty, false otherwise