getRefunds function

Future<ApiResponse<RefundList>> getRefunds(
  1. ExsitedClient client, {
  2. Map<String, Object?>? queryParams,
  3. bool? raiseOnError,
  4. String? responseFormat,
})

GET /api/{api_version}/refunds

Implementation

Future<ApiResponse<RefundList>> getRefunds(
  ExsitedClient client, {
  Map<String, Object?>? queryParams,
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(RefundsUrls.refunds,
        queryParams: queryParams,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat,
        dtoDecoder: RefundList.fromMap);