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).

All Known Subclasses 

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 Summary 

PropertyDescription
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.

Constructor Summary 

This class does not have a constructor, so you cannot create it directly.

Method Summary 

MethodDescription
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.

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 

UUID 

UUID: String (read-only)

Returns the unique universal identifier for this object.


creationDate 

creationDate: Date (read-only)

Returns the date that this object was created.


lastModified 

lastModified: Date (read-only)

Returns the date that this object was last modified.


Method Details 

getCreationDate() 

getCreationDate(): Date

Returns the date that this object was created.

Returns:

  • the date that this object was created.

getLastModified() 

getLastModified(): Date

Returns the date that this object was last modified.

Returns:

  • the date that this object was last modified.

getUUID() 

getUUID(): String

Returns the unique universal identifier for this object.

Returns:

  • the unique universal identifier for this object.