getBookingCustomObjects function
GET /api/{api_version}/booking/{booking_id}/custom_objects
List the custom objects orders use, with the booking's instances.
Implementation
Future<ApiResponse<BookingCustomObjectList>> getBookingCustomObjects(
ExsitedClient client,
Object bookingId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(BookingsUrls.bookingCustomObjects,
pathParams: {'booking_id': bookingId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: BookingCustomObjectList.fromMap);