sdk-search / com.tomtom.online.sdk.search.data.common / OpeningHours

OpeningHours

open class OpeningHours : Serializable

Opening hours for a POI (Points of Interest).

Constructors

<init>

OpeningHours()

Empty constructor for the OpeningHours.

OpeningHours(mode: OpeningHoursMode!, timeRanges: Array<TimeRange!>!)

Default constructor for the OpeningHours.

Properties

mode

var mode: OpeningHoursMode!

Mode used in the request.

timeRanges

var timeRanges: Array<TimeRange!>!

List of time ranges for the next 7 days.

Functions

getMode

open fun getMode(): OpeningHoursMode!

Returns the mode used in the request.

getTimeRanges

open fun getTimeRanges(): ImmutableList<TimeRange!>!

toString

open fun toString(): String