GitHub

DaffProductDiscount

The discount for a product.

import { DaffProductDiscount } from '@daffodil/product'
interface DaffProductDiscount {
  amount: number
  percent: number
}

Properties

Name Type Description
amount number

The discount represented as some amount of currency.

percent number

The discount represented as a percent of the original product price.