GitHub

DaffCartStorageService

The DaffCartStorageService is responsible for storing the cart id of a customer in storage when necessary. For some ecommerce platforms, where cart information is stored in a cookie instead of storage accessible via javsacript, this service isn't explicitly necessary, so be sure to use this service only in the driver layer for platforms that require it.

@Injectable()
class DaffCartStorageService {
  getCartId(): string
  setCartId(value: string): void
  removeCartId(): void
}

Properties

Name Type Description
getCartId string
setCartId void
removeCartId void