apiV2CustomerBookingsCancellationOptionsRetrieveWithHttpInfo method
Main viewset used by Customer to control own bookings. Provides a full list of fields for a Booking object. With filtering options.
Note: This method returns the HTTP Response.
Parameters:
- int id (required): A unique integer value identifying this booking.
Implementation
Future<Response> apiV2CustomerBookingsCancellationOptionsRetrieveWithHttpInfo(int id,) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/customer/bookings/{id}/cancellation_options/'
.replaceAll('{id}', id.toString());
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}