type alias CheckoutItem

Single item within a checkout — one bookable PATH. A listing booked through two overlapping packages (or a package plus its own standalone row) in one order is one item per path, each with its own quantity and price.

Properties

listingId: number
quantity: number
unitPrice: number
slug: string
name: string
optional
packageGroupId: number | undefined

The package this line books through (absent = a standalone/child line). Signed per line as the item's k/r edge tag and stamped onto the line's booking row.

Usage

import { type CheckoutItem } from "docs/payments.ts";