SqlConsentStore
Implements
Section titled “Implements”ConsentStore
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SqlConsentStore(sql): SqlConsentStore;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”SqlConsentStore
Methods
Section titled “Methods”isOptedIn()
Section titled “isOptedIn()”isOptedIn(customerId): Promise<boolean>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”ConsentStore.isOptedInoptIn()
Section titled “optIn()”optIn(customerId): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”ConsentStore.optInoptOut()
Section titled “optOut()”optOut(customerId): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”ConsentStore.optOut