original_string: public static function getPrice($originPrice, $discountCode, $request)
      {
          $discount = Discount_Shortcuts_GetDiscountByCodeOr404($discountCode);
          $engine = $discount->get_engine();
          return $engine->getPrice($originPrice, $discount, $request);
      }
code: public static function getPrice($originPrice, $discountCode, $request)
      {
          $discount = Discount_Shortcuts_GetDiscountByCodeOr404($discountCode);
          $engine = $discount->get_engine();
          return $engine->getPrice($originPrice, $discount, $request);
      }
code_tokens: public static function getPrice ( $ originPrice , $ discountCode , $ request ) { $ discount = Discount_Shortcuts_GetDiscountByCodeOr404 ( $ discountCode ) ; $ engine = $ discount -> get_engine ( ) ; return $ engine -> getPrice ( $ originPrice , $ discount , $ request ) ; }
docstring: Computes and returns new price after using given discount
  
  @param integer $originPrice
  @param string $discountCode
  @param Pluf_HTTP_Request $request
  @return integer
docstring_tokens: Computes and returns new price after using given discount