public function getOrder()
    {
        if ($this->order === null) {
            $orderPayment = $this->getOrderPayment();
            $order = $this->getOrderFromPayment($orderPayment);
            $this->setOrder($order);
        }

        return $this->order;
    }