DaffProductPrices
A model for product prices that holds discounts, discounted price, and original price for the associated product.
import { DaffProductPrices } from '@daffodil/product'
interface DaffProductPrices {
discountedPrice: number
discount: DaffProductDiscount
originalPrice: number
}
Properties
Name | Type | Description |
---|---|---|
discountedPrice | number | The discounted price of the product. |
discount | DaffProductDiscount | The discount of the product. |
originalPrice | number | The price of the product before discounts. |