Skip to content

SqlConsentStore

  • ConsentStore
new SqlConsentStore(sql): SqlConsentStore;
Parameter Type

sql

SqlExecutor

SqlConsentStore

isOptedIn(customerId): Promise<boolean>;
Parameter Type

customerId

string

Promise<boolean>

ConsentStore.isOptedIn

optIn(customerId): Promise<void>;
Parameter Type

customerId

string

Promise<void>

ConsentStore.optIn

optOut(customerId): Promise<void>;
Parameter Type

customerId

string

Promise<void>

ConsentStore.optOut