BookingDetail

data class BookingDetail(val serviceName: String? = null, val androidUri: Uri? = null, val iosUri: Uri? = null, val webUri: Url? = null, val phoneNumber: String? = null)(source)

Details about how to book the on-demand service.

At least one of androidUri, iosUri, webUri, or phoneNumber needs to be provided.

Constructors

Link copied to clipboard
constructor(serviceName: String? = null, androidUri: Uri? = null, iosUri: Uri? = null, webUri: Url? = null, phoneNumber: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "android_uri")
val androidUri: Uri?

Android App Links that can open the booking app on Android.

Link copied to clipboard
@SerialName(value = "ios_uri")
val iosUri: Uri?

iOS Universal Links that can open the booking app on iOS.

Link copied to clipboard
@SerialName(value = "phone_number")
val phoneNumber: String?

Phone number to call to make the booking request.

Link copied to clipboard
@SerialName(value = "service_name")
val serviceName: String?

If the service name needs to change due to real time booking changes, service_name can be provided to update the name of the on-demand service system to be displayed to the riders.

Link copied to clipboard
@SerialName(value = "web_uri")
val webUri: Url?

Web url to browse to in order to make the booking request.