/**
  * Will return initialized order with parameters taken from
  * {@link http://developers.payu.com/pl/restapi.html#payment_form}
  * @return Order
  */
 private function getOrder()
 {
     $order = new Order();
     $order->setCustomerIp('123.123.123.123');
     $order->setMerchantPosId('145227');
     $order->setDescription('Order description');
     $order->setTotalAmount(new Money(10));
     /**
      * Documentation was mistaken in currency code.
      * Correct code was taken from {@link http://jsfiddle.net/FDrsF/177/}
      */
     $order->setCurrencyCode('PLN');
     $order->setContinueUrl('http://localhost/continue');
     $order->setNotifyUrl('http://shop.url/notify.json');
     $order->getProductCollection()->addProduct((new Product())->setName('Product 1')->setUnitPrice(new Money(10))->setQuantity(1));
     return $order;
 }