Class ActiveData
Represents the active data for an object in Commerce Cloud Digital.
All Known Subclasses
CustomerActiveData , ProductActiveData
Property Summary
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
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
Method Description getCustom ()Returns the custom attributes for this object. isEmpty ()Return true if the ActiveData doesn’t exist for the object
Methods inherited from class ExtensibleObject
describe , getCustom
Methods inherited from class PersistentObject
getCreationDate , getLastModified , getUUID
Methods inherited from class Object
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
Property Details
custom
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
empty: Boolean (read-only)
Return true if the ActiveData doesn't exist for the object
Method Details
getCustom()
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()
isEmpty(): Boolean
Return true if the ActiveData doesn't exist for the object
Returns:
true if ActiveData is empty, false otherwise