ProviderTimeSlot

data class ProviderTimeSlot(providerNationalId: String, scheduleDays: List<ScheduleDay>, startDate: LocalDate, endDate: LocalDate, timezone: ZoneId) : Parcelable

Represents a grouping of time slots for a particular Provider

Constructors

ProviderTimeSlot
Link copied to clipboard
fun ProviderTimeSlot(providerNationalId: String, scheduleDays: List<ScheduleDay> = listOf(), startDate: LocalDate, endDate: LocalDate, 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

endDate
Link copied to clipboard
val endDate: LocalDate
Time slots starting before this day are included in the list of ScheduleDays.
providerNationalId
Link copied to clipboard
val providerNationalId: String
The national identifier of the Provider associated with this time slot.
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: LocalDate
Time slots starting on/after this day are included in the list of ScheduleDays.
timezone
Link copied to clipboard
val timezone: ZoneId
The timezone of the time slots.