customer-android-kotlin

//core/com.kustomer.core.models/KusSchedule

KusSchedule

[androidJvm]
@JsonClass(generateAdapter = true)

data class KusSchedule(var id: String?, var rawJson: Any?, val name: String, val hours: Map<Int, List<List<Int>>>, val timezone: String, @Json(name = "default")val enabled: Boolean, var holidays: List<KusSchedule.KusHoliday>?)

Constructors

   
KusSchedule [androidJvm]
fun KusSchedule(id: String?, rawJson: Any?, name: String, hours: Map<Int, List<List<Int>>>, timezone: String, @Json(name = "default")enabled: Boolean, holidays: List<KusSchedule.KusHoliday>?)

Types

Name Summary
Companion [androidJvm]
object Companion
KusHoliday [androidJvm]
@JsonClass(generateAdapter = true)
data class KusHoliday(val name: String, val startDate: Long = 0, val endDate: Long = 0, val enabled: Boolean)

Functions

Name Summary
isActiveBusinessHours [androidJvm]
fun isActiveBusinessHours(): Boolean

Properties

Name Summary
enabled [androidJvm]
val enabled: Boolean
holidays [androidJvm]
var holidays: List<KusSchedule.KusHoliday>?
hours [androidJvm]
val hours: Map<Int, List<List<Int>>>
id [androidJvm]
var id: String?
name [androidJvm]
val name: String
rawJson [androidJvm]
var rawJson: Any?
timezone [androidJvm]
val timezone: String