internal static void AbreFundosDeCompensacao(Empresa empresa) { Autenticacao.AutenticarFundosCompensacao(driver, empresa); driver.Navigate().GoToUrl("https://www.fundoscompensacao.pt/fc/gfct/home"); }
internal static void AbreSegurancaSocial(Empresa empresa) { Autenticacao.AutenticarSS(driver, empresa); driver.Navigate().GoToUrl("https://app.seg-social.pt/ptss/ptss/home"); }
internal static void AbrePortalDasFinancas(Empresa empresa) { Autenticacao.AutenticarAT(driver, empresa); }
internal static void AbreEFatura(Empresa empresa) { Autenticacao.AutenticarAT(driver, empresa); driver.Navigate().GoToUrl("https://faturas.portaldasfinancas.gov.pt/"); }
public Declaracao(string nome, TipoDeclaracao tipoDeclaracao, Action <int> downloadFunction, Autenticacao autenticacaoNecessaria) { this.Nome = nome; this.Tipo = tipoDeclaracao; this.DownloadFunctionAnual = downloadFunction; this.AutenticacaoNecessaria = autenticacaoNecessaria; declaracoes.Add(this); }