purchase_refunds library

The v4 purchase refunds family: its endpoints, bound class, path templates and views.

Import it with a prefix, import 'package:exsited/purchase_refunds.dart' as purchase_refunds;, because families declare the same top-level names and a Dart export can neither rename nor prefix them.

Functions

createPurchaseCreditNotePurchaseRefund(ExsitedClient client, Object purchaseCreditNoteId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<PurchaseRefund>>
POST /api/{api_version}/purchase_credit_notes/{purchase_credit_note_id}/purchase_refunds
deletePurchaseRefund(ExsitedClient client, Object purchaseRefundId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/purchase_refunds/{purchase_refund_id}
getPurchaseRefund(ExsitedClient client, Object purchaseRefundId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<PurchaseRefund>>
GET /api/{api_version}/purchase_refunds/{purchase_refund_id}
getPurchaseRefunds(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<PurchaseRefunds>>
GET /api/{api_version}/purchase_refunds
updatePurchaseRefund(ExsitedClient client, Object purchaseRefundId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<PurchaseRefund>>
PATCH /api/{api_version}/purchase_refunds/{purchase_refund_id}