Commerce · Component · checkout-pricing-loyalty
Checkout settlement and loyalty calculation
What it does
Build auditable minor-unit totals for room/tax/service fees, deposits, membership discounts, points and currency snapshots.
Core pattern
Minor-unit calculations + benefits and payment timing
- Input
- Booking quote and member policy
- Output
- Checkout line items, due-now/due-at-stay totals and points
Key parameters
| Name | Type | Default | Values |
|---|---|---|---|
| settlement_mode | — | — | — |
| display_currency | — | — | — |
| payment_method | — | — | — |
| quote | — | — | — |
| mode | — | — | — |
Maturity and limits
Commerce tests and checkout preview/persist/context API routes. Static source inspection only; no runtime, provider, deployment or test-pass claim.
Private baseline without a root license; verify reuse rights. Provider credentials, customer data, supplier terms and explicit execution gates require preservation.
Used in pipelines
Industry tags
- Travel & hotelsSource-supported industry
For work involving destinations, room rates and bookings, use minor-unit calculations followed by benefits and payment timing.
- Business & general servicesTransferable use
For service package selection, quoting and confirmation, use minor-unit calculations followed by benefits and payment timing.
- Lifestyle & consumer appsTransferable use
Support “List charges after benefits” with minor-unit calculations followed by benefits and payment timing.
Skills pack
Contract scaffold and deterministic mock
Download · 12KBSHA-256 6f7cb4d88d94cd9416ca2a86be2392b4b9322154e0143242213704de0d1436be
Related components
-
Signed agent-to-human checkout handoff
Expiring signed context handoff + human completion and confirmation
Working 1 pipeline -
Device eSIM compatibility decision API
Condition-by-condition clarification + supported or unknown verdicts
Working not yet in a pipeline -
Coupons and multicurrency booking pricing
Discount eligibility checks + discount and currency calculations
Working 1 pipeline -
Wallet sign-in and member administration
Signature challenge verification + member sessions and roles
Working 1 pipeline