Home > widget-integration > PredictiveBundleService > buildCartPayload
PredictiveBundleService.buildCartPayload() method
Signature:
buildCartPayload<T extends BundleableProduct & {
selectedOption: BundleableSelectedOption;
}>(products: T[], options?: BuildCartPayloadOptions): BundleCartItem[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
products |
T[] | |
|
options |
(Optional) |
Returns: