Skip to main content
Skip table of contents

Reservation

Overview

Wrapper class around reservation with related records.

Definition

CODE
global with sharing class B25.Reservation {
    global Integer duration;
    global B25__Reservation__c reservation;
    global Map<String, List<SObject>> childRecords;
}

Constructors

CODE
B25.Reservation(B25__Reservation__c reservation)

Creates a wrapper around the given reservation.

Properties

CODE
B25__Reservation__c reservation

The actual reservation record this wrapper represents.

CODE
Map<String, List<SObject>> childRecords

Child records of the reservation mapped by their relationship name.

CODE
Integer duration

Duration of the reservation. Currently used as an input on the ReservationCollectionTimeSlotFinderto indicate the duration of child reservations.

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

On this page

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.