public function chargeWithDefaultCustomerCard(RequestModels\BaseCharge
	                                              $requestModel)
	{

		$chargeMapper = new ChargesMapper($requestModel);

		$requestPayload = array (
			'authorization' => $this->_apiSetting->getSecretKey(),
			'mode'          => $this->_apiSetting->getMode(),
			'postedParam'   => $chargeMapper->requestPayloadConverter(),

		);
		$processCharge = \com\checkout\helpers\ApiHttpClient::postRequest($this->_apiUrl->getDefaultCardChargesApiUri(),
			$this->_apiSetting->getSecretKey(),$requestPayload);

		$responseModel = new ResponseModels\Charge($processCharge);


		return $responseModel;
	}
public function chargeWithDefaultCustomerCard(RequestModels\BaseCharge
	                                              $requestModel)
	{

		$chargeMapper = new ChargesMapper($requestModel);

		$requestPayload = array (
			'authorization' => $this->_apiSetting->getSecretKey(),
			'mode'          => $this->_apiSetting->getMode(),
			'postedParam'   => $chargeMapper->requestPayloadConverter(),

		);
		$processCharge = \com\checkout\helpers\ApiHttpClient::postRequest($this->_apiUrl->getDefaultCardChargesApiUri(),
			$this->_apiSetting->getSecretKey(),$requestPayload);

		$responseModel = new ResponseModels\Charge($processCharge);


		return $responseModel;
	}
public function chargeWithDefaultCustomerCard ( RequestModels \ BaseCharge $ requestModel ) { $ chargeMapper = new ChargesMapper ( $ requestModel ) ; $ requestPayload = array ( 'authorization' => $ this -> _apiSetting -> getSecretKey ( ) , 'mode' => $ this -> _apiSetting -> getMode ( ) , 'postedParam' => $ chargeMapper -> requestPayloadConverter ( ) , ) ; $ processCharge = \ com \ checkout \ helpers \ ApiHttpClient :: postRequest ( $ this -> _apiUrl -> getDefaultCardChargesApiUri ( ) , $ this -> _apiSetting -> getSecretKey ( ) , $ requestPayload ) ; $ responseModel = new ResponseModels \ Charge ( $ processCharge ) ; return $ responseModel ; }
Creates a charge with Default Customer Card.
@param RequestModels\BaseCharge $requestModel
@return ResponseModels\Charge
Creates a charge with Default Customer Card .