updateBookingLineBillingPreferences function
PATCH /api/{api_version}/booking/{booking_id}/lines/{line_uuid}/billing_preferences
Update a line's billing preferences, body order.line.item_properties, not
billing_preferences.
Implementation
Future<ApiResponse<BookingById>> updateBookingLineBillingPreferences(
ExsitedClient client,
Object bookingId,
Object lineUuid,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(BookingsUrls.bookingLineBillingPreferences,
pathParams: {'booking_id': bookingId, 'line_uuid': lineUuid},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: BookingById.fromMap);