Poq.SDK.Node

Home > @poq/sdk-sfcc > BaseModel

BaseModel class

Base OCAPI Model class.

Signature:

export declare class BaseModel<T> 

Methods

Method Modifiers Description
getPropertyValue(propertyName)   Method helps to get defined properties from contract.
getPropertyValue(propertyName)   Method helps to get custom properties of object since they are not defined in schema.
setPropertyValue(propertyName, value)   Method helps to set custom properties of object since they are not defined in schema.
setPropertyValue(propertyName, value)   Method helps to set custom properties of object since they are not defined in schema.