DaffInMemoryBackendProductService

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

Properties

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.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.