PurchaseItem
One line of one order, and the only place a price is stated. Every amount is an immutable snapshot: editing the activity, product or menu afterwards can never change what a buyer was charged.
Fields
idID!kindPurchaseItemKind!nameString!What the line was called at checkout.
quantityInt!unitAmountInt!Price of one unit before discount and tax, in cents.
discountAmountInt!taxAmountInt!Tax on this line. Per-line rather than order-level, which is what makes refunding two tickets out of six arithmetic on one row.
totalAmountInt!sessionActivitySessiontierAdmissionTieractivityActivityproductProductserviceServicebookingBookingThe booking this line produced, stamped at fulfillment.
fundedByEntitlementThe pass or membership that settled this line instead of money.
creditsUsedIntfulfillmentPhysicalFulfillmentHand-over state. Physical products only — nothing else has one.