code: public function checkOrderStatus( $orderId )
      {
          $function   = 'CheckOrderStatus';
          $parameters = [
              'entityCode'      => $this->connector->getEntityCode(),
              'pedidoIDCliente' => $orderId
          ];
  
          $response = $this->connector->doRequest( $function, $parameters );
  
          $packageStatusResponse = new PackageStatus( $response->CheckOrderStatusResult );
  
          $this->connector->log( 'Integration@checkOrderStatus', compact( 'packageStatusResponse' ) );
  
          return $packageStatusResponse;
      }
docs: Retorna o status de um pedido
  
  @param  string $orderId
  
  @return \RodrigoPedra\ClearSaleID\Entity\Response\PackageStatus
  @throws \RodrigoPedra\ClearSaleID\Exception\UnexpectedErrorException