Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Excerpt

Wrapper class around reservation with related records.

Definition

Code Block
global with sharing class Reservation {
    global Integer duration;
    global Reservation__c reservation;
    global Map<String, List<SObject>> childRecords;
}

Properties

Code Block
Integer duration

Duration of the reservation used when used as an input on the ReservationCollectionTimeSlotFinder to indicate the duration of child reservations.

Code Block
Reservation__c reservation

The reservation this wrapper wraps.

Code Block
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

On this page

Table of Contents