Class Dispatcher
Class Dispatcher
Router for the booking service requests.
Methods summary
public
|
|
public
mixed
|
#
search( array $parameters )
Calls the injected service's search method.
Calls the injected service's search method.
Parameters
Returns
mixed (\Unirest\Response object)
|
public
mixed
|
#
select( array $parameters )
Handles package selection by service.
Handles package selection by service.
Parameters
Returns
mixed (\Unirest\Response object)
|
public
mixed
|
#
getComponents( array $parameters )
Gets the components for a service.
Gets the components for a service.
Parameters
Returns
mixed (\Unirest\Response object)
|
public
mixed
|
#
getAvailableCategories( array $parameters )
Gets the available categories for a service.
Gets the available categories for a service.
Parameters
Returns
mixed (\Unirest\Response object)
|
public
mixed
|
#
getCabins( array $parameters )
Gets the cabins for a service.
Gets the cabins for a service.
Parameters
Returns
mixed (\Unirest\Response object)
|
public
mixed
|
#
getQuote( array $parameters )
Gets the price quote for a service.
Gets the price quote for a service.
Parameters
Returns
mixed (\Unirest\Response object)
|
public
mixed
|
#
holdCabin( array $parameters )
Holds the cabin for a service.
Holds the cabin for a service.
Parameters
Returns
mixed (\Unirest\Response object)
|
public
mixed
|
#
book( array $parameters )
Handles the final booking step by service.
Handles the final booking step by service.
Parameters
Returns
mixed (\Unirest\Response object)
|