readHotelRoomAvailability method

Future<(UResponse<List<UHotelRoomAvailabilityResponse>>?, UEmptyResponse?, String?)> readHotelRoomAvailability({
  1. required UHotelRoomAvailabilityParams p,
  2. dynamic onOk(
    1. UResponse<List<UHotelRoomAvailabilityResponse>> r
    )?,
  3. dynamic onError(
    1. UEmptyResponse e
    )?,
  4. dynamic onException(
    1. String e
    )?,
})

Implementation

Future<(UResponse<List<UHotelRoomAvailabilityResponse>>?, UEmptyResponse?, String?)> readHotelRoomAvailability({
  required UHotelRoomAvailabilityParams p,
  Function(UResponse<List<UHotelRoomAvailabilityResponse>> r)? onOk,
  Function(UEmptyResponse e)? onError,
  Function(String e)? onException,
}) => _Api.call("/Hotel/HotelRoom/Availability", p.toMap(), _Api.list(UHotelRoomAvailabilityResponse.fromMap), _Api.empty, onOk, onError, onException, locale: true);