Class PersistentObject
Common base class for all objects in Commerce Cloud Digital that have an identity and can be stored and retrieved. Each entity is identified by a unique universal identifier (a UUID).
ABTest, ABTestSegment, ActiveData, Basket, BonusDiscountLineItem, Campaign, Catalog, Category, CategoryAssignment, Content, ContentSearchRefinementDefinition, Coupon, CouponLineItem, CustomObject, CustomerActiveData, CustomerAddress, CustomerGroup, CustomerPaymentInstrument, EncryptedObject, ExtensibleObject, Folder, GiftCertificate, GiftCertificateLineItem, Library, LineItem, LineItemCtnr, Order, OrderAddress, OrderPaymentInstrument, OrganizationPreferences, PaymentCard, PaymentInstrument, PaymentMethod, PaymentProcessor, PaymentTransaction, PriceAdjustment, PriceBook, Product, ProductActiveData, ProductInventoryList, ProductInventoryRecord, ProductLineItem, ProductList, ProductListItem, ProductListItemPurchase, ProductListRegistrant, ProductOption, ProductOptionValue, ProductSearchRefinementDefinition, ProductShippingLineItem, Profile, Promotion, Recommendation, SearchRefinementDefinition, ServiceConfig, ServiceCredential, ServiceProfile, Shipment, ShippingLineItem, ShippingMethod, SitePreferences, SortingOption, SortingRule, SourceCodeGroup, Store, StoreGroup, Variant, VariationGroup
| Property | Description |
|---|---|
UUID: String (read-only) | Returns the unique universal identifier for this object. |
creationDate: Date (read-only) | Returns the date that this object was created. |
lastModified: Date (read-only) | Returns the date that this object was last modified. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getCreationDate() | Returns the date that this object was created. |
| getLastModified() | Returns the date that this object was last modified. |
| getUUID() | Returns the unique universal identifier for this 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
- UUID: String
(read-only) Returns the unique universal identifier for this object.
- creationDate: Date
(read-only) Returns the date that this object was created.
- lastModified: Date
(read-only) Returns the date that this object was last modified.
- getCreationDate(): Date
Returns the date that this object was created.
Returns:
- the date that this object was created.
- getLastModified(): Date
Returns the date that this object was last modified.
Returns:
- the date that this object was last modified.
- getUUID(): String
Returns the unique universal identifier for this object.
Returns:
- the unique universal identifier for this object.