Skip to content

Commit

Permalink
Adiciona método para habilitar empresa
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateus Neves committed Jan 30, 2024
1 parent 4bb6f81 commit 10fd34e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/empresaApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ public function inserirAtualizar($dados)
));
}

public function habilitarEmpresa($idEmpresa)
{
return $this->callOperation(array(
'method' => 'POST',
'path' => '/empresas/' . $idEmpresa . '/habilitar'
));
}

/**
* Atualiza a logo da empresa
*
Expand Down Expand Up @@ -107,7 +115,7 @@ public function atualizarCertificado($idEmpresa, $file, $pass)
)
));
}

/**
* Download do exe para configurar o SAT
*
Expand All @@ -125,7 +133,7 @@ public function downloadExeSat($idEmpresa)
)
));
}

/**
* Obtem uma lista com os SAT`s cadastrados
*
Expand Down

0 comments on commit 10fd34e

Please # to comment.