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