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.

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

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

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

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

custom: CustomAttributes (read-only)

Returns the custom attributes for this object.


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(): CustomAttributes

Returns the custom attributes for this object.

Returns:

  • the custom attributes for this object.