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:
getAppointmentTypeUuidin interfaceIAppointmentFreeSlotQueryResult- Returns:
- The UUID of the
AppointmentTypethat offers the available dates.
-
getAvailableDates
- Specified by:
getAvailableDatesin interfaceIAppointmentFreeSlotQueryResult- Returns:
- A list of available dates where an appointment can be booked.
-
getZoneId
- Specified by:
getZoneIdin interfaceIAppointmentFreeSlotQueryResult- Returns:
- The time zone of the returned
IAppointmentFreeSlotQueryResult.getAvailableDates().
-
toString
-