public function refundOrder($orderCode = false, $amount = null)
    {
        if (empty($orderCode) || !is_string($orderCode)) {
            Error::throwError('ip', Error::$errors['refund']['ordercode']);
        }
        OrderService::refundOrder($orderCode, $amount);
    }
public function refundOrder($orderCode = false, $amount = null)
    {
        if (empty($orderCode) || !is_string($orderCode)) {
            Error::throwError('ip', Error::$errors['refund']['ordercode']);
        }
        OrderService::refundOrder($orderCode, $amount);
    }
public function refundOrder ( $ orderCode = false , $ amount = null ) { if ( empty ( $ orderCode ) || ! is_string ( $ orderCode ) ) { Error :: throwError ( 'ip' , Error :: $ errors [ 'refund' ] [ 'ordercode' ] ) ; } OrderService :: refundOrder ( $ orderCode , $ amount ) ; }
Refund Worldpay order
@param bool $orderCode
@param null $amount
Refund Worldpay order