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