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 B25.Reservation {
    global Integer duration;
    global B25__Reservation__c reservation;
    global Map<String, List<SObject>> childRecords;
}

PropertiesConstructors

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
B25.Reservation(B25__Reservation__c reservation)

Creates a wrapper around the given reservation.

Properties

Code Block
B25__Reservation__c reservation

The actual reservation record this wrapper wrapsrepresents.

Code Block
Map<String, List<SObject>> childRecords

Child records of this the reservation mapped by their relationship name.

Code Block
Integer duration

Duration of the reservation. Currently used as an input on the ReservationCollectionTimeSlotFinder to 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

Table of Contents