original_string: public function refundCardChargeRequest(RequestModels\ChargeRefund
  	                                        $requestModel)
  	{
  
  		$chargeMapper = new ChargesMapper($requestModel);
  
  		$requestPayload = array (
  			'authorization' => $this->_apiSetting->getSecretKey(),
  			'mode'          => $this->_apiSetting->getMode(),
  			'postedParam'   => $chargeMapper->requestPayloadConverter(),
  
  		);
  		$refundUri = sprintf ($this->_apiUrl->getChargeRefundsApiUri(),$requestModel->getChargeId());
  
  		$processCharge = \com\checkout\helpers\ApiHttpClient::postRequest($refundUri,
  			$this->_apiSetting->getSecretKey(),$requestPayload);
  
  		$responseModel = new ResponseModels\Charge($processCharge);
  
  
  		return $responseModel;
  	}
code: public function refundCardChargeRequest(RequestModels\ChargeRefund
  	                                        $requestModel)
  	{
  
  		$chargeMapper = new ChargesMapper($requestModel);
  
  		$requestPayload = array (
  			'authorization' => $this->_apiSetting->getSecretKey(),
  			'mode'          => $this->_apiSetting->getMode(),
  			'postedParam'   => $chargeMapper->requestPayloadConverter(),
  
  		);
  		$refundUri = sprintf ($this->_apiUrl->getChargeRefundsApiUri(),$requestModel->getChargeId());
  
  		$processCharge = \com\checkout\helpers\ApiHttpClient::postRequest($refundUri,
  			$this->_apiSetting->getSecretKey(),$requestPayload);
  
  		$responseModel = new ResponseModels\Charge($processCharge);
  
  
  		return $responseModel;
  	}
code_tokens: public function refundCardChargeRequest ( RequestModels \ ChargeRefund $ requestModel ) { $ chargeMapper = new ChargesMapper ( $ requestModel ) ; $ requestPayload = array ( 'authorization' => $ this -> _apiSetting -> getSecretKey ( ) , 'mode' => $ this -> _apiSetting -> getMode ( ) , 'postedParam' => $ chargeMapper -> requestPayloadConverter ( ) , ) ; $ refundUri = sprintf ( $ this -> _apiUrl -> getChargeRefundsApiUri ( ) , $ requestModel -> getChargeId ( ) ) ; $ processCharge = \ com \ checkout \ helpers \ ApiHttpClient :: postRequest ( $ refundUri , $ this -> _apiSetting -> getSecretKey ( ) , $ requestPayload ) ; $ responseModel = new ResponseModels \ Charge ( $ processCharge ) ; return $ responseModel ; }
docstring: refund a charge
  @param RequestModels\ChargeRefund $requestModel
  @return ResponseModels\Charge
docstring_tokens: refund a charge