Meal plans
The meal plans configured on your microsite, with their codes, types and descriptions. Use them to label the mealPlan codes you get from Quote.
Meal plan types
type is one of five values.
ROOM_ONLY, BED_AND_BREAKFAST, HALF_BOARD, FULL_BOARD, ALL_INCLUSIVE
Use type to group and filter, for example "all half-board offers". Use description for the label: a mixed plan is filed under the nearest type, and only description says what the guest actually gets.
Where meal plans appear
- Quote, Confirm, Prebook and Book return
mealPlanas aMealPlanVOobject (id,type,description,providerDescription). Compare it between Confirm and Prebook before you call Book. - Booked hotels read through
getBookingscarrymealPlanas a plain string, not an object. Don't parse it as aMealPlanVO. See Reading bookings. - The catalogue is small. Refresh it per language on every sync run.
Related
Facilities
The hotel and room facility catalogues, with icon classes, priorities and translated labels. Use them to build amenity filters and your icon mapping.
Destinations
List the destinations and countries your microsite sells, and read one destination in detail. A destination code is what Quote expects in destinationId.