Home > widget-integration > PredictiveBundleService > calculateDiscountedPrice

PredictiveBundleService.calculateDiscountedPrice() method

Signature:

calculateDiscountedPrice<T extends BundleableProduct>(products: T[], discount: BundleDiscount, currencyRate?: number): DiscountedPriceResult;

Parameters

Parameter

Type

Description

products

T[]

discount

BundleDiscount

currencyRate

number

(Optional)

Returns:

DiscountedPriceResult