private function saveOrderAndEnvironment($orderId, $environment)
    {
        $this->_ordersFactory->create()
            ->setData([
                    'order_id' => $orderId,
                    'environment' => $environment
            ])->save();
    }
private function saveOrderAndEnvironment($orderId, $environment)
    {
        $this->_ordersFactory->create()
            ->setData([
                    'order_id' => $orderId,
                    'environment' => $environment
            ])->save();
    }
private function saveOrderAndEnvironment ( $ orderId , $ environment ) { $ this -> _ordersFactory -> create ( ) -> setData ( [ 'order_id' => $ orderId , 'environment' => $ environment ] ) -> save ( ) ; }
Create the order in the pagseguro_orders table, saving the order id and
the environment

@param string $orderId
@param string $environment
@return void
Create the order in the pagseguro_orders table saving the order id and the environment