Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Script > dw.customer
dw.customer
Class CustomerContextMgr
Object
dw.customer.CustomerContextMgr
Provides helper methods for managing customer context, such as the Effective Time for which the customer is shopping at
Properties
effectiveTime  :  Date
Get the effective time associated with the customer. By default, the effective time is null.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
static getEffectiveTime() : Date
Get the effective time associated with the customer.
static setEffectiveTime(effectiveTime : Date) : void
Set the effective time for the customer.
Methods inherited from class Object
Method Detail
getEffectiveTime
static getEffectiveTime() : Date
Get the effective time associated with the customer. By default, the effective time is null.
Returns:
effective time. When null is returned it means no effective time is associated with the customer

setEffectiveTime
static setEffectiveTime(effectiveTime : Date) : void
Set the effective time for the customer. Null is allowed to remove effective time from the customer.
Parameters:
effectiveTime - the effective time.

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.