Search

class Search(    val type: TransportType,     val from: String,     val to: String,     val date: LocalDateFields) : TestAction

Travel search with custom data types:

/search?type={type}&from={from}&to={to}&date={date}

Constructors

Link copied to clipboard
fun Search(    type: TransportType,     from: String,     to: String,     date: LocalDateFields)

Functions

Link copied to clipboard
open override fun getPath(): Array<String>
Link copied to clipboard
open override fun getSearch(): Array<Param>

Search component

Properties

Link copied to clipboard
val date: LocalDateFields

Date to search flights (YYYY-MM-DD)

Link copied to clipboard
val from: String

Departure city

Link copied to clipboard
val to: String

Destination city

Link copied to clipboard
val type: TransportType

Transport type to search