Skip to main content

Module reservation

Module reservation 

Source
Expand description

Reservation contracts for age rules, add-ons, transitions, and service eligibility.

Structs§

AddOnLabel
Display label for an optional reservation add-on offered to the customer.
AgeThreshold
Age gate applied when determining whether a pet may book a service.
MinimumAgeWeeks
Minimum pet age, in weeks, required before a service can be booked.

Enums§

AgePolicyReason
Reasons a pet may be blocked by age rules for a service.
Error
Validation failures returned by reservation domain constructors.
TransitionReason
Business reasons for moving or rejecting a reservation workflow transition.

Type Aliases§

Result
Result type returned by fallible reservation error operations.