public function close(string $tradeNo)
    {
        $params = [
            'appid' => $this->app['config']->app_id,
            'out_trade_no' => $tradeNo,
        ];

        return $this->request($this->wrap('pay/closeorder'), $params);
    }
public function close(string $tradeNo)
    {
        $params = [
            'appid' => $this->app['config']->app_id,
            'out_trade_no' => $tradeNo,
        ];

        return $this->request($this->wrap('pay/closeorder'), $params);
    }
public function close ( string $ tradeNo ) { $ params = [ 'appid' => $ this -> app [ 'config' ] -> app_id , 'out_trade_no' => $ tradeNo , ] ; return $ this -> request ( $ this -> wrap ( 'pay/closeorder' ) , $ params ) ; }
Close order by out_trade_no.

@param string $tradeNo

@return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string

@throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
Close order by out_trade_no .