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