Object-Oriented Programming · Stripe · Medium
Hotel Reservation Email Schedule A booking platform needs to generate a list of scheduled emails for every reservation. You receive two inputs: reservations, a list of reservation records, and emailTouchpoints, a mapping that defines which emails to schedule. Each reservation record has the following fields: "guest_name": the name of the guest. "room_type": the reserved room category. "check_in_day": the integer day on which the guest checks in. "stay_length": the number of…
Checking your access…