apiV2CustomerBookingsDestroy method

Future<void> apiV2CustomerBookingsDestroy(
  1. int id
)

Main viewset used by Customer to control own bookings. Provides a full list of fields for a Booking object. With filtering options.

Parameters:

  • int id (required): A unique integer value identifying this booking.

Implementation

Future<void> apiV2CustomerBookingsDestroy(int id,) async {
  final response = await apiV2CustomerBookingsDestroyWithHttpInfo(id,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}