GitHub

DaffCartItemDiscount

import { DaffCartItemDiscount } from '@daffodil/cart'

A discount applied to a specific cart item.

interface DaffCartItemDiscount {
  amount: number
  label: string
}

Properties

amount
number

The amount of the discount.

label
string

A human-readable label describing the discount.