dw.object
Class PersistentObject
![](https://sfcclearning.com/infocenter/DWAPI/scriptapi/html/api/images/inherit.gif)
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, CustomerActiveData, CustomerAddress, CustomerGroup, CustomerPaymentInstrument, CustomObject, 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
Properties
creationDate
:
Date
(Read Only)
The date that this object was created.
lastModified
:
Date
(Read Only)
The date that this object was last modified.
UUID
:
String
(Read Only)
The unique universal identifier for this object.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
To get an instance of this class, use one of the subclass constructors.
Method Summary
getCreationDate()
:
Date
Returns the date that this object was created.
getLastModified()
:
Date
Returns the date that this object was last modified.
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
Method Detail
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.