Skip to main content
Skip table of contents

Reservation

Overview

Wrapper class around reservation with related records.

Definition

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

Properties

CODE
Integer duration

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

CODE
Reservation__c reservation

The reservation this wrapper wraps.

CODE
Map<String, List<SObject>> childRecords

Child records of this reservation mapped by their relationship name.

On this page

JavaScript errors detected

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

If this problem persists, please contact our support.