import { DaffInMemoryProductService } from '@daffodil/product/driver/in-memory'
The product inmemory driver to mock the product backend service.
@Injectable()
class DaffInMemoryProductService extends DaffInMemoryDriverBase implements DaffProductServiceInterface {
  getAll(): Observable<DaffProduct[]>
  get(productId: string): Observable<DaffProductDriverResponse>
  getByUrl(url: string): Observable<DaffProductDriverResponse>
}
Observable<DaffProduct[]>Get all products.
Observable<DaffProductDriverResponse>Get a product by Id.
@param productId - A string of the product ID.
| Parameter | productId: string | 
|---|---|
| Description | 
Observable<DaffProductDriverResponse>Get a product by URL.
@param url - A string of the product URL.
See DaffLocatable for more information on the requirements for the url argument of DaffProduct.
| Parameter | url: string | 
|---|---|
| Description |