ResourceService

data class ResourceService(val id: String, val name: String, val i18n: String? = null, val icon: String? = null, val isBookable: Boolean = false, val quantity: Int? = null) : Parcelable

Constructors

Link copied to clipboard
constructor(id: String, name: String, i18n: String? = null, icon: String? = null, isBookable: Boolean = false, quantity: Int? = null)

Properties

Link copied to clipboard
val i18n: String? = null

the i18n utils for the translation

Link copied to clipboard
val icon: String? = null

the icon for the service

Link copied to clipboard
val id: String

unique id

Link copied to clipboard
val isBookable: Boolean = false

indicate if is a bookable resource

Link copied to clipboard

the name of service for the resource

Link copied to clipboard
val quantity: Int? = null

if present represent the number of the service ex. 4 seats

Inherited functions

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