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