RetailAppointmentTimeSlot

data class RetailAppointmentTimeSlot(departmentId: String, scheduleDays: List<ScheduleDay>, startDate: ZonedDateTime, endDate: ZonedDateTime, timezone: ZoneId) : Parcelable

Represents a grouping of time slots for a particular Retail clinic

Constructors

RetailAppointmentTimeSlot
Link copied to clipboard
fun RetailAppointmentTimeSlot(departmentId: String, scheduleDays: List<ScheduleDay> = listOf(), startDate: ZonedDateTime, endDate: ZonedDateTime, timezone: ZoneId)

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

departmentId
Link copied to clipboard
val departmentId: String
An identifier representing the Clinic for this time slot.
endDate
Link copied to clipboard
val endDate: ZonedDateTime
Time slots starting before this Date/Time are included in the list of ScheduleDays
scheduleDays
Link copied to clipboard
val scheduleDays: List<ScheduleDay>
A list of ScheduleDay objects, each representing all time slots for a particular day
startDate
Link copied to clipboard
val startDate: ZonedDateTime
Time slots starting after this Date/Time are included in the list of ScheduleDays
timezone
Link copied to clipboard
val timezone: ZoneId
The timezone of the Retail clinic