commerceRefund static method
void
commerceRefund({})
Implementation
static void commerceRefund(
{required String orderId,
required List<AdBrixRmCommerceProductModel> productList,
required double penaltyCharge,
Map<String, dynamic>? attr}) {
var getProductList = productList.map((e) => e.getProductModel()).toList();
Map<String, dynamic> params = {
'orderId': orderId,
'productList': getProductList,
'penaltyCharge': penaltyCharge,
};
_invokeWithAttr(
_AbxAPI.commerceRefund.toString().split('.').last, params, attr);
}