Skip to main content

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​

ParameterTypeDescription
productIdnumberID 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​

ParameterTypeDescription
productIdnumberID of the product to fetch with quantity rules

Returns​

void