public function byOutTradeNumber(string $number, string $refundNumber, int $totalFee, int $refundFee, array $optional = [])
    {
        return $this->refund($refundNumber, $totalFee, $refundFee, array_merge($optional, ['out_trade_no' => $number]));
    }
public function byOutTradeNumber(string $number, string $refundNumber, int $totalFee, int $refundFee, array $optional = [])
    {
        return $this->refund($refundNumber, $totalFee, $refundFee, array_merge($optional, ['out_trade_no' => $number]));
    }
public function byOutTradeNumber ( string $ number , string $ refundNumber , int $ totalFee , int $ refundFee , array $ optional = [ ] ) { return $ this -> refund ( $ refundNumber , $ totalFee , $ refundFee , array_merge ( $ optional , [ 'out_trade_no' => $ number ] ) ) ; }
Refund by out trade number.

@param string $number
@param string $refundNumber
@param int    $totalFee
@param int    $refundFee
@param array  $optional

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

@throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
Refund by out trade number .