deletePurchasePaymentNote function

Future<ApiResponse<Object?>> deletePurchasePaymentNote(
  1. ExsitedClient client,
  2. Object purchasePaymentId,
  3. Object ppNoteId, {
  4. bool? raiseOnError,
  5. String? responseFormat,
})

DELETE /api/{api_version}/purchase_payments/{purchase_payment_id}/notes/{pp_note_id}

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> deletePurchasePaymentNote(
  ExsitedClient client,
  Object purchasePaymentId,
  Object ppNoteId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(PurchasePaymentsUrls.purchasePaymentNote,
        pathParams: {
          'purchase_payment_id': purchasePaymentId,
          'pp_note_id': ppNoteId
        },
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);