public class AppointmentFreeSlotQueryResult extends Object implements IAppointmentFreeSlotQueryResult
IAppointmentFreeSlotQueryParams
.Constructor and Description |
---|
AppointmentFreeSlotQueryResult(com.google.common.collect.ImmutableList<IAppointmentAvailableDate> availableDates,
String appointmentTypeUuid,
ZoneId zoneId)
Creates a new result with the given data.
|
Modifier and Type | Method and Description |
---|---|
String |
getAppointmentTypeUuid() |
com.google.common.collect.ImmutableList<IAppointmentAvailableDate> |
getAvailableDates() |
ZoneId |
getZoneId() |
String |
toString() |
public AppointmentFreeSlotQueryResult(com.google.common.collect.ImmutableList<IAppointmentAvailableDate> availableDates, String appointmentTypeUuid, ZoneId zoneId)
availableDates
- List of available dates for booking appointments.appointmentTypeUuid
- UUID of the appointment type for which slots are available.zoneId
- The time zone of the returned slots.public String getAppointmentTypeUuid()
getAppointmentTypeUuid
in interface IAppointmentFreeSlotQueryResult
AppointmentType
that offers the available dates.public com.google.common.collect.ImmutableList<IAppointmentAvailableDate> getAvailableDates()
getAvailableDates
in interface IAppointmentFreeSlotQueryResult
public ZoneId getZoneId()
getZoneId
in interface IAppointmentFreeSlotQueryResult
IAppointmentFreeSlotQueryResult.getAvailableDates()
.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.