Beispiel #1
0
 public override SatResponse ExtractLog()
 {
     return((SatResponse) new ExtractLogResponse().Create(Marshal.PtrToStringAnsi(Tanca.ExtrairLogs(this.GenerateSessionCode(), this.ActivationCode))));
 }
Beispiel #2
0
 public override SatResponse AssignSignature(string cnpj, string signature)
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Tanca.AssociarAssinatura(this.GenerateSessionCode(), this.ActivationCode, cnpj, signature))));
 }
Beispiel #3
0
 public override SatResponse SoftwareUpdate()
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Tanca.AtualizarSoftwareSAT(this.GenerateSessionCode(), this.ActivationCode))));
 }
Beispiel #4
0
 public override SatResponse CheckCommunication(string xml)
 {
     return((SatResponse) new CheckCommunicationResponse().Create(Marshal.PtrToStringAnsi(Tanca.TesteFimAFim(this.GenerateSessionCode(), this.ActivationCode, xml))));
 }
Beispiel #5
0
 public override SatResponse ConfigureLan(string xmlConfiguration)
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Tanca.ConfigurarInterfaceDeRede(this.GenerateSessionCode(), this.ActivationCode, xmlConfiguration))));
 }
Beispiel #6
0
 public override InquireResponse Inquire(int sessionCode)
 {
     return(new InquireResponse().Create(Marshal.PtrToStringAnsi(Tanca.ConsultarNumeroSessao(this.GenerateSessionCode(), this.ActivationCode, sessionCode))));
 }
Beispiel #7
0
 public override CancelResponse Cancel(string key, string xml)
 {
     return(new CancelResponse().Create(Marshal.PtrToStringAnsi(Tanca.CancelarUltimaVenda(this.GenerateSessionCode(), this.ActivationCode, key, xml))));
 }
Beispiel #8
0
 public override SendResponse Send(string xml)
 {
     return(new SendResponse().Create(Marshal.PtrToStringAnsi(Tanca.EnviarDadosVenda(this.GenerateSessionCode(), this.ActivationCode, xml))));
 }
Beispiel #9
0
 public override GetStatusResponse GetStatus()
 {
     return(new GetStatusResponse().Create(Marshal.PtrToStringAnsi(Tanca.ConsultarStatusOperacional(this.GenerateSessionCode(), this.ActivationCode))));
 }
Beispiel #10
0
 public override SatResponse CheckAvailability()
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Tanca.ConsultarSAT(this.GenerateSessionCode()))));
 }
Beispiel #11
0
 public override SatResponse ChangeActivationCode(int option, string newActivationCode, string newActivationCodeConfirmation)
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Tanca.TrocarCodigoDeAtivacao(this.GenerateSessionCode(), this.ActivationCode, option, newActivationCode, newActivationCodeConfirmation))));
 }
Beispiel #12
0
 public override SatResponse Unlock()
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Tanca.DesbloquearSAT(this.GenerateSessionCode(), this.ActivationCode))));
 }