bookHotelReservation method
Future<(UResponse<UHotelReservationResponse> ?, UEmptyResponse?, String?)>
bookHotelReservation({
- required UHotelReservationBookParams p,
- dynamic onOk()?,
- dynamic onError()?,
- dynamic onException(
- String e
Implementation
Future<(UResponse<UHotelReservationResponse>?, UEmptyResponse?, String?)> bookHotelReservation({
required UHotelReservationBookParams p,
Function(UResponse<UHotelReservationResponse> r)? onOk,
Function(UEmptyResponse e)? onError,
Function(String e)? onException,
}) => _Api.call("/Hotel/HotelReservation/Book", p.toMap(), _Api.one(UHotelReservationResponse.fromMap), _Api.empty, onOk, onError, onException, locale: true);