original_string: public function getChargeHistory($chargeId)
  	{
  
  
  		$requestPayload = array (
  			'authorization' => $this->_apiSetting->getSecretKey(),
  			'mode'          => $this->_apiSetting->getMode(),
  			'method'         => 'GET',
  		);
  
  		$retrieveChargeHistoryWithChargeUri = sprintf ($this->_apiUrl->getRetrieveChargeHistoryApiUri(),$chargeId);
  
  		$processCharge = \com\checkout\helpers\ApiHttpClient::getRequest($retrieveChargeHistoryWithChargeUri,
  			$this->_apiSetting->getSecretKey(),$requestPayload);
  
  		$responseModel = new ResponseModels\ChargeHistory($processCharge);
  		return $responseModel;
  	}
code: public function getChargeHistory($chargeId)
  	{
  
  
  		$requestPayload = array (
  			'authorization' => $this->_apiSetting->getSecretKey(),
  			'mode'          => $this->_apiSetting->getMode(),
  			'method'         => 'GET',
  		);
  
  		$retrieveChargeHistoryWithChargeUri = sprintf ($this->_apiUrl->getRetrieveChargeHistoryApiUri(),$chargeId);
  
  		$processCharge = \com\checkout\helpers\ApiHttpClient::getRequest($retrieveChargeHistoryWithChargeUri,
  			$this->_apiSetting->getSecretKey(),$requestPayload);
  
  		$responseModel = new ResponseModels\ChargeHistory($processCharge);
  		return $responseModel;
  	}
code_tokens: public function getChargeHistory ( $ chargeId ) { $ requestPayload = array ( 'authorization' => $ this -> _apiSetting -> getSecretKey ( ) , 'mode' => $ this -> _apiSetting -> getMode ( ) , 'method' => 'GET' , ) ; $ retrieveChargeHistoryWithChargeUri = sprintf ( $ this -> _apiUrl -> getRetrieveChargeHistoryApiUri ( ) , $ chargeId ) ; $ processCharge = \ com \ checkout \ helpers \ ApiHttpClient :: getRequest ( $ retrieveChargeHistoryWithChargeUri , $ this -> _apiSetting -> getSecretKey ( ) , $ requestPayload ) ; $ responseModel = new ResponseModels \ ChargeHistory ( $ processCharge ) ; return $ responseModel ; }
docstring: retrieve a Charge History With a ChargeId
  @param RequestModels\ChargeRetrieve $requestModel
  @return ResponseModels\ChargeHistory
docstring_tokens: retrieve a Charge History With a ChargeId