UNPKG

@apicart/store-sdk

Version:

Apicart SDK for integrating store into any web application

28 lines (15 loc) 649 B
import Customer from '../../../Entity/Customer/Customer'; import CustomerParameter from '../../../Entity/Customer/CustomerParameter'; interface CustomerDaoInterface { getEntity(): Promise<Customer>; getHash(): string; getCreatedAt(): Promise<Date>; getUpdatedAt(): Promise<Date>; addParameter(key: string, value: string | boolean | number | []): Promise<boolean>; addParameters(parameters: []): Promise<boolean>; removeParameter(key: string): Promise<boolean>; removeParameters(keys: string[]): Promise<boolean>; getParameters(): Promise<CustomerParameter[]>; getParameterValue(key: string, defaultValue: any): Promise<any>; }