original_string: public function cancelCoupon($basketId, string $couponCode, $userId)  // !! DEPRECATED moved to basket
      {
          $params = [
            "basketId" => $basketId,
            "couponCode" => $couponCode,
            "userId" => $userId
          ];
  
          $response = $this->handler->handle('POST', $params, 'discard');
  
          //TODO: refactor to make method
          return $response;
          //        return $this->make($response, false);
      }
code: public function cancelCoupon($basketId, string $couponCode, $userId)  // !! DEPRECATED moved to basket
      {
          $params = [
            "basketId" => $basketId,
            "couponCode" => $couponCode,
            "userId" => $userId
          ];
  
          $response = $this->handler->handle('POST', $params, 'discard');
  
          //TODO: refactor to make method
          return $response;
          //        return $this->make($response, false);
      }
code_tokens: public function cancelCoupon ( $ basketId , string $ couponCode , $ userId ) // !! DEPRECATED moved to basket { $ params = [ "basketId" => $ basketId , "couponCode" => $ couponCode , "userId" => $ userId ] ; $ response = $ this -> handler -> handle ( 'POST' , $ params , 'discard' ) ; //TODO: refactor to make method return $ response ; //        return $this->make($response, false); }
docstring: Discard coupon code for basket
  @param integer $basketId
  @param string $couponCode
  @param integer $userId
  @return \GuzzleHttp\Promise\PromiseInterface|\SphereMall\MS\Lib\Http\Response
  @throws \Exception
  @throws \GuzzleHttp\Exception\GuzzleException
docstring_tokens: Discard coupon code for basket