projects/apttus/ecommerce/src/lib/modules/catalog/services/product-option.service.ts
Properties |
|
Methods |
| getListOfProducts | ||||||
getListOfProducts(productId: Array
|
||||||
|
Parameters :
Returns :
Observable<Array<BundleProduct>>
|
| getProductOptions | ||||||
getProductOptions(product: BundleProduct)
|
||||||
Decorators :
@MemoizeAll()
|
||||||
|
Parameters :
Returns :
Array<ProductOptionComponent>
|
| getProductOptionsForGroup | ||||||||||||
getProductOptionsForGroup(product: BundleProduct, group: ProductOptionGroup)
|
||||||||||||
|
This method returns list of ProductOptionComponent filters out ProductOptionComponent which is not associated with the group parameter.
Parameters :
Returns :
Array<ProductOptionComponent>
|
| getProductOptionTree | |||||||||||||||||||||||||
getProductOptionTree(productId: string, relatedTo?: CartItem | QuoteLineItem | AssetLineItem | OrderLineItem, applyFilter: "none" | "items" | "changes", changes?: Array
|
|||||||||||||||||||||||||
|
Parameters :
Returns :
Observable<BundleProduct>
|
| getRequiredUncheckedOptions | ||||||||
getRequiredUncheckedOptions(allOptions: Array
|
||||||||
|
Function that returns all the options that are Required but selected from UI.
Parameters :
Returns :
Array<ProductOptionComponent>
|
| groupOptionGroups | ||||||||||||||||||||||||||||
groupOptionGroups(p: BundleProduct, attributeValue: ProductAttributeValue, relatedItems: Array
|
||||||||||||||||||||||||||||
|
Parameters :
Returns :
BundleProduct
|
| Protected assetService |
Type : AssetService
|
Default value : this.injector.get(AssetService)
|
| Protected cartItemService |
Type : CartItemService
|
Default value : this.injector.get(CartItemService)
|
| Protected lineItemService |
Type : LineItemService
|
Default value : this.injector.get(LineItemService)
|
| Protected productAttributeValueService |
Default value : this.injector.get(ProductAttributeValueService)
|
| Protected productService |
Type : ProductService
|
Default value : this.injector.get(ProductService)
|
| type |
Default value : BundleProduct
|