getPurchaseRefunds function
GET /api/{api_version}/purchase_refunds
Implementation
Future<ApiResponse<PurchaseRefunds>> getPurchaseRefunds(
ExsitedClient client, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(PurchaseRefundsUrls.purchaseRefunds,
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: PurchaseRefunds.fromMap);