getPurchaseRefund function
GET /api/{api_version}/purchase_refunds/{purchase_refund_id}
Implementation
Future<ApiResponse<PurchaseRefund>> getPurchaseRefund(
ExsitedClient client,
Object purchaseRefundId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(PurchaseRefundsUrls.purchaseRefund,
pathParams: {'purchase_refund_id': purchaseRefundId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: PurchaseRefund.fromMap);