original_string: protected function createMethod($code, $title, $price)
      {
          /** @var Mage_Shipping_Model_Rate_Result_Method $method */
          $method = Mage::getModel('shipping/rate_result_method');
  
          $method->setCarrier($this->_code);
          $method->setCarrierTitle($this->getConfigData('title'));
  
          $method->setMethod($code);
          $method->setMethodTitle($title);
  
          $method->setPrice($this->getFinalPriceWithHandlingFee($price));
  
          return $method;
      }
code: protected function createMethod($code, $title, $price)
      {
          /** @var Mage_Shipping_Model_Rate_Result_Method $method */
          $method = Mage::getModel('shipping/rate_result_method');
  
          $method->setCarrier($this->_code);
          $method->setCarrierTitle($this->getConfigData('title'));
  
          $method->setMethod($code);
          $method->setMethodTitle($title);
  
          $method->setPrice($this->getFinalPriceWithHandlingFee($price));
  
          return $method;
      }
code_tokens: protected function createMethod ( $ code , $ title , $ price ) { /** @var Mage_Shipping_Model_Rate_Result_Method $method */ $ method = Mage :: getModel ( 'shipping/rate_result_method' ) ; $ method -> setCarrier ( $ this -> _code ) ; $ method -> setCarrierTitle ( $ this -> getConfigData ( 'title' ) ) ; $ method -> setMethod ( $ code ) ; $ method -> setMethodTitle ( $ title ) ; $ method -> setPrice ( $ this -> getFinalPriceWithHandlingFee ( $ price ) ) ; return $ method ; }
docstring: Simplifies creating a new shipping method.
  
  @param string $code
  @param string $title
  @param string $price
  @return Mage_Shipping_Model_Rate_Result_Method
docstring_tokens: Simplifies creating a new shipping method .