Wrapper class around reservation with related records.
Definition
global with sharing class Reservation {
global Integer duration;
global Reservation__c reservation;
global Map<String, List<SObject>> childRecords;
}
Properties
Integer duration
Duration of the reservation used when used as an input on the ReservationCollectionTimeSlotFinder to indicate the duration of child reservations.
Reservation__c reservation
The reservation this wrapper wraps.
Map<String, List<SObject>> childRecords
Child records of this reservation mapped by their relationship name.
GoMeddo Rest API
In the GoMeddo Rest API, API calls enable interaction with a single reservation. These calls allow you to view, create, update, or delete reservations. They can be found here: https://apidocs.gomeddo.com/#/reservations