deleteInvoicedById method

Future<void> deleteInvoicedById(
  1. int invoiceId, {
  2. required Object authorization,
})

Parameters:

  • int invoiceId (required):

  • Object authorization:

Implementation

Future<void> deleteInvoicedById(
  int invoiceId, {
  required Object authorization,
}) async {
  final response = await _deleteInvoicedByIdWithHttpInfo(
    invoiceId,
    authorization: authorization,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}