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 StringgetAppointmentTypeUuid()com.google.common.collect.ImmutableList<IAppointmentAvailableDate>getAvailableDates()ZoneIdgetZoneId()StringtoString() 
 - 
 
- 
- 
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:
 getAppointmentTypeUuidin interfaceIAppointmentFreeSlotQueryResult- Returns:
 - The UUID of the 
AppointmentTypethat offers the available dates. 
 
- 
getAvailableDates
public com.google.common.collect.ImmutableList<IAppointmentAvailableDate> getAvailableDates()
- Specified by:
 getAvailableDatesin interfaceIAppointmentFreeSlotQueryResult- Returns:
 - A list of available dates where an appointment can be booked.
 
 
- 
getZoneId
public ZoneId getZoneId()
- Specified by:
 getZoneIdin interfaceIAppointmentFreeSlotQueryResult- Returns:
 - The time zone of the returned 
IAppointmentFreeSlotQueryResult.getAvailableDates(). 
 
 - 
 
 -