menu

SiteGenesis / Server-side JS / Class: AbstractModel

models/AbstractModel~ AbstractModel

new AbstractModel(obj)

Abstract class for all modules implementing the The Model concept concept. Models typlcally wrap dw.object.PersistenObject instances or more general instances of Salesforce Commerce Cloud API classes.

Extends:
Parameters:
Name Type Description
obj Object
Source:
See:

Extends

Methods

extend(prop) → {Object}

Create a new sub class

Parameters:
Name Type Description
prop Object

An object defining the members of the sub class

Inherited From:
Source:
Returns:

The sub class

Type
Object

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.