dw.object
Class ExtensibleObject
Base class for all persistent business objects in Commerce Cloud Digital that
are customizable through the metadata system. All objects in Digital
that have custom attributes derive from ExtensibleObject including
both system-defined and custom objects. The describe() method provides access
to the related object-type metadata. The method getCustom() is the central
point to retrieve and store the objects attribute values themselves.
All Known Subclasses
ActiveData, Basket, BonusDiscountLineItem, Campaign, Catalog, Category, CategoryAssignment, Content, ContentSearchRefinementDefinition, CouponLineItem, CustomerActiveData, CustomerAddress, CustomerGroup, CustomerPaymentInstrument, CustomObject, EncryptedObject, 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, SourceCodeGroup, Store, StoreGroup, Variant, VariationGroup
Properties
custom
:
CustomAttributes
(Read Only)
The custom attributes for this object. The returned object is
used for retrieving and storing attribute values. See
CustomAttributes for a detailed example of the syntax for
working with custom attributes.
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
describe()
:
ObjectTypeDefinition
Returns the meta data of this object.
getCustom()
:
CustomAttributes
Returns the custom attributes for this object.
Methods inherited from class
PersistentObject
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
describe
describe()
:
ObjectTypeDefinition
Returns the meta data of this object. If no meta data is available the
method returns null. The returned ObjectTypeDefinition can be used to
retrieve the metadata for any of the custom attributes.
Returns:
the meta data of this object. If no meta data is available the method returns null.
getCustom
getCustom()
:
CustomAttributes
Returns the custom attributes for this object. The returned object is
used for retrieving and storing attribute values. See
CustomAttributes for a detailed example of the syntax for
working with custom attributes.
Returns:
the custom attributes for this object.
© Copyright 2000-2024, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.