original_string: public function createSinglePlan(RequestModels\BaseRecurringPayment $requestModel)
      {
          $recurringPaymentMapper = new \com\checkout\ApiServices\RecurringPayments\RecurringPaymentMapper($requestModel);
  
          $requestPayload = array (
              'authorization' => $this->_apiSetting->getSecretKey(),
              'mode'          => $this->_apiSetting->getMode(),
              'postedParam'   => $recurringPaymentMapper->requestPayloadConverter(),
  
          );
  
          $processCharge = \com\checkout\helpers\ApiHttpClient::postRequest($this->_apiUrl->getRecurringPaymentsApiUri(),
              $this->_apiSetting->getSecretKey(),$requestPayload);
  
          $responseModel = new ResponseModels\RecurringPayment($processCharge);
  
          return $responseModel;
      }
code: public function createSinglePlan(RequestModels\BaseRecurringPayment $requestModel)
      {
          $recurringPaymentMapper = new \com\checkout\ApiServices\RecurringPayments\RecurringPaymentMapper($requestModel);
  
          $requestPayload = array (
              'authorization' => $this->_apiSetting->getSecretKey(),
              'mode'          => $this->_apiSetting->getMode(),
              'postedParam'   => $recurringPaymentMapper->requestPayloadConverter(),
  
          );
  
          $processCharge = \com\checkout\helpers\ApiHttpClient::postRequest($this->_apiUrl->getRecurringPaymentsApiUri(),
              $this->_apiSetting->getSecretKey(),$requestPayload);
  
          $responseModel = new ResponseModels\RecurringPayment($processCharge);
  
          return $responseModel;
      }
code_tokens: public function createSinglePlan ( RequestModels \ BaseRecurringPayment $ requestModel ) { $ recurringPaymentMapper = new \ com \ checkout \ ApiServices \ RecurringPayments \ RecurringPaymentMapper ( $ requestModel ) ; $ requestPayload = array ( 'authorization' => $ this -> _apiSetting -> getSecretKey ( ) , 'mode' => $ this -> _apiSetting -> getMode ( ) , 'postedParam' => $ recurringPaymentMapper -> requestPayloadConverter ( ) , ) ; $ processCharge = \ com \ checkout \ helpers \ ApiHttpClient :: postRequest ( $ this -> _apiUrl -> getRecurringPaymentsApiUri ( ) , $ this -> _apiSetting -> getSecretKey ( ) , $ requestPayload ) ; $ responseModel = new ResponseModels \ RecurringPayment ( $ processCharge ) ; return $ responseModel ; }
docstring: Creates a new payment plan
  @param RequestModels\BaseRecurringPayment $requestModel
  @return ResponseModels\RecurringPayment
docstring_tokens: Creates a new payment plan