Expand description
The exploration model and the ready-made fixtures of the trip sample.
Structs§
- Trip
Model - The exploration model of the trip workflow.
Constants§
- MODEL_
EXTRA_ BUDGET - Most extras the exploration model adds: the domain’s own maximum, so the cap and the refusal that guards it are inside the explored states. The state space stays bounded because extras are added in a fixed order and only the first one without a payer is given one, so the paid extras are always a prefix.
- OTHER_
TRAVELER_ ID - Identifier of a second traveler, used to exercise the sensitive change.
- REQUOTED_
FARE_ DIFFERENCE_ CENTS - The fare difference after the airline quotes again, in cents: €132.
- SAMPLE_
EXTRA_ DESCRIPTIONS - Descriptions of the extras the model adds, in order.
- SAMPLE_
FARE_ DIFFERENCE_ CENTS - The fare difference of the sample offer, in cents: €84.
- SAMPLE_
NAME - Name the model gives the trip.
- SAMPLE_
REFUSAL_ CODE - Reason code the sample airline returns when it refuses a rebooking.
- SAMPLE_
TICKET_ NUMBER - Ticket number the sample airline issues.
- SAMPLE_
TRAVELER_ ID - Identifier of the traveler the model puts on cases.
Functions§
- awaiting_
rebooking_ confirmation - A complete case whose rebooking card for the outbound leg is waiting for a click, at the sample fare difference.
- awaiting_
rebooking_ confirmation_ at - A complete case whose rebooking card for the outbound leg is waiting for a click, at the given fare difference.
- complete_
case - A case with every obligation met, still in
Collecting. - incomplete_
case - A case with its traveler, the booking’s legs and one paid extra, but no name and no travel date: two obligations are still open.
- other_
traveler - A second traveler, for testing the sensitive traveler change.
- sample_
legs - The two flights of the sample booking: the outbound was cancelled, the return flies as booked.
- sample_
new_ extra - The n-th sample extra, without a payer.
- sample_
offer - The rebooking the airline quotes for a leg of the sample booking.
- sample_
quote - The airline’s quote of the sample offer for
leg, as the command it applies. - sample_
travel_ date - The travel date the model sets.
- sample_
traveler - The traveler the model puts on cases.
- unassigned_
case - A case whose one extra has no payer yet, so
TripObligation::AssignPayeris open: the state where a user asks who can pay while the flow is collecting exactly that field. - with_
offer - A complete case with the airline’s quote for
leg.