An in-memory service that stubs out the backend services for getting products.
@Param productFactory: DaffProductFactory instance @Param productImageFactory: DaffProductImageFactory instance @Param products: An array of Products
Name | Type | Description |
---|---|---|
collectionName | DAFF_PRODUCT_IN_MEMORY_COLLECTION_NAME | |
_products | DaffProduct [] |
|
products | DaffProduct [] |
The collection of products in the backend. |
get | Returns products based on the url given. |