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 IAppointmentFreeSlotQueryResultAppointmentType that offers the available dates.public com.google.common.collect.ImmutableList<IAppointmentAvailableDate> getAvailableDates()
getAvailableDates in interface IAppointmentFreeSlotQueryResultpublic ZoneId getZoneId()
getZoneId in interface IAppointmentFreeSlotQueryResultIAppointmentFreeSlotQueryResult.getAvailableDates().Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.