Skip to main content

Module money

Module money 

Source
Expand description

Money contracts for typed resort charges and deposits.

Structs§

MinorUnits
Positive minor-unit amount used so checkout, deposit, refund, and revenue math cannot silently use zero.
Money
Money amount for resort charges and reports; payment, refund, or discount movement still requires the app workflow gate.

Enums§

Currency
Currency vocabulary for resort money amounts before checkout or reporting adapters serialize them.
Error
Validation failures returned by money domain constructors.

Type Aliases§

Result
Result type returned by fallible money operations.