Class Extensible

Base class alternative to ExtensibleObject for objects customizable through the metadata system. Similar to ExtensibleObject: the describe() method provides access to the related object-type metadata. The getCustom() method is the central point to retrieve and store the objects attribute values themselves.

All Known Subclasses 

AbstractItem, AbstractItemCtnr, Appeasement, AppeasementItem, Invoice, InvoiceItem, Return, ReturnCase, ReturnCaseItem, ReturnItem, ShippingOrder, ShippingOrderItem, TrackingInfo

Property Summary 

PropertyDescription
custom: CustomAttributes (read-only)Returns the custom attributes for this object.

Constructor Summary 

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

Method Summary 

MethodDescription
describe()Returns the meta data of this object.
getCustom()Returns the custom attributes 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 

custom 

custom: CustomAttributes (read-only)

Returns the custom attributes for this object.


Method Details 

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.

Returns:

  • the custom attributes for this object.