Die Anfrage
“Create a flight ticket booking sequence: a user searches and selects a flight in a web app; a booking service checks and holds seats in a flight database; the user confirms and a payment gateway succeeds or fails; on success the booking is finalized and an email service sends an e-ticket, and on failure the seats are released.”
Dann probieren SieAdd a seat-selection request before payment.Add a payment-declined branch.
Was diese Zeichnung zeigt
Die dahinterstehenden Entscheidungen verstehen.
01
Synchronous reservation with seat hold
02
Payment handling with alternative flow
03
Confirmation email on success
Use for designing booking systems, understanding payment flow, or documenting service interactions in a travel domain.