Skip to main content

Module pos

Module pos 

Source
Expand description

POS boundary for standalone sales, reservation-checkout attachments, price exceptions, and comps. POS contracts for attaching retail sales to staff transactions or reservation checkout while preserving approval gates.

Structs§

Quantity
Positive sale quantity used to ensure retail checkout never drafts zero-unit line items.
Request
Retail sale request combining offering, quantity, source, and price-adjustment context.
RequestBuilder
Use builder syntax to set the inputs and finish with build().

Enums§

Decision
POS decision describing whether a sale draft is allowed, needs review, or is denied.
DenialReason
Reason a retail sale is denied before reaching checkout.
Policy
POS policy deciding which retail sources are allowed and which price actions need manager review.
PriceAdjustment
Price adjustment or comp that triggers manager review before checkout mutation.
PriceExceptionReason
Decision vocabulary for price exception reason in retail workflows.
QuantityError
Decision vocabulary for quantity error in retail workflows.
ReviewReason
Reason a POS draft must be reviewed before checkout action.
Source
Source of the retail sale attempt, used to prevent unsupported POS or reservation mutations.