GitHub

DaffCartItemDiscount

A discount applied to a specific cart item.

import { DaffCartItemDiscount } from '@daffodil/cart'
interface DaffCartItemDiscount {
  amount: number
  label: string
}

Properties

Name Type Description
amount number

The amount of the discount.

label string

A human-readable label describing the discount.