Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

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.

On this page

  • No labels