ProductsSharedStateKitServiceWrapper
Methods
addProductForFetching()
addProductForFetching(
productId):Observable<ProductSdkDto>
Adds a product to the fetching queue and returns an Observable that emits the product once it's loaded.
Parameters
| Parameter | Type | Description |
|---|---|---|
productId | number | ID of the product to fetch |
Returns
Observable<ProductSdkDto>
Observable that emits the loaded product
addProductWithQuantityRulesForFetching()
addProductWithQuantityRulesForFetching(
productId):void
Adds a product with quantity rules to the fetching queue.
Parameters
| Parameter | Type | Description |
|---|---|---|
productId | number | ID of the product to fetch with quantity rules |
Returns
void