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 aIAppointmentFreeSlotQueryParams
.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AppointmentFreeSlotQueryResult(com.google.common.collect.ImmutableList<IAppointmentAvailableDate> availableDates, String appointmentTypeUuid, ZoneId zoneId)
Creates a new result with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAppointmentTypeUuid()
com.google.common.collect.ImmutableList<IAppointmentAvailableDate>
getAvailableDates()
ZoneId
getZoneId()
String
toString()
-
-
-
Constructor Detail
-
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 Detail
-
getAppointmentTypeUuid
public String getAppointmentTypeUuid()
- Specified by:
getAppointmentTypeUuid
in interfaceIAppointmentFreeSlotQueryResult
- Returns:
- The UUID of the
AppointmentType
that offers the available dates.
-
getAvailableDates
public com.google.common.collect.ImmutableList<IAppointmentAvailableDate> getAvailableDates()
- Specified by:
getAvailableDates
in interfaceIAppointmentFreeSlotQueryResult
- Returns:
- A list of available dates where an appointment can be booked.
-
getZoneId
public ZoneId getZoneId()
- Specified by:
getZoneId
in interfaceIAppointmentFreeSlotQueryResult
- Returns:
- The time zone of the returned
IAppointmentFreeSlotQueryResult.getAvailableDates()
.
-
-