Package de.xima.fc.appointment
Class AppointmentFreeSlotQueryResult
java.lang.Object
de.xima.fc.appointment.AppointmentFreeSlotQueryResult
- All Implemented Interfaces:
IAppointmentFreeSlotQueryResult
,Serializable
public class AppointmentFreeSlotQueryResult
extends Object
implements IAppointmentFreeSlotQueryResult
POJO implementation of a
IAppointmentFreeSlotQueryParams
.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAppointmentFreeSlotQueryResult
(com.google.common.collect.ImmutableList<IAppointmentAvailableDate> availableDates, String appointmentTypeUuid, ZoneId zoneId) Creates a new result with the given data. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<IAppointmentAvailableDate>
toString()
-
Constructor Details
-
AppointmentFreeSlotQueryResult
public AppointmentFreeSlotQueryResult(com.google.common.collect.ImmutableList<IAppointmentAvailableDate> availableDates, String appointmentTypeUuid, ZoneId zoneId) Creates a new result with the given data.- Parameters:
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.
-
-
Method Details
-
getAppointmentTypeUuid
- Specified by:
getAppointmentTypeUuid
in interfaceIAppointmentFreeSlotQueryResult
- Returns:
- The UUID of the
AppointmentType
that offers the available dates.
-
getAvailableDates
- Specified by:
getAvailableDates
in interfaceIAppointmentFreeSlotQueryResult
- Returns:
- A list of available dates where an appointment can be booked.
-
getZoneId
- Specified by:
getZoneId
in interfaceIAppointmentFreeSlotQueryResult
- Returns:
- The time zone of the returned
IAppointmentFreeSlotQueryResult.getAvailableDates()
.
-
toString
-