code: public function analysis( OrderRequest $order )
      {
          $packageStatus = $this->integration->sendOrder( $order );
  
          if (!$packageStatus->isSuccessful()) {
              throw new Exception( sprintf( 'Transaction Failed! (statusCode: %s)', $packageStatus->getStatusCode() ) );
          }
  
          return $this->checkOrderStatus( $order->getId() );
      }
docs: Método para envio de pedidos e retorno do status
  
  @param  \RodrigoPedra\ClearSaleID\Entity\Request\Order $order
  
  @return string
  @throws \Exception