diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c4efe2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,261 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# DNX +project.lock.json +project.fragment.lock.json +artifacts/ + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +#*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/packages/repositories.config +# NuGet v3's project.json files produces more ignoreable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +node_modules/ +orleans.codegen.cs + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush +.cr/ + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc \ No newline at end of file diff --git a/ServiceReference/Connected Services/SyonOnline.ServiceReference.Adquirencia/ConnectedService.json b/ServiceReference/Connected Services/SyonOnline.ServiceReference.Adquirencia/ConnectedService.json new file mode 100644 index 0000000..f67885d --- /dev/null +++ b/ServiceReference/Connected Services/SyonOnline.ServiceReference.Adquirencia/ConnectedService.json @@ -0,0 +1,7 @@ +{ + "ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf", + "Version": "0.5.10718.1239", + "GettingStartedDocument": { + "Uri": "http://go.microsoft.com/fwlink/?LinkId=843369" + } +} \ No newline at end of file diff --git a/ServiceReference/Connected Services/SyonOnline.ServiceReference.Adquirencia/Reference.cs b/ServiceReference/Connected Services/SyonOnline.ServiceReference.Adquirencia/Reference.cs new file mode 100644 index 0000000..cf7e7c1 --- /dev/null +++ b/ServiceReference/Connected Services/SyonOnline.ServiceReference.Adquirencia/Reference.cs @@ -0,0 +1,2334 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// // +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace SyonOnline.ServiceReference.Adquirencia +{ + using System.Runtime.Serialization; + + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="GetAuthorizedCredit", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class GetAuthorizedCredit : object + { + + private string AnoField; + + private string CavvField; + + private string CepField; + + private string ComplementoField; + + private string CpfField; + + private string Cvc2Field; + + private string DistribuidorField; + + private string EciField; + + private string EnderecoField; + + private string FiliacaoField; + + private string IataField; + + private string IdentificacaoFaturaField; + + private string MesField; + + private string NrcartaoField; + + private string NumPedidoField; + + private string NumeroField; + + private string OrigemField; + + private string ParcelasField; + + private string PortadorField; + + private string RecorrenteField; + + private string SenhaField; + + private string TaxaEmbarqueField; + + private string TotalField; + + private int TransacaoField; + + private string XidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Ano + { + get + { + return this.AnoField; + } + set + { + this.AnoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cavv + { + get + { + return this.CavvField; + } + set + { + this.CavvField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cep + { + get + { + return this.CepField; + } + set + { + this.CepField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Complemento + { + get + { + return this.ComplementoField; + } + set + { + this.ComplementoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cpf + { + get + { + return this.CpfField; + } + set + { + this.CpfField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cvc2 + { + get + { + return this.Cvc2Field; + } + set + { + this.Cvc2Field = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Distribuidor + { + get + { + return this.DistribuidorField; + } + set + { + this.DistribuidorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Eci + { + get + { + return this.EciField; + } + set + { + this.EciField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Endereco + { + get + { + return this.EnderecoField; + } + set + { + this.EnderecoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Iata + { + get + { + return this.IataField; + } + set + { + this.IataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string IdentificacaoFatura + { + get + { + return this.IdentificacaoFaturaField; + } + set + { + this.IdentificacaoFaturaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Mes + { + get + { + return this.MesField; + } + set + { + this.MesField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Nrcartao + { + get + { + return this.NrcartaoField; + } + set + { + this.NrcartaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Numero + { + get + { + return this.NumeroField; + } + set + { + this.NumeroField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Origem + { + get + { + return this.OrigemField; + } + set + { + this.OrigemField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Parcelas + { + get + { + return this.ParcelasField; + } + set + { + this.ParcelasField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Portador + { + get + { + return this.PortadorField; + } + set + { + this.PortadorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Recorrente + { + get + { + return this.RecorrenteField; + } + set + { + this.RecorrenteField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TaxaEmbarque + { + get + { + return this.TaxaEmbarqueField; + } + set + { + this.TaxaEmbarqueField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Total + { + get + { + return this.TotalField; + } + set + { + this.TotalField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int Transacao + { + get + { + return this.TransacaoField; + } + set + { + this.TransacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Xid + { + get + { + return this.XidField; + } + set + { + this.XidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="CreditAuthorizationResponse", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class CreditAuthorizationResponse : object + { + + private string CetField; + + private string CodRetField; + + private string DataField; + + private string HoraField; + + private string JurosField; + + private string MsgAvsField; + + private string MsgretField; + + private string NumAutorField; + + private string NumPedidoField; + + private string NumSqnField; + + private string RespAvsField; + + private string TidField; + + private string ValParcelasField; + + private string ValTotalJurosField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cet + { + get + { + return this.CetField; + } + set + { + this.CetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CodRet + { + get + { + return this.CodRetField; + } + set + { + this.CodRetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Hora + { + get + { + return this.HoraField; + } + set + { + this.HoraField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Juros + { + get + { + return this.JurosField; + } + set + { + this.JurosField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MsgAvs + { + get + { + return this.MsgAvsField; + } + set + { + this.MsgAvsField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Msgret + { + get + { + return this.MsgretField; + } + set + { + this.MsgretField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumAutor + { + get + { + return this.NumAutorField; + } + set + { + this.NumAutorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string RespAvs + { + get + { + return this.RespAvsField; + } + set + { + this.RespAvsField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ValParcelas + { + get + { + return this.ValParcelasField; + } + set + { + this.ValParcelasField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ValTotalJuros + { + get + { + return this.ValTotalJurosField; + } + set + { + this.ValTotalJurosField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class ExcecaoAmigavel : object + { + + private string MensagemField; + + private string StackTraceField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Mensagem + { + get + { + return this.MensagemField; + } + set + { + this.MensagemField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string StackTrace + { + get + { + return this.StackTraceField; + } + set + { + this.StackTraceField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="GetAuthorizedDebit", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class GetAuthorizedDebit : object + { + + private string AnoField; + + private string CavvField; + + private string CepField; + + private string ComplementoField; + + private string CpfField; + + private string Cvc2Field; + + private string DistribuidorField; + + private string EciField; + + private string EnderecoField; + + private string FiliacaoField; + + private string IataField; + + private string IdentificacaoFaturaField; + + private string MesField; + + private string NrcartaoField; + + private string NumPedidoField; + + private string NumeroField; + + private string OrigemField; + + private string ParcelasField; + + private string PortadorField; + + private string SenhaField; + + private string TaxaEmbarqueField; + + private string TotalField; + + private int TransacaoField; + + private string XidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Ano + { + get + { + return this.AnoField; + } + set + { + this.AnoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cavv + { + get + { + return this.CavvField; + } + set + { + this.CavvField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cep + { + get + { + return this.CepField; + } + set + { + this.CepField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Complemento + { + get + { + return this.ComplementoField; + } + set + { + this.ComplementoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cpf + { + get + { + return this.CpfField; + } + set + { + this.CpfField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cvc2 + { + get + { + return this.Cvc2Field; + } + set + { + this.Cvc2Field = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Distribuidor + { + get + { + return this.DistribuidorField; + } + set + { + this.DistribuidorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Eci + { + get + { + return this.EciField; + } + set + { + this.EciField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Endereco + { + get + { + return this.EnderecoField; + } + set + { + this.EnderecoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Iata + { + get + { + return this.IataField; + } + set + { + this.IataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string IdentificacaoFatura + { + get + { + return this.IdentificacaoFaturaField; + } + set + { + this.IdentificacaoFaturaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Mes + { + get + { + return this.MesField; + } + set + { + this.MesField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Nrcartao + { + get + { + return this.NrcartaoField; + } + set + { + this.NrcartaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Numero + { + get + { + return this.NumeroField; + } + set + { + this.NumeroField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Origem + { + get + { + return this.OrigemField; + } + set + { + this.OrigemField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Parcelas + { + get + { + return this.ParcelasField; + } + set + { + this.ParcelasField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Portador + { + get + { + return this.PortadorField; + } + set + { + this.PortadorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TaxaEmbarque + { + get + { + return this.TaxaEmbarqueField; + } + set + { + this.TaxaEmbarqueField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Total + { + get + { + return this.TotalField; + } + set + { + this.TotalField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int Transacao + { + get + { + return this.TransacaoField; + } + set + { + this.TransacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Xid + { + get + { + return this.XidField; + } + set + { + this.XidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Authorization", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class Authorization : object + { + + private string CodRetField; + + private string DataField; + + private string HoraField; + + private string MsgAvsField; + + private string MsgretField; + + private string NumAutorField; + + private string NumPedidoField; + + private string NumSqnField; + + private string RespAvsField; + + private string TidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CodRet + { + get + { + return this.CodRetField; + } + set + { + this.CodRetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Hora + { + get + { + return this.HoraField; + } + set + { + this.HoraField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MsgAvs + { + get + { + return this.MsgAvsField; + } + set + { + this.MsgAvsField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Msgret + { + get + { + return this.MsgretField; + } + set + { + this.MsgretField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumAutor + { + get + { + return this.NumAutorField; + } + set + { + this.NumAutorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string RespAvs + { + get + { + return this.RespAvsField; + } + set + { + this.RespAvsField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="VoidTransactionTID", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class VoidTransactionTID : object + { + + private string DataField; + + private string FiliacaoField; + + private string NumAutorField; + + private string NumSqnField; + + private string SenhaField; + + private string TidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumAutor + { + get + { + return this.NumAutorField; + } + set + { + this.NumAutorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Confirmation", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class Confirmation : object + { + + private string CodRetField; + + private string DataField; + + private string HoraField; + + private string MsgRetField; + + private string NumSqnField; + + private string TidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CodRet + { + get + { + return this.CodRetField; + } + set + { + this.CodRetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Hora + { + get + { + return this.HoraField; + } + set + { + this.HoraField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MsgRet + { + get + { + return this.MsgRetField; + } + set + { + this.MsgRetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ConfirmTxnTID", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class ConfirmTxnTID : object + { + + private string DataField; + + private string FiliacaoField; + + private string NumAutorField; + + private string NumSqnField; + + private string ParcelasField; + + private string SenhaField; + + private string TidField; + + private string TotalField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumAutor + { + get + { + return this.NumAutorField; + } + set + { + this.NumAutorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Parcelas + { + get + { + return this.ParcelasField; + } + set + { + this.ParcelasField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Total + { + get + { + return this.TotalField; + } + set + { + this.TotalField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="QueryRequest", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class QueryRequest : object + { + + private string FiliacaoField; + + private string NumPedidoField; + + private string SenhaField; + + private string TidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="QueryResponse", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class QueryResponse : object + { + + private SyonOnline.ServiceReference.Adquirencia.HeaderClass HEADERField; + + private SyonOnline.ServiceReference.Adquirencia.RegistroClass REGISTROField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public SyonOnline.ServiceReference.Adquirencia.HeaderClass HEADER + { + get + { + return this.HEADERField; + } + set + { + this.HEADERField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public SyonOnline.ServiceReference.Adquirencia.RegistroClass REGISTRO + { + get + { + return this.REGISTROField; + } + set + { + this.REGISTROField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="HeaderClass", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class HeaderClass : object + { + + private string DATA_REQUISICAOField; + + private string FILIACAOField; + + private string HORA_REQUISICAOField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA_REQUISICAO + { + get + { + return this.DATA_REQUISICAOField; + } + set + { + this.DATA_REQUISICAOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string FILIACAO + { + get + { + return this.FILIACAOField; + } + set + { + this.FILIACAOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string HORA_REQUISICAO + { + get + { + return this.HORA_REQUISICAOField; + } + set + { + this.HORA_REQUISICAOField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="RegistroClass", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class RegistroClass : object + { + + private SyonOnline.ServiceReference.Adquirencia.AvsQueryClass AVSField; + + private string COD_RETField; + + private string DATAField; + + private string DATA_CANCField; + + private string DATA_CON_PRE_AUTField; + + private string DATA_EXP_PRE_AUTField; + + private string FILIACAO_DSTRField; + + private string HORAField; + + private string IDENTIFICACAOFATURAField; + + private string MOEDAField; + + private string MSG_RETField; + + private string NOM_PORTADORField; + + private string NR_CARTAOField; + + private string NUMAUTORField; + + private string NUMPEDIDOField; + + private string NUMSQNField; + + private string ORIGEMField; + + private string PARCELASField; + + private string STATUSField; + + private string TAXA_EMBARQUEField; + + private string TIDField; + + private string TOTALField; + + private string TRANSACAOField; + + private SyonOnline.ServiceReference.Adquirencia.ThreeDClass _3DSField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public SyonOnline.ServiceReference.Adquirencia.AvsQueryClass AVS + { + get + { + return this.AVSField; + } + set + { + this.AVSField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string COD_RET + { + get + { + return this.COD_RETField; + } + set + { + this.COD_RETField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA + { + get + { + return this.DATAField; + } + set + { + this.DATAField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA_CANC + { + get + { + return this.DATA_CANCField; + } + set + { + this.DATA_CANCField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA_CON_PRE_AUT + { + get + { + return this.DATA_CON_PRE_AUTField; + } + set + { + this.DATA_CON_PRE_AUTField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA_EXP_PRE_AUT + { + get + { + return this.DATA_EXP_PRE_AUTField; + } + set + { + this.DATA_EXP_PRE_AUTField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string FILIACAO_DSTR + { + get + { + return this.FILIACAO_DSTRField; + } + set + { + this.FILIACAO_DSTRField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string HORA + { + get + { + return this.HORAField; + } + set + { + this.HORAField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string IDENTIFICACAOFATURA + { + get + { + return this.IDENTIFICACAOFATURAField; + } + set + { + this.IDENTIFICACAOFATURAField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MOEDA + { + get + { + return this.MOEDAField; + } + set + { + this.MOEDAField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MSG_RET + { + get + { + return this.MSG_RETField; + } + set + { + this.MSG_RETField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NOM_PORTADOR + { + get + { + return this.NOM_PORTADORField; + } + set + { + this.NOM_PORTADORField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NR_CARTAO + { + get + { + return this.NR_CARTAOField; + } + set + { + this.NR_CARTAOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NUMAUTOR + { + get + { + return this.NUMAUTORField; + } + set + { + this.NUMAUTORField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NUMPEDIDO + { + get + { + return this.NUMPEDIDOField; + } + set + { + this.NUMPEDIDOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NUMSQN + { + get + { + return this.NUMSQNField; + } + set + { + this.NUMSQNField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ORIGEM + { + get + { + return this.ORIGEMField; + } + set + { + this.ORIGEMField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string PARCELAS + { + get + { + return this.PARCELASField; + } + set + { + this.PARCELASField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string STATUS + { + get + { + return this.STATUSField; + } + set + { + this.STATUSField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TAXA_EMBARQUE + { + get + { + return this.TAXA_EMBARQUEField; + } + set + { + this.TAXA_EMBARQUEField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TID + { + get + { + return this.TIDField; + } + set + { + this.TIDField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TOTAL + { + get + { + return this.TOTALField; + } + set + { + this.TOTALField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TRANSACAO + { + get + { + return this.TRANSACAOField; + } + set + { + this.TRANSACAOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute(Name="3DS")] + public SyonOnline.ServiceReference.Adquirencia.ThreeDClass _3DS + { + get + { + return this._3DSField; + } + set + { + this._3DSField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="AvsQueryClass", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class AvsQueryClass : object + { + + private string CEPField; + + private string COMPLEMENTOField; + + private string CPFField; + + private string ENDERECOField; + + private string MSG_AVSField; + + private string NU_ENDERECOField; + + private string RESP_AVSField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CEP + { + get + { + return this.CEPField; + } + set + { + this.CEPField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string COMPLEMENTO + { + get + { + return this.COMPLEMENTOField; + } + set + { + this.COMPLEMENTOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CPF + { + get + { + return this.CPFField; + } + set + { + this.CPFField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ENDERECO + { + get + { + return this.ENDERECOField; + } + set + { + this.ENDERECOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MSG_AVS + { + get + { + return this.MSG_AVSField; + } + set + { + this.MSG_AVSField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NU_ENDERECO + { + get + { + return this.NU_ENDERECOField; + } + set + { + this.NU_ENDERECOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string RESP_AVS + { + get + { + return this.RESP_AVSField; + } + set + { + this.RESP_AVSField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ThreeDClass", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class ThreeDClass : object + { + + private string CAVVField; + + private string ECIField; + + private string XIDField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CAVV + { + get + { + return this.CAVVField; + } + set + { + this.CAVVField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ECI + { + get + { + return this.ECIField; + } + set + { + this.ECIField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string XID + { + get + { + return this.XIDField; + } + set + { + this.XIDField = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SyonOnline.ServiceReference.Adquirencia.IKomerciWcf")] + public interface IKomerciWcf + { + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/GetAuthorizedCredit", ReplyAction="http://tempuri.org/IKomerciWcf/GetAuthorizedCreditResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.Adquirencia.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/GetAuthorizedCreditExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task GetAuthorizedCreditAsync(SyonOnline.ServiceReference.Adquirencia.GetAuthorizedCredit request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/GetAuthorizedDebit", ReplyAction="http://tempuri.org/IKomerciWcf/GetAuthorizedDebitResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.Adquirencia.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/GetAuthorizedDebitExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task GetAuthorizedDebitAsync(SyonOnline.ServiceReference.Adquirencia.GetAuthorizedDebit request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/VoidTransactionTID", ReplyAction="http://tempuri.org/IKomerciWcf/VoidTransactionTIDResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.Adquirencia.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/VoidTransactionTIDExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task VoidTransactionTIDAsync(SyonOnline.ServiceReference.Adquirencia.VoidTransactionTID request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/ConfirmTxnTID", ReplyAction="http://tempuri.org/IKomerciWcf/ConfirmTxnTIDResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.Adquirencia.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/ConfirmTxnTIDExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task ConfirmTxnTIDAsync(SyonOnline.ServiceReference.Adquirencia.ConfirmTxnTID request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/Query", ReplyAction="http://tempuri.org/IKomerciWcf/QueryResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.Adquirencia.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/QueryExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task QueryAsync(SyonOnline.ServiceReference.Adquirencia.QueryRequest request); + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + public interface IKomerciWcfChannel : SyonOnline.ServiceReference.Adquirencia.IKomerciWcf, System.ServiceModel.IClientChannel + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + public partial class KomerciWcfClient : System.ServiceModel.ClientBase, SyonOnline.ServiceReference.Adquirencia.IKomerciWcf + { + + /// + /// Implement this partial method to configure the service endpoint. + /// + /// The endpoint to configure + /// The client credentials + static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); + + public KomerciWcfClient() : + base(KomerciWcfClient.GetDefaultBinding(), KomerciWcfClient.GetDefaultEndpointAddress()) + { + this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IKomerciWcf.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public KomerciWcfClient(EndpointConfiguration endpointConfiguration) : + base(KomerciWcfClient.GetBindingForEndpoint(endpointConfiguration), KomerciWcfClient.GetEndpointAddress(endpointConfiguration)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public KomerciWcfClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : + base(KomerciWcfClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public KomerciWcfClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : + base(KomerciWcfClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public KomerciWcfClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + public System.Threading.Tasks.Task GetAuthorizedCreditAsync(SyonOnline.ServiceReference.Adquirencia.GetAuthorizedCredit request) + { + return base.Channel.GetAuthorizedCreditAsync(request); + } + + public System.Threading.Tasks.Task GetAuthorizedDebitAsync(SyonOnline.ServiceReference.Adquirencia.GetAuthorizedDebit request) + { + return base.Channel.GetAuthorizedDebitAsync(request); + } + + public System.Threading.Tasks.Task VoidTransactionTIDAsync(SyonOnline.ServiceReference.Adquirencia.VoidTransactionTID request) + { + return base.Channel.VoidTransactionTIDAsync(request); + } + + public System.Threading.Tasks.Task ConfirmTxnTIDAsync(SyonOnline.ServiceReference.Adquirencia.ConfirmTxnTID request) + { + return base.Channel.ConfirmTxnTIDAsync(request); + } + + public System.Threading.Tasks.Task QueryAsync(SyonOnline.ServiceReference.Adquirencia.QueryRequest request) + { + return base.Channel.QueryAsync(request); + } + + public virtual System.Threading.Tasks.Task OpenAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); + } + + public virtual System.Threading.Tasks.Task CloseAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); + } + + private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IKomerciWcf)) + { + System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); + result.MaxBufferSize = int.MaxValue; + result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; + result.MaxReceivedMessageSize = int.MaxValue; + result.AllowCookies = true; + result.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.Transport; + return result; + } + throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); + } + + private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IKomerciWcf)) + { + return new System.ServiceModel.EndpointAddress("https://ecommerce.userede.com.br/Redecard.Adquirencia.Wcf/KomerciWcf.svc"); + } + throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); + } + + private static System.ServiceModel.Channels.Binding GetDefaultBinding() + { + return KomerciWcfClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IKomerciWcf); + } + + private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + { + return KomerciWcfClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IKomerciWcf); + } + + public enum EndpointConfiguration + { + + BasicHttpBinding_IKomerciWcf, + } + } +} diff --git a/ServiceReference/Connected Services/SyonOnline.ServiceReference.AdquirenciaV2/ConnectedService.json b/ServiceReference/Connected Services/SyonOnline.ServiceReference.AdquirenciaV2/ConnectedService.json new file mode 100644 index 0000000..5d87e73 --- /dev/null +++ b/ServiceReference/Connected Services/SyonOnline.ServiceReference.AdquirenciaV2/ConnectedService.json @@ -0,0 +1,4 @@ +{ + "ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf", + "Version": "0.5.10718.1239" +} \ No newline at end of file diff --git a/ServiceReference/Connected Services/SyonOnline.ServiceReference.AdquirenciaV2/Reference.cs b/ServiceReference/Connected Services/SyonOnline.ServiceReference.AdquirenciaV2/Reference.cs new file mode 100644 index 0000000..98ebc34 --- /dev/null +++ b/ServiceReference/Connected Services/SyonOnline.ServiceReference.AdquirenciaV2/Reference.cs @@ -0,0 +1,2334 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// // +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace SyonOnline.ServiceReference.AdquirenciaV2 +{ + using System.Runtime.Serialization; + + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="GetAuthorizedCredit", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class GetAuthorizedCredit : object + { + + private string AnoField; + + private string CavvField; + + private string CepField; + + private string ComplementoField; + + private string CpfField; + + private string Cvc2Field; + + private string DistribuidorField; + + private string EciField; + + private string EnderecoField; + + private string FiliacaoField; + + private string IataField; + + private string IdentificacaoFaturaField; + + private string MesField; + + private string NrcartaoField; + + private string NumPedidoField; + + private string NumeroField; + + private string OrigemField; + + private string ParcelasField; + + private string PortadorField; + + private string RecorrenteField; + + private string SenhaField; + + private string TaxaEmbarqueField; + + private string TotalField; + + private int TransacaoField; + + private string XidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Ano + { + get + { + return this.AnoField; + } + set + { + this.AnoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cavv + { + get + { + return this.CavvField; + } + set + { + this.CavvField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cep + { + get + { + return this.CepField; + } + set + { + this.CepField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Complemento + { + get + { + return this.ComplementoField; + } + set + { + this.ComplementoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cpf + { + get + { + return this.CpfField; + } + set + { + this.CpfField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cvc2 + { + get + { + return this.Cvc2Field; + } + set + { + this.Cvc2Field = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Distribuidor + { + get + { + return this.DistribuidorField; + } + set + { + this.DistribuidorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Eci + { + get + { + return this.EciField; + } + set + { + this.EciField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Endereco + { + get + { + return this.EnderecoField; + } + set + { + this.EnderecoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Iata + { + get + { + return this.IataField; + } + set + { + this.IataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string IdentificacaoFatura + { + get + { + return this.IdentificacaoFaturaField; + } + set + { + this.IdentificacaoFaturaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Mes + { + get + { + return this.MesField; + } + set + { + this.MesField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Nrcartao + { + get + { + return this.NrcartaoField; + } + set + { + this.NrcartaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Numero + { + get + { + return this.NumeroField; + } + set + { + this.NumeroField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Origem + { + get + { + return this.OrigemField; + } + set + { + this.OrigemField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Parcelas + { + get + { + return this.ParcelasField; + } + set + { + this.ParcelasField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Portador + { + get + { + return this.PortadorField; + } + set + { + this.PortadorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Recorrente + { + get + { + return this.RecorrenteField; + } + set + { + this.RecorrenteField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TaxaEmbarque + { + get + { + return this.TaxaEmbarqueField; + } + set + { + this.TaxaEmbarqueField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Total + { + get + { + return this.TotalField; + } + set + { + this.TotalField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int Transacao + { + get + { + return this.TransacaoField; + } + set + { + this.TransacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Xid + { + get + { + return this.XidField; + } + set + { + this.XidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="CreditAuthorizationResponse", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class CreditAuthorizationResponse : object + { + + private string CetField; + + private string CodRetField; + + private string DataField; + + private string HoraField; + + private string JurosField; + + private string MsgAvsField; + + private string MsgretField; + + private string NumAutorField; + + private string NumPedidoField; + + private string NumSqnField; + + private string RespAvsField; + + private string TidField; + + private string ValParcelasField; + + private string ValTotalJurosField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cet + { + get + { + return this.CetField; + } + set + { + this.CetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CodRet + { + get + { + return this.CodRetField; + } + set + { + this.CodRetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Hora + { + get + { + return this.HoraField; + } + set + { + this.HoraField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Juros + { + get + { + return this.JurosField; + } + set + { + this.JurosField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MsgAvs + { + get + { + return this.MsgAvsField; + } + set + { + this.MsgAvsField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Msgret + { + get + { + return this.MsgretField; + } + set + { + this.MsgretField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumAutor + { + get + { + return this.NumAutorField; + } + set + { + this.NumAutorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string RespAvs + { + get + { + return this.RespAvsField; + } + set + { + this.RespAvsField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ValParcelas + { + get + { + return this.ValParcelasField; + } + set + { + this.ValParcelasField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ValTotalJuros + { + get + { + return this.ValTotalJurosField; + } + set + { + this.ValTotalJurosField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class ExcecaoAmigavel : object + { + + private string MensagemField; + + private string StackTraceField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Mensagem + { + get + { + return this.MensagemField; + } + set + { + this.MensagemField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string StackTrace + { + get + { + return this.StackTraceField; + } + set + { + this.StackTraceField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="GetAuthorizedDebit", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class GetAuthorizedDebit : object + { + + private string AnoField; + + private string CavvField; + + private string CepField; + + private string ComplementoField; + + private string CpfField; + + private string Cvc2Field; + + private string DistribuidorField; + + private string EciField; + + private string EnderecoField; + + private string FiliacaoField; + + private string IataField; + + private string IdentificacaoFaturaField; + + private string MesField; + + private string NrcartaoField; + + private string NumPedidoField; + + private string NumeroField; + + private string OrigemField; + + private string ParcelasField; + + private string PortadorField; + + private string SenhaField; + + private string TaxaEmbarqueField; + + private string TotalField; + + private int TransacaoField; + + private string XidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Ano + { + get + { + return this.AnoField; + } + set + { + this.AnoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cavv + { + get + { + return this.CavvField; + } + set + { + this.CavvField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cep + { + get + { + return this.CepField; + } + set + { + this.CepField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Complemento + { + get + { + return this.ComplementoField; + } + set + { + this.ComplementoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cpf + { + get + { + return this.CpfField; + } + set + { + this.CpfField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Cvc2 + { + get + { + return this.Cvc2Field; + } + set + { + this.Cvc2Field = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Distribuidor + { + get + { + return this.DistribuidorField; + } + set + { + this.DistribuidorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Eci + { + get + { + return this.EciField; + } + set + { + this.EciField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Endereco + { + get + { + return this.EnderecoField; + } + set + { + this.EnderecoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Iata + { + get + { + return this.IataField; + } + set + { + this.IataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string IdentificacaoFatura + { + get + { + return this.IdentificacaoFaturaField; + } + set + { + this.IdentificacaoFaturaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Mes + { + get + { + return this.MesField; + } + set + { + this.MesField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Nrcartao + { + get + { + return this.NrcartaoField; + } + set + { + this.NrcartaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Numero + { + get + { + return this.NumeroField; + } + set + { + this.NumeroField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Origem + { + get + { + return this.OrigemField; + } + set + { + this.OrigemField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Parcelas + { + get + { + return this.ParcelasField; + } + set + { + this.ParcelasField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Portador + { + get + { + return this.PortadorField; + } + set + { + this.PortadorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TaxaEmbarque + { + get + { + return this.TaxaEmbarqueField; + } + set + { + this.TaxaEmbarqueField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Total + { + get + { + return this.TotalField; + } + set + { + this.TotalField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int Transacao + { + get + { + return this.TransacaoField; + } + set + { + this.TransacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Xid + { + get + { + return this.XidField; + } + set + { + this.XidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Authorization", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class Authorization : object + { + + private string CodRetField; + + private string DataField; + + private string HoraField; + + private string MsgAvsField; + + private string MsgretField; + + private string NumAutorField; + + private string NumPedidoField; + + private string NumSqnField; + + private string RespAvsField; + + private string TidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CodRet + { + get + { + return this.CodRetField; + } + set + { + this.CodRetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Hora + { + get + { + return this.HoraField; + } + set + { + this.HoraField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MsgAvs + { + get + { + return this.MsgAvsField; + } + set + { + this.MsgAvsField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Msgret + { + get + { + return this.MsgretField; + } + set + { + this.MsgretField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumAutor + { + get + { + return this.NumAutorField; + } + set + { + this.NumAutorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string RespAvs + { + get + { + return this.RespAvsField; + } + set + { + this.RespAvsField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="VoidTransactionTID", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class VoidTransactionTID : object + { + + private string DataField; + + private string FiliacaoField; + + private string NumAutorField; + + private string NumSqnField; + + private string SenhaField; + + private string TidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumAutor + { + get + { + return this.NumAutorField; + } + set + { + this.NumAutorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Confirmation", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class Confirmation : object + { + + private string CodRetField; + + private string DataField; + + private string HoraField; + + private string MsgRetField; + + private string NumSqnField; + + private string TidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CodRet + { + get + { + return this.CodRetField; + } + set + { + this.CodRetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Hora + { + get + { + return this.HoraField; + } + set + { + this.HoraField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MsgRet + { + get + { + return this.MsgRetField; + } + set + { + this.MsgRetField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ConfirmTxnTID", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class ConfirmTxnTID : object + { + + private string DataField; + + private string FiliacaoField; + + private string NumAutorField; + + private string NumSqnField; + + private string ParcelasField; + + private string SenhaField; + + private string TidField; + + private string TotalField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Data + { + get + { + return this.DataField; + } + set + { + this.DataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumAutor + { + get + { + return this.NumAutorField; + } + set + { + this.NumAutorField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumSqn + { + get + { + return this.NumSqnField; + } + set + { + this.NumSqnField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Parcelas + { + get + { + return this.ParcelasField; + } + set + { + this.ParcelasField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Total + { + get + { + return this.TotalField; + } + set + { + this.TotalField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="QueryRequest", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class QueryRequest : object + { + + private string FiliacaoField; + + private string NumPedidoField; + + private string SenhaField; + + private string TidField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Filiacao + { + get + { + return this.FiliacaoField; + } + set + { + this.FiliacaoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NumPedido + { + get + { + return this.NumPedidoField; + } + set + { + this.NumPedidoField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Senha + { + get + { + return this.SenhaField; + } + set + { + this.SenhaField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Tid + { + get + { + return this.TidField; + } + set + { + this.TidField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="QueryResponse", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class QueryResponse : object + { + + private SyonOnline.ServiceReference.AdquirenciaV2.HeaderClass HEADERField; + + private SyonOnline.ServiceReference.AdquirenciaV2.RegistroClass REGISTROField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public SyonOnline.ServiceReference.AdquirenciaV2.HeaderClass HEADER + { + get + { + return this.HEADERField; + } + set + { + this.HEADERField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public SyonOnline.ServiceReference.AdquirenciaV2.RegistroClass REGISTRO + { + get + { + return this.REGISTROField; + } + set + { + this.REGISTROField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="HeaderClass", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class HeaderClass : object + { + + private string DATA_REQUISICAOField; + + private string FILIACAOField; + + private string HORA_REQUISICAOField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA_REQUISICAO + { + get + { + return this.DATA_REQUISICAOField; + } + set + { + this.DATA_REQUISICAOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string FILIACAO + { + get + { + return this.FILIACAOField; + } + set + { + this.FILIACAOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string HORA_REQUISICAO + { + get + { + return this.HORA_REQUISICAOField; + } + set + { + this.HORA_REQUISICAOField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="RegistroClass", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class RegistroClass : object + { + + private SyonOnline.ServiceReference.AdquirenciaV2.AvsQueryClass AVSField; + + private string COD_RETField; + + private string DATAField; + + private string DATA_CANCField; + + private string DATA_CON_PRE_AUTField; + + private string DATA_EXP_PRE_AUTField; + + private string FILIACAO_DSTRField; + + private string HORAField; + + private string IDENTIFICACAOFATURAField; + + private string MOEDAField; + + private string MSG_RETField; + + private string NOM_PORTADORField; + + private string NR_CARTAOField; + + private string NUMAUTORField; + + private string NUMPEDIDOField; + + private string NUMSQNField; + + private string ORIGEMField; + + private string PARCELASField; + + private string STATUSField; + + private string TAXA_EMBARQUEField; + + private string TIDField; + + private string TOTALField; + + private string TRANSACAOField; + + private SyonOnline.ServiceReference.AdquirenciaV2.ThreeDClass _3DSField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public SyonOnline.ServiceReference.AdquirenciaV2.AvsQueryClass AVS + { + get + { + return this.AVSField; + } + set + { + this.AVSField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string COD_RET + { + get + { + return this.COD_RETField; + } + set + { + this.COD_RETField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA + { + get + { + return this.DATAField; + } + set + { + this.DATAField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA_CANC + { + get + { + return this.DATA_CANCField; + } + set + { + this.DATA_CANCField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA_CON_PRE_AUT + { + get + { + return this.DATA_CON_PRE_AUTField; + } + set + { + this.DATA_CON_PRE_AUTField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DATA_EXP_PRE_AUT + { + get + { + return this.DATA_EXP_PRE_AUTField; + } + set + { + this.DATA_EXP_PRE_AUTField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string FILIACAO_DSTR + { + get + { + return this.FILIACAO_DSTRField; + } + set + { + this.FILIACAO_DSTRField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string HORA + { + get + { + return this.HORAField; + } + set + { + this.HORAField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string IDENTIFICACAOFATURA + { + get + { + return this.IDENTIFICACAOFATURAField; + } + set + { + this.IDENTIFICACAOFATURAField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MOEDA + { + get + { + return this.MOEDAField; + } + set + { + this.MOEDAField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MSG_RET + { + get + { + return this.MSG_RETField; + } + set + { + this.MSG_RETField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NOM_PORTADOR + { + get + { + return this.NOM_PORTADORField; + } + set + { + this.NOM_PORTADORField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NR_CARTAO + { + get + { + return this.NR_CARTAOField; + } + set + { + this.NR_CARTAOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NUMAUTOR + { + get + { + return this.NUMAUTORField; + } + set + { + this.NUMAUTORField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NUMPEDIDO + { + get + { + return this.NUMPEDIDOField; + } + set + { + this.NUMPEDIDOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NUMSQN + { + get + { + return this.NUMSQNField; + } + set + { + this.NUMSQNField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ORIGEM + { + get + { + return this.ORIGEMField; + } + set + { + this.ORIGEMField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string PARCELAS + { + get + { + return this.PARCELASField; + } + set + { + this.PARCELASField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string STATUS + { + get + { + return this.STATUSField; + } + set + { + this.STATUSField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TAXA_EMBARQUE + { + get + { + return this.TAXA_EMBARQUEField; + } + set + { + this.TAXA_EMBARQUEField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TID + { + get + { + return this.TIDField; + } + set + { + this.TIDField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TOTAL + { + get + { + return this.TOTALField; + } + set + { + this.TOTALField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TRANSACAO + { + get + { + return this.TRANSACAOField; + } + set + { + this.TRANSACAOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute(Name="3DS")] + public SyonOnline.ServiceReference.AdquirenciaV2.ThreeDClass _3DS + { + get + { + return this._3DSField; + } + set + { + this._3DSField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="AvsQueryClass", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class AvsQueryClass : object + { + + private string CEPField; + + private string COMPLEMENTOField; + + private string CPFField; + + private string ENDERECOField; + + private string MSG_AVSField; + + private string NU_ENDERECOField; + + private string RESP_AVSField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CEP + { + get + { + return this.CEPField; + } + set + { + this.CEPField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string COMPLEMENTO + { + get + { + return this.COMPLEMENTOField; + } + set + { + this.COMPLEMENTOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CPF + { + get + { + return this.CPFField; + } + set + { + this.CPFField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ENDERECO + { + get + { + return this.ENDERECOField; + } + set + { + this.ENDERECOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string MSG_AVS + { + get + { + return this.MSG_AVSField; + } + set + { + this.MSG_AVSField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string NU_ENDERECO + { + get + { + return this.NU_ENDERECOField; + } + set + { + this.NU_ENDERECOField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string RESP_AVS + { + get + { + return this.RESP_AVSField; + } + set + { + this.RESP_AVSField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ThreeDClass", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + public partial class ThreeDClass : object + { + + private string CAVVField; + + private string ECIField; + + private string XIDField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public string CAVV + { + get + { + return this.CAVVField; + } + set + { + this.CAVVField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ECI + { + get + { + return this.ECIField; + } + set + { + this.ECIField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string XID + { + get + { + return this.XIDField; + } + set + { + this.XIDField = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SyonOnline.ServiceReference.AdquirenciaV2.IKomerciWcf")] + public interface IKomerciWcf + { + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/GetAuthorizedCredit", ReplyAction="http://tempuri.org/IKomerciWcf/GetAuthorizedCreditResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.AdquirenciaV2.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/GetAuthorizedCreditExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task GetAuthorizedCreditAsync(SyonOnline.ServiceReference.AdquirenciaV2.GetAuthorizedCredit request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/GetAuthorizedDebit", ReplyAction="http://tempuri.org/IKomerciWcf/GetAuthorizedDebitResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.AdquirenciaV2.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/GetAuthorizedDebitExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task GetAuthorizedDebitAsync(SyonOnline.ServiceReference.AdquirenciaV2.GetAuthorizedDebit request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/VoidTransactionTID", ReplyAction="http://tempuri.org/IKomerciWcf/VoidTransactionTIDResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.AdquirenciaV2.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/VoidTransactionTIDExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task VoidTransactionTIDAsync(SyonOnline.ServiceReference.AdquirenciaV2.VoidTransactionTID request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/ConfirmTxnTID", ReplyAction="http://tempuri.org/IKomerciWcf/ConfirmTxnTIDResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.AdquirenciaV2.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/ConfirmTxnTIDExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task ConfirmTxnTIDAsync(SyonOnline.ServiceReference.AdquirenciaV2.ConfirmTxnTID request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IKomerciWcf/Query", ReplyAction="http://tempuri.org/IKomerciWcf/QueryResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(SyonOnline.ServiceReference.AdquirenciaV2.ExcecaoAmigavel), Action="http://tempuri.org/IKomerciWcf/QueryExcecaoAmigavelFault", Name="ExcecaoAmigavel", Namespace="http://schemas.datacontract.org/2004/07/Redecard.Komerci.External.WcfKomerci")] + System.Threading.Tasks.Task QueryAsync(SyonOnline.ServiceReference.AdquirenciaV2.QueryRequest request); + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + public interface IKomerciWcfChannel : SyonOnline.ServiceReference.AdquirenciaV2.IKomerciWcf, System.ServiceModel.IClientChannel + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + public partial class KomerciWcfClient : System.ServiceModel.ClientBase, SyonOnline.ServiceReference.AdquirenciaV2.IKomerciWcf + { + + /// + /// Implement this partial method to configure the service endpoint. + /// + /// The endpoint to configure + /// The client credentials + static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); + + public KomerciWcfClient() : + base(KomerciWcfClient.GetDefaultBinding(), KomerciWcfClient.GetDefaultEndpointAddress()) + { + this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IKomerciWcf.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public KomerciWcfClient(EndpointConfiguration endpointConfiguration) : + base(KomerciWcfClient.GetBindingForEndpoint(endpointConfiguration), KomerciWcfClient.GetEndpointAddress(endpointConfiguration)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public KomerciWcfClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : + base(KomerciWcfClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public KomerciWcfClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : + base(KomerciWcfClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public KomerciWcfClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + public System.Threading.Tasks.Task GetAuthorizedCreditAsync(SyonOnline.ServiceReference.AdquirenciaV2.GetAuthorizedCredit request) + { + return base.Channel.GetAuthorizedCreditAsync(request); + } + + public System.Threading.Tasks.Task GetAuthorizedDebitAsync(SyonOnline.ServiceReference.AdquirenciaV2.GetAuthorizedDebit request) + { + return base.Channel.GetAuthorizedDebitAsync(request); + } + + public System.Threading.Tasks.Task VoidTransactionTIDAsync(SyonOnline.ServiceReference.AdquirenciaV2.VoidTransactionTID request) + { + return base.Channel.VoidTransactionTIDAsync(request); + } + + public System.Threading.Tasks.Task ConfirmTxnTIDAsync(SyonOnline.ServiceReference.AdquirenciaV2.ConfirmTxnTID request) + { + return base.Channel.ConfirmTxnTIDAsync(request); + } + + public System.Threading.Tasks.Task QueryAsync(SyonOnline.ServiceReference.AdquirenciaV2.QueryRequest request) + { + return base.Channel.QueryAsync(request); + } + + public virtual System.Threading.Tasks.Task OpenAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); + } + + public virtual System.Threading.Tasks.Task CloseAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); + } + + private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IKomerciWcf)) + { + System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); + result.MaxBufferSize = int.MaxValue; + result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; + result.MaxReceivedMessageSize = int.MaxValue; + result.AllowCookies = true; + result.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.Transport; + return result; + } + throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); + } + + private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_IKomerciWcf)) + { + return new System.ServiceModel.EndpointAddress("https://ecommerce.userede.com.br/Redecard.Adquirencia.Wcf/KomerciWcfV2.svc"); + } + throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); + } + + private static System.ServiceModel.Channels.Binding GetDefaultBinding() + { + return KomerciWcfClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IKomerciWcf); + } + + private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + { + return KomerciWcfClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IKomerciWcf); + } + + public enum EndpointConfiguration + { + + BasicHttpBinding_IKomerciWcf, + } + } +} diff --git a/ServiceReference/Connected Services/SyonOnline.ServiceReference.Komerci/ConnectedService.json b/ServiceReference/Connected Services/SyonOnline.ServiceReference.Komerci/ConnectedService.json new file mode 100644 index 0000000..5d87e73 --- /dev/null +++ b/ServiceReference/Connected Services/SyonOnline.ServiceReference.Komerci/ConnectedService.json @@ -0,0 +1,4 @@ +{ + "ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf", + "Version": "0.5.10718.1239" +} \ No newline at end of file diff --git a/ServiceReference/Connected Services/SyonOnline.ServiceReference.Komerci/Reference.cs b/ServiceReference/Connected Services/SyonOnline.ServiceReference.Komerci/Reference.cs new file mode 100644 index 0000000..7da9918 --- /dev/null +++ b/ServiceReference/Connected Services/SyonOnline.ServiceReference.Komerci/Reference.cs @@ -0,0 +1,2708 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// // +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace SyonOnline.ServiceReference.Komerci +{ + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://ecommerce.redecard.com.br", ConfigurationName="SyonOnline.ServiceReference.Komerci.komerci_captureSoap")] + public interface komerci_captureSoap + { + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/GetAuthorized_AD", ReplyAction="*")] + System.Threading.Tasks.Task GetAuthorized_ADAsync(SyonOnline.ServiceReference.Komerci.GetAuthorized_ADRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/GetAuthorized", ReplyAction="*")] + System.Threading.Tasks.Task GetAuthorizedAsync(SyonOnline.ServiceReference.Komerci.GetAuthorizedRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/GetAuthorizedAVS", ReplyAction="*")] + System.Threading.Tasks.Task GetAuthorizedAVSAsync(SyonOnline.ServiceReference.Komerci.GetAuthorizedAVSRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/ConfirmTxn_AD", ReplyAction="*")] + System.Threading.Tasks.Task ConfirmTxn_ADAsync(SyonOnline.ServiceReference.Komerci.ConfirmTxn_ADRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/ConfirmTxn", ReplyAction="*")] + System.Threading.Tasks.Task ConfirmTxnAsync(SyonOnline.ServiceReference.Komerci.ConfirmTxnRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/ConfPreAuthorization", ReplyAction="*")] + System.Threading.Tasks.Task ConfPreAuthorizationAsync(SyonOnline.ServiceReference.Komerci.ConfPreAuthorizationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/VoidDebtTransaction", ReplyAction="*")] + System.Threading.Tasks.Task VoidDebtTransactionAsync(SyonOnline.ServiceReference.Komerci.VoidDebtTransactionRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/VoidTransaction", ReplyAction="*")] + System.Threading.Tasks.Task VoidTransactionAsync(SyonOnline.ServiceReference.Komerci.VoidTransactionRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/VoidTransactionDistr", ReplyAction="*")] + System.Threading.Tasks.Task VoidTransactionDistrAsync(SyonOnline.ServiceReference.Komerci.VoidTransactionDistrRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/VoidPreAuthorization", ReplyAction="*")] + System.Threading.Tasks.Task VoidPreAuthorizationAsync(SyonOnline.ServiceReference.Komerci.VoidPreAuthorizationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/VoidConfPreAuthorization", ReplyAction="*")] + System.Threading.Tasks.Task VoidConfPreAuthorizationAsync(SyonOnline.ServiceReference.Komerci.VoidConfPreAuthorizationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/CouncilReport", ReplyAction="*")] + System.Threading.Tasks.Task CouncilReportAsync(SyonOnline.ServiceReference.Komerci.CouncilReportRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/ConsFornDistrib", ReplyAction="*")] + System.Threading.Tasks.Task ConsFornDistribAsync(SyonOnline.ServiceReference.Komerci.ConsFornDistribRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/SalesSumm", ReplyAction="*")] + System.Threading.Tasks.Task SalesSummAsync(SyonOnline.ServiceReference.Komerci.SalesSummRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://ecommerce.redecard.com.br/ReversalTxn", ReplyAction="*")] + System.Threading.Tasks.Task ReversalTxnAsync(SyonOnline.ServiceReference.Komerci.ReversalTxnRequest request); + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class GetAuthorized_ADRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="GetAuthorized_AD", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.GetAuthorized_ADRequestBody Body; + + public GetAuthorized_ADRequest() + { + } + + public GetAuthorized_ADRequest(SyonOnline.ServiceReference.Komerci.GetAuthorized_ADRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class GetAuthorized_ADRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Transacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Parcelas; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string NumPedido; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string Nrcartao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string CVC2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Mes; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Ano; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=9)] + public string Portador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=10)] + public string IATA; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=11)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=12)] + public string Concentrador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=13)] + public string TaxaEmbarque; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=14)] + public string Entrada; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=15)] + public string Pax1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=16)] + public string Pax2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=17)] + public string Pax3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=18)] + public string Pax4; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=19)] + public string Numdoc1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=20)] + public string Numdoc2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=21)] + public string Numdoc3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=22)] + public string Numdoc4; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=23)] + public string Add_Data; + + public GetAuthorized_ADRequestBody() + { + } + + public GetAuthorized_ADRequestBody( + string Total, + string Transacao, + string Parcelas, + string Filiacao, + string NumPedido, + string Nrcartao, + string CVC2, + string Mes, + string Ano, + string Portador, + string IATA, + string Distribuidor, + string Concentrador, + string TaxaEmbarque, + string Entrada, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4, + string Add_Data) + { + this.Total = Total; + this.Transacao = Transacao; + this.Parcelas = Parcelas; + this.Filiacao = Filiacao; + this.NumPedido = NumPedido; + this.Nrcartao = Nrcartao; + this.CVC2 = CVC2; + this.Mes = Mes; + this.Ano = Ano; + this.Portador = Portador; + this.IATA = IATA; + this.Distribuidor = Distribuidor; + this.Concentrador = Concentrador; + this.TaxaEmbarque = TaxaEmbarque; + this.Entrada = Entrada; + this.Pax1 = Pax1; + this.Pax2 = Pax2; + this.Pax3 = Pax3; + this.Pax4 = Pax4; + this.Numdoc1 = Numdoc1; + this.Numdoc2 = Numdoc2; + this.Numdoc3 = Numdoc3; + this.Numdoc4 = Numdoc4; + this.Add_Data = Add_Data; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class GetAuthorized_ADResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="GetAuthorized_ADResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.GetAuthorized_ADResponseBody Body; + + public GetAuthorized_ADResponse() + { + } + + public GetAuthorized_ADResponse(SyonOnline.ServiceReference.Komerci.GetAuthorized_ADResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class GetAuthorized_ADResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement GetAuthorized_ADResult; + + public GetAuthorized_ADResponseBody() + { + } + + public GetAuthorized_ADResponseBody(System.Xml.Linq.XElement GetAuthorized_ADResult) + { + this.GetAuthorized_ADResult = GetAuthorized_ADResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class GetAuthorizedRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="GetAuthorized", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.GetAuthorizedRequestBody Body; + + public GetAuthorizedRequest() + { + } + + public GetAuthorizedRequest(SyonOnline.ServiceReference.Komerci.GetAuthorizedRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class GetAuthorizedRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Transacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Parcelas; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string NumPedido; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string Nrcartao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string CVC2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Mes; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Ano; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=9)] + public string Portador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=10)] + public string IATA; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=11)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=12)] + public string Concentrador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=13)] + public string TaxaEmbarque; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=14)] + public string Entrada; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=15)] + public string Pax1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=16)] + public string Pax2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=17)] + public string Pax3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=18)] + public string Pax4; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=19)] + public string Numdoc1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=20)] + public string Numdoc2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=21)] + public string Numdoc3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=22)] + public string Numdoc4; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=23)] + public string ConfTxn; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=24)] + public string Add_Data; + + public GetAuthorizedRequestBody() + { + } + + public GetAuthorizedRequestBody( + string Total, + string Transacao, + string Parcelas, + string Filiacao, + string NumPedido, + string Nrcartao, + string CVC2, + string Mes, + string Ano, + string Portador, + string IATA, + string Distribuidor, + string Concentrador, + string TaxaEmbarque, + string Entrada, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4, + string ConfTxn, + string Add_Data) + { + this.Total = Total; + this.Transacao = Transacao; + this.Parcelas = Parcelas; + this.Filiacao = Filiacao; + this.NumPedido = NumPedido; + this.Nrcartao = Nrcartao; + this.CVC2 = CVC2; + this.Mes = Mes; + this.Ano = Ano; + this.Portador = Portador; + this.IATA = IATA; + this.Distribuidor = Distribuidor; + this.Concentrador = Concentrador; + this.TaxaEmbarque = TaxaEmbarque; + this.Entrada = Entrada; + this.Pax1 = Pax1; + this.Pax2 = Pax2; + this.Pax3 = Pax3; + this.Pax4 = Pax4; + this.Numdoc1 = Numdoc1; + this.Numdoc2 = Numdoc2; + this.Numdoc3 = Numdoc3; + this.Numdoc4 = Numdoc4; + this.ConfTxn = ConfTxn; + this.Add_Data = Add_Data; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class GetAuthorizedResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="GetAuthorizedResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.GetAuthorizedResponseBody Body; + + public GetAuthorizedResponse() + { + } + + public GetAuthorizedResponse(SyonOnline.ServiceReference.Komerci.GetAuthorizedResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class GetAuthorizedResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement GetAuthorizedResult; + + public GetAuthorizedResponseBody() + { + } + + public GetAuthorizedResponseBody(System.Xml.Linq.XElement GetAuthorizedResult) + { + this.GetAuthorizedResult = GetAuthorizedResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class GetAuthorizedAVSRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="GetAuthorizedAVS", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.GetAuthorizedAVSRequestBody Body; + + public GetAuthorizedAVSRequest() + { + } + + public GetAuthorizedAVSRequest(SyonOnline.ServiceReference.Komerci.GetAuthorizedAVSRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class GetAuthorizedAVSRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Transacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Parcelas; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string NumPedido; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string Nrcartao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string CVC2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Mes; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Ano; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=9)] + public string Portador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=10)] + public string CPF; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=11)] + public string Endereco; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=12)] + public string Num1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=13)] + public string Complemento; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=14)] + public string Cep1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=15)] + public string Cep2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=16)] + public string IATA; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=17)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=18)] + public string Concentrador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=19)] + public string TaxaEmbarque; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=20)] + public string Entrada; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=21)] + public string Pax1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=22)] + public string Pax2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=23)] + public string Pax3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=24)] + public string Pax4; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=25)] + public string Numdoc1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=26)] + public string Numdoc2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=27)] + public string Numdoc3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=28)] + public string Numdoc4; + + public GetAuthorizedAVSRequestBody() + { + } + + public GetAuthorizedAVSRequestBody( + string Total, + string Transacao, + string Parcelas, + string Filiacao, + string NumPedido, + string Nrcartao, + string CVC2, + string Mes, + string Ano, + string Portador, + string CPF, + string Endereco, + string Num1, + string Complemento, + string Cep1, + string Cep2, + string IATA, + string Distribuidor, + string Concentrador, + string TaxaEmbarque, + string Entrada, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4) + { + this.Total = Total; + this.Transacao = Transacao; + this.Parcelas = Parcelas; + this.Filiacao = Filiacao; + this.NumPedido = NumPedido; + this.Nrcartao = Nrcartao; + this.CVC2 = CVC2; + this.Mes = Mes; + this.Ano = Ano; + this.Portador = Portador; + this.CPF = CPF; + this.Endereco = Endereco; + this.Num1 = Num1; + this.Complemento = Complemento; + this.Cep1 = Cep1; + this.Cep2 = Cep2; + this.IATA = IATA; + this.Distribuidor = Distribuidor; + this.Concentrador = Concentrador; + this.TaxaEmbarque = TaxaEmbarque; + this.Entrada = Entrada; + this.Pax1 = Pax1; + this.Pax2 = Pax2; + this.Pax3 = Pax3; + this.Pax4 = Pax4; + this.Numdoc1 = Numdoc1; + this.Numdoc2 = Numdoc2; + this.Numdoc3 = Numdoc3; + this.Numdoc4 = Numdoc4; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class GetAuthorizedAVSResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="GetAuthorizedAVSResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.GetAuthorizedAVSResponseBody Body; + + public GetAuthorizedAVSResponse() + { + } + + public GetAuthorizedAVSResponse(SyonOnline.ServiceReference.Komerci.GetAuthorizedAVSResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class GetAuthorizedAVSResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement GetAuthorizedAVSResult; + + public GetAuthorizedAVSResponseBody() + { + } + + public GetAuthorizedAVSResponseBody(System.Xml.Linq.XElement GetAuthorizedAVSResult) + { + this.GetAuthorizedAVSResult = GetAuthorizedAVSResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ConfirmTxn_ADRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ConfirmTxn_AD", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ConfirmTxn_ADRequestBody Body; + + public ConfirmTxn_ADRequest() + { + } + + public ConfirmTxn_ADRequest(SyonOnline.ServiceReference.Komerci.ConfirmTxn_ADRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ConfirmTxn_ADRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Data; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string NumSqn; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string NumCV; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string NumAutor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string Parcelas; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string TransOrig; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=9)] + public string NumPedido; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=10)] + public string Pax1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=11)] + public string Pax2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=12)] + public string Pax3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=13)] + public string Pax4; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=14)] + public string Numdoc1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=15)] + public string Numdoc2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=16)] + public string Numdoc3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=17)] + public string Numdoc4; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=18)] + public string Cod_Banco; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=19)] + public string Origem_Bin; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=20)] + public string AddData; + + public ConfirmTxn_ADRequestBody() + { + } + + public ConfirmTxn_ADRequestBody( + string Data, + string NumSqn, + string NumCV, + string NumAutor, + string Parcelas, + string TransOrig, + string Total, + string Filiacao, + string Distribuidor, + string NumPedido, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4, + string Cod_Banco, + string Origem_Bin, + string AddData) + { + this.Data = Data; + this.NumSqn = NumSqn; + this.NumCV = NumCV; + this.NumAutor = NumAutor; + this.Parcelas = Parcelas; + this.TransOrig = TransOrig; + this.Total = Total; + this.Filiacao = Filiacao; + this.Distribuidor = Distribuidor; + this.NumPedido = NumPedido; + this.Pax1 = Pax1; + this.Pax2 = Pax2; + this.Pax3 = Pax3; + this.Pax4 = Pax4; + this.Numdoc1 = Numdoc1; + this.Numdoc2 = Numdoc2; + this.Numdoc3 = Numdoc3; + this.Numdoc4 = Numdoc4; + this.Cod_Banco = Cod_Banco; + this.Origem_Bin = Origem_Bin; + this.AddData = AddData; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ConfirmTxn_ADResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ConfirmTxn_ADResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ConfirmTxn_ADResponseBody Body; + + public ConfirmTxn_ADResponse() + { + } + + public ConfirmTxn_ADResponse(SyonOnline.ServiceReference.Komerci.ConfirmTxn_ADResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ConfirmTxn_ADResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement ConfirmTxn_ADResult; + + public ConfirmTxn_ADResponseBody() + { + } + + public ConfirmTxn_ADResponseBody(System.Xml.Linq.XElement ConfirmTxn_ADResult) + { + this.ConfirmTxn_ADResult = ConfirmTxn_ADResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ConfirmTxnRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ConfirmTxn", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ConfirmTxnRequestBody Body; + + public ConfirmTxnRequest() + { + } + + public ConfirmTxnRequest(SyonOnline.ServiceReference.Komerci.ConfirmTxnRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ConfirmTxnRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Data; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string NumSqn; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string NumCV; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string NumAutor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string Parcelas; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string TransOrig; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=9)] + public string NumPedido; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=10)] + public string Pax1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=11)] + public string Pax2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=12)] + public string Pax3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=13)] + public string Pax4; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=14)] + public string Numdoc1; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=15)] + public string Numdoc2; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=16)] + public string Numdoc3; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=17)] + public string Numdoc4; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=18)] + public string AddData; + + public ConfirmTxnRequestBody() + { + } + + public ConfirmTxnRequestBody( + string Data, + string NumSqn, + string NumCV, + string NumAutor, + string Parcelas, + string TransOrig, + string Total, + string Filiacao, + string Distribuidor, + string NumPedido, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4, + string AddData) + { + this.Data = Data; + this.NumSqn = NumSqn; + this.NumCV = NumCV; + this.NumAutor = NumAutor; + this.Parcelas = Parcelas; + this.TransOrig = TransOrig; + this.Total = Total; + this.Filiacao = Filiacao; + this.Distribuidor = Distribuidor; + this.NumPedido = NumPedido; + this.Pax1 = Pax1; + this.Pax2 = Pax2; + this.Pax3 = Pax3; + this.Pax4 = Pax4; + this.Numdoc1 = Numdoc1; + this.Numdoc2 = Numdoc2; + this.Numdoc3 = Numdoc3; + this.Numdoc4 = Numdoc4; + this.AddData = AddData; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ConfirmTxnResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ConfirmTxnResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ConfirmTxnResponseBody Body; + + public ConfirmTxnResponse() + { + } + + public ConfirmTxnResponse(SyonOnline.ServiceReference.Komerci.ConfirmTxnResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ConfirmTxnResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement ConfirmTxnResult; + + public ConfirmTxnResponseBody() + { + } + + public ConfirmTxnResponseBody(System.Xml.Linq.XElement ConfirmTxnResult) + { + this.ConfirmTxnResult = ConfirmTxnResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ConfPreAuthorizationRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ConfPreAuthorization", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ConfPreAuthorizationRequestBody Body; + + public ConfPreAuthorizationRequest() + { + } + + public ConfPreAuthorizationRequest(SyonOnline.ServiceReference.Komerci.ConfPreAuthorizationRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ConfPreAuthorizationRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string Parcelas; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string Data; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string NumAutor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string NumCV; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Concentrador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=9)] + public string Pwd; + + public ConfPreAuthorizationRequestBody() + { + } + + public ConfPreAuthorizationRequestBody(string Filiacao, string Distribuidor, string Total, string Parcelas, string Data, string NumAutor, string NumCV, string Concentrador, string Usr, string Pwd) + { + this.Filiacao = Filiacao; + this.Distribuidor = Distribuidor; + this.Total = Total; + this.Parcelas = Parcelas; + this.Data = Data; + this.NumAutor = NumAutor; + this.NumCV = NumCV; + this.Concentrador = Concentrador; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ConfPreAuthorizationResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ConfPreAuthorizationResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ConfPreAuthorizationResponseBody Body; + + public ConfPreAuthorizationResponse() + { + } + + public ConfPreAuthorizationResponse(SyonOnline.ServiceReference.Komerci.ConfPreAuthorizationResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ConfPreAuthorizationResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement ConfPreAuthorizationResult; + + public ConfPreAuthorizationResponseBody() + { + } + + public ConfPreAuthorizationResponseBody(System.Xml.Linq.XElement ConfPreAuthorizationResult) + { + this.ConfPreAuthorizationResult = ConfPreAuthorizationResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidDebtTransactionRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidDebtTransaction", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidDebtTransactionRequestBody Body; + + public VoidDebtTransactionRequest() + { + } + + public VoidDebtTransactionRequest(SyonOnline.ServiceReference.Komerci.VoidDebtTransactionRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidDebtTransactionRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string NumCV; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string NumAutor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string Concentrador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string Pwd; + + public VoidDebtTransactionRequestBody() + { + } + + public VoidDebtTransactionRequestBody(string Total, string Filiacao, string NumCV, string NumAutor, string Concentrador, string Usr, string Pwd) + { + this.Total = Total; + this.Filiacao = Filiacao; + this.NumCV = NumCV; + this.NumAutor = NumAutor; + this.Concentrador = Concentrador; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidDebtTransactionResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidDebtTransactionResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidDebtTransactionResponseBody Body; + + public VoidDebtTransactionResponse() + { + } + + public VoidDebtTransactionResponse(SyonOnline.ServiceReference.Komerci.VoidDebtTransactionResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidDebtTransactionResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement VoidDebtTransactionResult; + + public VoidDebtTransactionResponseBody() + { + } + + public VoidDebtTransactionResponseBody(System.Xml.Linq.XElement VoidDebtTransactionResult) + { + this.VoidDebtTransactionResult = VoidDebtTransactionResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidTransactionRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidTransaction", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidTransactionRequestBody Body; + + public VoidTransactionRequest() + { + } + + public VoidTransactionRequest(SyonOnline.ServiceReference.Komerci.VoidTransactionRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidTransactionRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string NumCV; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string NumAutor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string Concentrador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string Pwd; + + public VoidTransactionRequestBody() + { + } + + public VoidTransactionRequestBody(string Total, string Filiacao, string NumCV, string NumAutor, string Concentrador, string Usr, string Pwd) + { + this.Total = Total; + this.Filiacao = Filiacao; + this.NumCV = NumCV; + this.NumAutor = NumAutor; + this.Concentrador = Concentrador; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidTransactionResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidTransactionResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidTransactionResponseBody Body; + + public VoidTransactionResponse() + { + } + + public VoidTransactionResponse(SyonOnline.ServiceReference.Komerci.VoidTransactionResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidTransactionResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement VoidTransactionResult; + + public VoidTransactionResponseBody() + { + } + + public VoidTransactionResponseBody(System.Xml.Linq.XElement VoidTransactionResult) + { + this.VoidTransactionResult = VoidTransactionResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidTransactionDistrRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidTransactionDistr", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidTransactionDistrRequestBody Body; + + public VoidTransactionDistrRequest() + { + } + + public VoidTransactionDistrRequest(SyonOnline.ServiceReference.Komerci.VoidTransactionDistrRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidTransactionDistrRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Data; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string NumCV; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string NumAutor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string Concentrador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Pwd; + + public VoidTransactionDistrRequestBody() + { + } + + public VoidTransactionDistrRequestBody(string Total, string Filiacao, string Data, string NumCV, string NumAutor, string Concentrador, string Distribuidor, string Usr, string Pwd) + { + this.Total = Total; + this.Filiacao = Filiacao; + this.Data = Data; + this.NumCV = NumCV; + this.NumAutor = NumAutor; + this.Concentrador = Concentrador; + this.Distribuidor = Distribuidor; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidTransactionDistrResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidTransactionDistrResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidTransactionDistrResponseBody Body; + + public VoidTransactionDistrResponse() + { + } + + public VoidTransactionDistrResponse(SyonOnline.ServiceReference.Komerci.VoidTransactionDistrResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidTransactionDistrResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement VoidTransactionDistrResult; + + public VoidTransactionDistrResponseBody() + { + } + + public VoidTransactionDistrResponseBody(System.Xml.Linq.XElement VoidTransactionDistrResult) + { + this.VoidTransactionDistrResult = VoidTransactionDistrResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidPreAuthorizationRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidPreAuthorization", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidPreAuthorizationRequestBody Body; + + public VoidPreAuthorizationRequest() + { + } + + public VoidPreAuthorizationRequest(SyonOnline.ServiceReference.Komerci.VoidPreAuthorizationRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidPreAuthorizationRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string Data; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string NumAutor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string NumCV; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string Concentrador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Pwd; + + public VoidPreAuthorizationRequestBody() + { + } + + public VoidPreAuthorizationRequestBody(string Filiacao, string Distribuidor, string Total, string Data, string NumAutor, string NumCV, string Concentrador, string Usr, string Pwd) + { + this.Filiacao = Filiacao; + this.Distribuidor = Distribuidor; + this.Total = Total; + this.Data = Data; + this.NumAutor = NumAutor; + this.NumCV = NumCV; + this.Concentrador = Concentrador; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidPreAuthorizationResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidPreAuthorizationResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidPreAuthorizationResponseBody Body; + + public VoidPreAuthorizationResponse() + { + } + + public VoidPreAuthorizationResponse(SyonOnline.ServiceReference.Komerci.VoidPreAuthorizationResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidPreAuthorizationResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement VoidPreAuthorizationResult; + + public VoidPreAuthorizationResponseBody() + { + } + + public VoidPreAuthorizationResponseBody(System.Xml.Linq.XElement VoidPreAuthorizationResult) + { + this.VoidPreAuthorizationResult = VoidPreAuthorizationResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidConfPreAuthorizationRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidConfPreAuthorization", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidConfPreAuthorizationRequestBody Body; + + public VoidConfPreAuthorizationRequest() + { + } + + public VoidConfPreAuthorizationRequest(SyonOnline.ServiceReference.Komerci.VoidConfPreAuthorizationRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidConfPreAuthorizationRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Data; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string NumAutor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string NumCV; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string Concentrador; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Pwd; + + public VoidConfPreAuthorizationRequestBody() + { + } + + public VoidConfPreAuthorizationRequestBody(string Filiacao, string Total, string Data, string NumAutor, string NumCV, string Concentrador, string Usr, string Pwd) + { + this.Filiacao = Filiacao; + this.Total = Total; + this.Data = Data; + this.NumAutor = NumAutor; + this.NumCV = NumCV; + this.Concentrador = Concentrador; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class VoidConfPreAuthorizationResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="VoidConfPreAuthorizationResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.VoidConfPreAuthorizationResponseBody Body; + + public VoidConfPreAuthorizationResponse() + { + } + + public VoidConfPreAuthorizationResponse(SyonOnline.ServiceReference.Komerci.VoidConfPreAuthorizationResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class VoidConfPreAuthorizationResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement VoidConfPreAuthorizationResult; + + public VoidConfPreAuthorizationResponseBody() + { + } + + public VoidConfPreAuthorizationResponseBody(System.Xml.Linq.XElement VoidConfPreAuthorizationResult) + { + this.VoidConfPreAuthorizationResult = VoidConfPreAuthorizationResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class CouncilReportRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="CouncilReport", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.CouncilReportRequestBody Body; + + public CouncilReportRequest() + { + } + + public CouncilReportRequest(SyonOnline.ServiceReference.Komerci.CouncilReportRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class CouncilReportRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Data_Inicial; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string Data_Final; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string Tipo_Trx; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string Status_Trx; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string Servico_AVS; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Programa; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=9)] + public string Pwd; + + public CouncilReportRequestBody() + { + } + + public CouncilReportRequestBody(string Filiacao, string Distribuidor, string Data_Inicial, string Data_Final, string Tipo_Trx, string Status_Trx, string Servico_AVS, string Programa, string Usr, string Pwd) + { + this.Filiacao = Filiacao; + this.Distribuidor = Distribuidor; + this.Data_Inicial = Data_Inicial; + this.Data_Final = Data_Final; + this.Tipo_Trx = Tipo_Trx; + this.Status_Trx = Status_Trx; + this.Servico_AVS = Servico_AVS; + this.Programa = Programa; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class CouncilReportResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="CouncilReportResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.CouncilReportResponseBody Body; + + public CouncilReportResponse() + { + } + + public CouncilReportResponse(SyonOnline.ServiceReference.Komerci.CouncilReportResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class CouncilReportResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement CouncilReportResult; + + public CouncilReportResponseBody() + { + } + + public CouncilReportResponseBody(System.Xml.Linq.XElement CouncilReportResult) + { + this.CouncilReportResult = CouncilReportResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ConsFornDistribRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ConsFornDistrib", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ConsFornDistribRequestBody Body; + + public ConsFornDistribRequest() + { + } + + public ConsFornDistribRequest(SyonOnline.ServiceReference.Komerci.ConsFornDistribRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ConsFornDistribRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Pwd; + + public ConsFornDistribRequestBody() + { + } + + public ConsFornDistribRequestBody(string Filiacao, string Usr, string Pwd) + { + this.Filiacao = Filiacao; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ConsFornDistribResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ConsFornDistribResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ConsFornDistribResponseBody Body; + + public ConsFornDistribResponse() + { + } + + public ConsFornDistribResponse(SyonOnline.ServiceReference.Komerci.ConsFornDistribResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ConsFornDistribResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement ConsFornDistribResult; + + public ConsFornDistribResponseBody() + { + } + + public ConsFornDistribResponseBody(System.Xml.Linq.XElement ConsFornDistribResult) + { + this.ConsFornDistribResult = ConsFornDistribResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class SalesSummRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="SalesSumm", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.SalesSummRequestBody Body; + + public SalesSummRequest() + { + } + + public SalesSummRequest(SyonOnline.ServiceReference.Komerci.SalesSummRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class SalesSummRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Pwd; + + public SalesSummRequestBody() + { + } + + public SalesSummRequestBody(string Filiacao, string Usr, string Pwd) + { + this.Filiacao = Filiacao; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class SalesSummResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="SalesSummResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.SalesSummResponseBody Body; + + public SalesSummResponse() + { + } + + public SalesSummResponse(SyonOnline.ServiceReference.Komerci.SalesSummResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class SalesSummResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement SalesSummResult; + + public SalesSummResponseBody() + { + } + + public SalesSummResponseBody(System.Xml.Linq.XElement SalesSummResult) + { + this.SalesSummResult = SalesSummResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ReversalTxnRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ReversalTxn", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ReversalTxnRequestBody Body; + + public ReversalTxnRequest() + { + } + + public ReversalTxnRequest(SyonOnline.ServiceReference.Komerci.ReversalTxnRequestBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ReversalTxnRequestBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public string Filiacao; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] + public string Distribuidor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] + public string Total; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] + public string Data; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)] + public string NumAutor; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)] + public string NumSqn; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)] + public string NumPedido; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)] + public string Parcelas; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)] + public string Usr; + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=9)] + public string Pwd; + + public ReversalTxnRequestBody() + { + } + + public ReversalTxnRequestBody(string Filiacao, string Distribuidor, string Total, string Data, string NumAutor, string NumSqn, string NumPedido, string Parcelas, string Usr, string Pwd) + { + this.Filiacao = Filiacao; + this.Distribuidor = Distribuidor; + this.Total = Total; + this.Data = Data; + this.NumAutor = NumAutor; + this.NumSqn = NumSqn; + this.NumPedido = NumPedido; + this.Parcelas = Parcelas; + this.Usr = Usr; + this.Pwd = Pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ReversalTxnResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Name="ReversalTxnResponse", Namespace="http://ecommerce.redecard.com.br", Order=0)] + public SyonOnline.ServiceReference.Komerci.ReversalTxnResponseBody Body; + + public ReversalTxnResponse() + { + } + + public ReversalTxnResponse(SyonOnline.ServiceReference.Komerci.ReversalTxnResponseBody Body) + { + this.Body = Body; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.Runtime.Serialization.DataContractAttribute(Namespace="http://ecommerce.redecard.com.br")] + public partial class ReversalTxnResponseBody + { + + [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] + public System.Xml.Linq.XElement ReversalTxnResult; + + public ReversalTxnResponseBody() + { + } + + public ReversalTxnResponseBody(System.Xml.Linq.XElement ReversalTxnResult) + { + this.ReversalTxnResult = ReversalTxnResult; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + public interface komerci_captureSoapChannel : SyonOnline.ServiceReference.Komerci.komerci_captureSoap, System.ServiceModel.IClientChannel + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "0.5.0.0")] + public partial class komerci_captureSoapClient : System.ServiceModel.ClientBase, SyonOnline.ServiceReference.Komerci.komerci_captureSoap + { + + /// + /// Implement this partial method to configure the service endpoint. + /// + /// The endpoint to configure + /// The client credentials + static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); + + public komerci_captureSoapClient(EndpointConfiguration endpointConfiguration) : + base(komerci_captureSoapClient.GetBindingForEndpoint(endpointConfiguration), komerci_captureSoapClient.GetEndpointAddress(endpointConfiguration)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public komerci_captureSoapClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : + base(komerci_captureSoapClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public komerci_captureSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : + base(komerci_captureSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public komerci_captureSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.GetAuthorized_ADAsync(SyonOnline.ServiceReference.Komerci.GetAuthorized_ADRequest request) + { + return base.Channel.GetAuthorized_ADAsync(request); + } + + public System.Threading.Tasks.Task GetAuthorized_ADAsync( + string Total, + string Transacao, + string Parcelas, + string Filiacao, + string NumPedido, + string Nrcartao, + string CVC2, + string Mes, + string Ano, + string Portador, + string IATA, + string Distribuidor, + string Concentrador, + string TaxaEmbarque, + string Entrada, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4, + string Add_Data) + { + SyonOnline.ServiceReference.Komerci.GetAuthorized_ADRequest inValue = new SyonOnline.ServiceReference.Komerci.GetAuthorized_ADRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.GetAuthorized_ADRequestBody(); + inValue.Body.Total = Total; + inValue.Body.Transacao = Transacao; + inValue.Body.Parcelas = Parcelas; + inValue.Body.Filiacao = Filiacao; + inValue.Body.NumPedido = NumPedido; + inValue.Body.Nrcartao = Nrcartao; + inValue.Body.CVC2 = CVC2; + inValue.Body.Mes = Mes; + inValue.Body.Ano = Ano; + inValue.Body.Portador = Portador; + inValue.Body.IATA = IATA; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.Concentrador = Concentrador; + inValue.Body.TaxaEmbarque = TaxaEmbarque; + inValue.Body.Entrada = Entrada; + inValue.Body.Pax1 = Pax1; + inValue.Body.Pax2 = Pax2; + inValue.Body.Pax3 = Pax3; + inValue.Body.Pax4 = Pax4; + inValue.Body.Numdoc1 = Numdoc1; + inValue.Body.Numdoc2 = Numdoc2; + inValue.Body.Numdoc3 = Numdoc3; + inValue.Body.Numdoc4 = Numdoc4; + inValue.Body.Add_Data = Add_Data; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).GetAuthorized_ADAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.GetAuthorizedAsync(SyonOnline.ServiceReference.Komerci.GetAuthorizedRequest request) + { + return base.Channel.GetAuthorizedAsync(request); + } + + public System.Threading.Tasks.Task GetAuthorizedAsync( + string Total, + string Transacao, + string Parcelas, + string Filiacao, + string NumPedido, + string Nrcartao, + string CVC2, + string Mes, + string Ano, + string Portador, + string IATA, + string Distribuidor, + string Concentrador, + string TaxaEmbarque, + string Entrada, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4, + string ConfTxn, + string Add_Data) + { + SyonOnline.ServiceReference.Komerci.GetAuthorizedRequest inValue = new SyonOnline.ServiceReference.Komerci.GetAuthorizedRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.GetAuthorizedRequestBody(); + inValue.Body.Total = Total; + inValue.Body.Transacao = Transacao; + inValue.Body.Parcelas = Parcelas; + inValue.Body.Filiacao = Filiacao; + inValue.Body.NumPedido = NumPedido; + inValue.Body.Nrcartao = Nrcartao; + inValue.Body.CVC2 = CVC2; + inValue.Body.Mes = Mes; + inValue.Body.Ano = Ano; + inValue.Body.Portador = Portador; + inValue.Body.IATA = IATA; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.Concentrador = Concentrador; + inValue.Body.TaxaEmbarque = TaxaEmbarque; + inValue.Body.Entrada = Entrada; + inValue.Body.Pax1 = Pax1; + inValue.Body.Pax2 = Pax2; + inValue.Body.Pax3 = Pax3; + inValue.Body.Pax4 = Pax4; + inValue.Body.Numdoc1 = Numdoc1; + inValue.Body.Numdoc2 = Numdoc2; + inValue.Body.Numdoc3 = Numdoc3; + inValue.Body.Numdoc4 = Numdoc4; + inValue.Body.ConfTxn = ConfTxn; + inValue.Body.Add_Data = Add_Data; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).GetAuthorizedAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.GetAuthorizedAVSAsync(SyonOnline.ServiceReference.Komerci.GetAuthorizedAVSRequest request) + { + return base.Channel.GetAuthorizedAVSAsync(request); + } + + public System.Threading.Tasks.Task GetAuthorizedAVSAsync( + string Total, + string Transacao, + string Parcelas, + string Filiacao, + string NumPedido, + string Nrcartao, + string CVC2, + string Mes, + string Ano, + string Portador, + string CPF, + string Endereco, + string Num1, + string Complemento, + string Cep1, + string Cep2, + string IATA, + string Distribuidor, + string Concentrador, + string TaxaEmbarque, + string Entrada, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4) + { + SyonOnline.ServiceReference.Komerci.GetAuthorizedAVSRequest inValue = new SyonOnline.ServiceReference.Komerci.GetAuthorizedAVSRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.GetAuthorizedAVSRequestBody(); + inValue.Body.Total = Total; + inValue.Body.Transacao = Transacao; + inValue.Body.Parcelas = Parcelas; + inValue.Body.Filiacao = Filiacao; + inValue.Body.NumPedido = NumPedido; + inValue.Body.Nrcartao = Nrcartao; + inValue.Body.CVC2 = CVC2; + inValue.Body.Mes = Mes; + inValue.Body.Ano = Ano; + inValue.Body.Portador = Portador; + inValue.Body.CPF = CPF; + inValue.Body.Endereco = Endereco; + inValue.Body.Num1 = Num1; + inValue.Body.Complemento = Complemento; + inValue.Body.Cep1 = Cep1; + inValue.Body.Cep2 = Cep2; + inValue.Body.IATA = IATA; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.Concentrador = Concentrador; + inValue.Body.TaxaEmbarque = TaxaEmbarque; + inValue.Body.Entrada = Entrada; + inValue.Body.Pax1 = Pax1; + inValue.Body.Pax2 = Pax2; + inValue.Body.Pax3 = Pax3; + inValue.Body.Pax4 = Pax4; + inValue.Body.Numdoc1 = Numdoc1; + inValue.Body.Numdoc2 = Numdoc2; + inValue.Body.Numdoc3 = Numdoc3; + inValue.Body.Numdoc4 = Numdoc4; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).GetAuthorizedAVSAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.ConfirmTxn_ADAsync(SyonOnline.ServiceReference.Komerci.ConfirmTxn_ADRequest request) + { + return base.Channel.ConfirmTxn_ADAsync(request); + } + + public System.Threading.Tasks.Task ConfirmTxn_ADAsync( + string Data, + string NumSqn, + string NumCV, + string NumAutor, + string Parcelas, + string TransOrig, + string Total, + string Filiacao, + string Distribuidor, + string NumPedido, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4, + string Cod_Banco, + string Origem_Bin, + string AddData) + { + SyonOnline.ServiceReference.Komerci.ConfirmTxn_ADRequest inValue = new SyonOnline.ServiceReference.Komerci.ConfirmTxn_ADRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.ConfirmTxn_ADRequestBody(); + inValue.Body.Data = Data; + inValue.Body.NumSqn = NumSqn; + inValue.Body.NumCV = NumCV; + inValue.Body.NumAutor = NumAutor; + inValue.Body.Parcelas = Parcelas; + inValue.Body.TransOrig = TransOrig; + inValue.Body.Total = Total; + inValue.Body.Filiacao = Filiacao; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.NumPedido = NumPedido; + inValue.Body.Pax1 = Pax1; + inValue.Body.Pax2 = Pax2; + inValue.Body.Pax3 = Pax3; + inValue.Body.Pax4 = Pax4; + inValue.Body.Numdoc1 = Numdoc1; + inValue.Body.Numdoc2 = Numdoc2; + inValue.Body.Numdoc3 = Numdoc3; + inValue.Body.Numdoc4 = Numdoc4; + inValue.Body.Cod_Banco = Cod_Banco; + inValue.Body.Origem_Bin = Origem_Bin; + inValue.Body.AddData = AddData; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).ConfirmTxn_ADAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.ConfirmTxnAsync(SyonOnline.ServiceReference.Komerci.ConfirmTxnRequest request) + { + return base.Channel.ConfirmTxnAsync(request); + } + + public System.Threading.Tasks.Task ConfirmTxnAsync( + string Data, + string NumSqn, + string NumCV, + string NumAutor, + string Parcelas, + string TransOrig, + string Total, + string Filiacao, + string Distribuidor, + string NumPedido, + string Pax1, + string Pax2, + string Pax3, + string Pax4, + string Numdoc1, + string Numdoc2, + string Numdoc3, + string Numdoc4, + string AddData) + { + SyonOnline.ServiceReference.Komerci.ConfirmTxnRequest inValue = new SyonOnline.ServiceReference.Komerci.ConfirmTxnRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.ConfirmTxnRequestBody(); + inValue.Body.Data = Data; + inValue.Body.NumSqn = NumSqn; + inValue.Body.NumCV = NumCV; + inValue.Body.NumAutor = NumAutor; + inValue.Body.Parcelas = Parcelas; + inValue.Body.TransOrig = TransOrig; + inValue.Body.Total = Total; + inValue.Body.Filiacao = Filiacao; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.NumPedido = NumPedido; + inValue.Body.Pax1 = Pax1; + inValue.Body.Pax2 = Pax2; + inValue.Body.Pax3 = Pax3; + inValue.Body.Pax4 = Pax4; + inValue.Body.Numdoc1 = Numdoc1; + inValue.Body.Numdoc2 = Numdoc2; + inValue.Body.Numdoc3 = Numdoc3; + inValue.Body.Numdoc4 = Numdoc4; + inValue.Body.AddData = AddData; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).ConfirmTxnAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.ConfPreAuthorizationAsync(SyonOnline.ServiceReference.Komerci.ConfPreAuthorizationRequest request) + { + return base.Channel.ConfPreAuthorizationAsync(request); + } + + public System.Threading.Tasks.Task ConfPreAuthorizationAsync(string Filiacao, string Distribuidor, string Total, string Parcelas, string Data, string NumAutor, string NumCV, string Concentrador, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.ConfPreAuthorizationRequest inValue = new SyonOnline.ServiceReference.Komerci.ConfPreAuthorizationRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.ConfPreAuthorizationRequestBody(); + inValue.Body.Filiacao = Filiacao; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.Total = Total; + inValue.Body.Parcelas = Parcelas; + inValue.Body.Data = Data; + inValue.Body.NumAutor = NumAutor; + inValue.Body.NumCV = NumCV; + inValue.Body.Concentrador = Concentrador; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).ConfPreAuthorizationAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.VoidDebtTransactionAsync(SyonOnline.ServiceReference.Komerci.VoidDebtTransactionRequest request) + { + return base.Channel.VoidDebtTransactionAsync(request); + } + + public System.Threading.Tasks.Task VoidDebtTransactionAsync(string Total, string Filiacao, string NumCV, string NumAutor, string Concentrador, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.VoidDebtTransactionRequest inValue = new SyonOnline.ServiceReference.Komerci.VoidDebtTransactionRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.VoidDebtTransactionRequestBody(); + inValue.Body.Total = Total; + inValue.Body.Filiacao = Filiacao; + inValue.Body.NumCV = NumCV; + inValue.Body.NumAutor = NumAutor; + inValue.Body.Concentrador = Concentrador; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).VoidDebtTransactionAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.VoidTransactionAsync(SyonOnline.ServiceReference.Komerci.VoidTransactionRequest request) + { + return base.Channel.VoidTransactionAsync(request); + } + + public System.Threading.Tasks.Task VoidTransactionAsync(string Total, string Filiacao, string NumCV, string NumAutor, string Concentrador, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.VoidTransactionRequest inValue = new SyonOnline.ServiceReference.Komerci.VoidTransactionRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.VoidTransactionRequestBody(); + inValue.Body.Total = Total; + inValue.Body.Filiacao = Filiacao; + inValue.Body.NumCV = NumCV; + inValue.Body.NumAutor = NumAutor; + inValue.Body.Concentrador = Concentrador; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).VoidTransactionAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.VoidTransactionDistrAsync(SyonOnline.ServiceReference.Komerci.VoidTransactionDistrRequest request) + { + return base.Channel.VoidTransactionDistrAsync(request); + } + + public System.Threading.Tasks.Task VoidTransactionDistrAsync(string Total, string Filiacao, string Data, string NumCV, string NumAutor, string Concentrador, string Distribuidor, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.VoidTransactionDistrRequest inValue = new SyonOnline.ServiceReference.Komerci.VoidTransactionDistrRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.VoidTransactionDistrRequestBody(); + inValue.Body.Total = Total; + inValue.Body.Filiacao = Filiacao; + inValue.Body.Data = Data; + inValue.Body.NumCV = NumCV; + inValue.Body.NumAutor = NumAutor; + inValue.Body.Concentrador = Concentrador; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).VoidTransactionDistrAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.VoidPreAuthorizationAsync(SyonOnline.ServiceReference.Komerci.VoidPreAuthorizationRequest request) + { + return base.Channel.VoidPreAuthorizationAsync(request); + } + + public System.Threading.Tasks.Task VoidPreAuthorizationAsync(string Filiacao, string Distribuidor, string Total, string Data, string NumAutor, string NumCV, string Concentrador, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.VoidPreAuthorizationRequest inValue = new SyonOnline.ServiceReference.Komerci.VoidPreAuthorizationRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.VoidPreAuthorizationRequestBody(); + inValue.Body.Filiacao = Filiacao; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.Total = Total; + inValue.Body.Data = Data; + inValue.Body.NumAutor = NumAutor; + inValue.Body.NumCV = NumCV; + inValue.Body.Concentrador = Concentrador; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).VoidPreAuthorizationAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.VoidConfPreAuthorizationAsync(SyonOnline.ServiceReference.Komerci.VoidConfPreAuthorizationRequest request) + { + return base.Channel.VoidConfPreAuthorizationAsync(request); + } + + public System.Threading.Tasks.Task VoidConfPreAuthorizationAsync(string Filiacao, string Total, string Data, string NumAutor, string NumCV, string Concentrador, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.VoidConfPreAuthorizationRequest inValue = new SyonOnline.ServiceReference.Komerci.VoidConfPreAuthorizationRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.VoidConfPreAuthorizationRequestBody(); + inValue.Body.Filiacao = Filiacao; + inValue.Body.Total = Total; + inValue.Body.Data = Data; + inValue.Body.NumAutor = NumAutor; + inValue.Body.NumCV = NumCV; + inValue.Body.Concentrador = Concentrador; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).VoidConfPreAuthorizationAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.CouncilReportAsync(SyonOnline.ServiceReference.Komerci.CouncilReportRequest request) + { + return base.Channel.CouncilReportAsync(request); + } + + public System.Threading.Tasks.Task CouncilReportAsync(string Filiacao, string Distribuidor, string Data_Inicial, string Data_Final, string Tipo_Trx, string Status_Trx, string Servico_AVS, string Programa, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.CouncilReportRequest inValue = new SyonOnline.ServiceReference.Komerci.CouncilReportRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.CouncilReportRequestBody(); + inValue.Body.Filiacao = Filiacao; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.Data_Inicial = Data_Inicial; + inValue.Body.Data_Final = Data_Final; + inValue.Body.Tipo_Trx = Tipo_Trx; + inValue.Body.Status_Trx = Status_Trx; + inValue.Body.Servico_AVS = Servico_AVS; + inValue.Body.Programa = Programa; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).CouncilReportAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.ConsFornDistribAsync(SyonOnline.ServiceReference.Komerci.ConsFornDistribRequest request) + { + return base.Channel.ConsFornDistribAsync(request); + } + + public System.Threading.Tasks.Task ConsFornDistribAsync(string Filiacao, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.ConsFornDistribRequest inValue = new SyonOnline.ServiceReference.Komerci.ConsFornDistribRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.ConsFornDistribRequestBody(); + inValue.Body.Filiacao = Filiacao; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).ConsFornDistribAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.SalesSummAsync(SyonOnline.ServiceReference.Komerci.SalesSummRequest request) + { + return base.Channel.SalesSummAsync(request); + } + + public System.Threading.Tasks.Task SalesSummAsync(string Filiacao, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.SalesSummRequest inValue = new SyonOnline.ServiceReference.Komerci.SalesSummRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.SalesSummRequestBody(); + inValue.Body.Filiacao = Filiacao; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).SalesSummAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task SyonOnline.ServiceReference.Komerci.komerci_captureSoap.ReversalTxnAsync(SyonOnline.ServiceReference.Komerci.ReversalTxnRequest request) + { + return base.Channel.ReversalTxnAsync(request); + } + + public System.Threading.Tasks.Task ReversalTxnAsync(string Filiacao, string Distribuidor, string Total, string Data, string NumAutor, string NumSqn, string NumPedido, string Parcelas, string Usr, string Pwd) + { + SyonOnline.ServiceReference.Komerci.ReversalTxnRequest inValue = new SyonOnline.ServiceReference.Komerci.ReversalTxnRequest(); + inValue.Body = new SyonOnline.ServiceReference.Komerci.ReversalTxnRequestBody(); + inValue.Body.Filiacao = Filiacao; + inValue.Body.Distribuidor = Distribuidor; + inValue.Body.Total = Total; + inValue.Body.Data = Data; + inValue.Body.NumAutor = NumAutor; + inValue.Body.NumSqn = NumSqn; + inValue.Body.NumPedido = NumPedido; + inValue.Body.Parcelas = Parcelas; + inValue.Body.Usr = Usr; + inValue.Body.Pwd = Pwd; + return ((SyonOnline.ServiceReference.Komerci.komerci_captureSoap)(this)).ReversalTxnAsync(inValue); + } + + public virtual System.Threading.Tasks.Task OpenAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); + } + + public virtual System.Threading.Tasks.Task CloseAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); + } + + private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.komerci_captureSoap)) + { + System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); + result.MaxBufferSize = int.MaxValue; + result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; + result.MaxReceivedMessageSize = int.MaxValue; + result.AllowCookies = true; + result.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.Transport; + return result; + } + if ((endpointConfiguration == EndpointConfiguration.komerci_captureSoap12)) + { + System.ServiceModel.Channels.CustomBinding result = new System.ServiceModel.Channels.CustomBinding(); + System.ServiceModel.Channels.TextMessageEncodingBindingElement textBindingElement = new System.ServiceModel.Channels.TextMessageEncodingBindingElement(); + textBindingElement.MessageVersion = System.ServiceModel.Channels.MessageVersion.CreateVersion(System.ServiceModel.EnvelopeVersion.Soap12, System.ServiceModel.Channels.AddressingVersion.None); + result.Elements.Add(textBindingElement); + System.ServiceModel.Channels.HttpsTransportBindingElement httpsBindingElement = new System.ServiceModel.Channels.HttpsTransportBindingElement(); + httpsBindingElement.AllowCookies = true; + httpsBindingElement.MaxBufferSize = int.MaxValue; + httpsBindingElement.MaxReceivedMessageSize = int.MaxValue; + result.Elements.Add(httpsBindingElement); + return result; + } + throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); + } + + private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.komerci_captureSoap)) + { + return new System.ServiceModel.EndpointAddress("https://ecommerce.userede.com.br/pos_virtual/wsKomerci/cap.asmx"); + } + if ((endpointConfiguration == EndpointConfiguration.komerci_captureSoap12)) + { + return new System.ServiceModel.EndpointAddress("https://ecommerce.userede.com.br/pos_virtual/wsKomerci/cap.asmx"); + } + throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); + } + + public enum EndpointConfiguration + { + + komerci_captureSoap, + + komerci_captureSoap12, + } + } +} diff --git a/ServiceReference/SyonOnline.ServiceReference.csproj b/ServiceReference/SyonOnline.ServiceReference.csproj new file mode 100644 index 0000000..1455fd5 --- /dev/null +++ b/ServiceReference/SyonOnline.ServiceReference.csproj @@ -0,0 +1,19 @@ + + + + netcoreapp1.1 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SyonOnline.sln b/SyonOnline.sln new file mode 100644 index 0000000..1a6933c --- /dev/null +++ b/SyonOnline.sln @@ -0,0 +1,59 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26430.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SyonOnline.ServiceReference", "ServiceReference\SyonOnline.ServiceReference.csproj", "{180E9434-69AB-4D7F-BA67-7BCF2C683B62}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SyonOnline.WebApi", "WebApi\SyonOnline.WebApi.csproj", "{D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}" +EndProject +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "View", "View\", "{157073D7-3250-4B0F-B1F7-921A442DE6C3}" + ProjectSection(WebsiteProperties) = preProject + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" + Debug.AspNetCompiler.VirtualPath = "/localhost_63333" + Debug.AspNetCompiler.PhysicalPath = "View\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_63333\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_63333" + Release.AspNetCompiler.PhysicalPath = "View\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_63333\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + VWDPort = "63333" + SlnRelativePath = "View\" + EndProjectSection +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SyonOnline.Test", "Test\SyonOnline.Test.csproj", "{42EEA3A0-4305-4E3C-BED5-55F2BA31A7FF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {180E9434-69AB-4D7F-BA67-7BCF2C683B62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {180E9434-69AB-4D7F-BA67-7BCF2C683B62}.Debug|Any CPU.Build.0 = Debug|Any CPU + {180E9434-69AB-4D7F-BA67-7BCF2C683B62}.Release|Any CPU.ActiveCfg = Release|Any CPU + {180E9434-69AB-4D7F-BA67-7BCF2C683B62}.Release|Any CPU.Build.0 = Release|Any CPU + {D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}.Release|Any CPU.Build.0 = Release|Any CPU + {157073D7-3250-4B0F-B1F7-921A442DE6C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {157073D7-3250-4B0F-B1F7-921A442DE6C3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {157073D7-3250-4B0F-B1F7-921A442DE6C3}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {157073D7-3250-4B0F-B1F7-921A442DE6C3}.Release|Any CPU.Build.0 = Debug|Any CPU + {42EEA3A0-4305-4E3C-BED5-55F2BA31A7FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {42EEA3A0-4305-4E3C-BED5-55F2BA31A7FF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {42EEA3A0-4305-4E3C-BED5-55F2BA31A7FF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {42EEA3A0-4305-4E3C-BED5-55F2BA31A7FF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Test/Adquirencia/ServiceTest.cs b/Test/Adquirencia/ServiceTest.cs new file mode 100644 index 0000000..2a157dd --- /dev/null +++ b/Test/Adquirencia/ServiceTest.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Xunit; +using SyonOnline.ServiceReference.Adquirencia; + + +namespace SyonOnline.Test.Adquirencia +{ + public class ServiceTest + { + //[TestCaseSource(typeof(MockGetAuthorizedCredit), Constant.MOCK)] + [Fact] + public async void GetAuthorizedCredit_CallEmptyParameter_ReturnMessenge() + { + //Arrange + + ////Act + var result = await new KomerciWcfClient().GetAuthorizedCreditAsync(new GetAuthorizedCredit()); + + ////Assert + Assert.True(result != null); + } + } +} diff --git a/Test/AdquirenciaV2/ServiceTest.cs b/Test/AdquirenciaV2/ServiceTest.cs new file mode 100644 index 0000000..df29461 --- /dev/null +++ b/Test/AdquirenciaV2/ServiceTest.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Xunit; +using SyonOnline.ServiceReference.AdquirenciaV2; + + +namespace SyonOnline.Test.AdquirenciaV2 +{ + public class ServiceTest + { + //[TestCaseSource(typeof(MockGetAuthorizedCredit), Constant.MOCK)] + [Fact] + public async void GetAuthorizedCredit_CallEmptyParameter_ReturnMessenge() + { + //Arrange + + ////Act + var result = await new KomerciWcfClient().GetAuthorizedCreditAsync(new GetAuthorizedCredit()); + + ////Assert + Assert.True(result != null); + } + } +} diff --git a/Test/Komerci/ServiceTest.cs b/Test/Komerci/ServiceTest.cs new file mode 100644 index 0000000..fd8e2d5 --- /dev/null +++ b/Test/Komerci/ServiceTest.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Xunit; +using SyonOnline.ServiceReference.Komerci; + + +namespace SyonOnline.Test.Komerci +{ + public class ServiceTest + { + //[TestCaseSource(typeof(MockGetAuthorizedCredit), Constant.MOCK)] + //[Fact] + //public async void GetAuthorizedCredit_CallEmptyParameter_ReturnMessenge() + //{ + // //Arrange + // SyonOnline.ServiceReference.Komerci. + // ////Act + // var result = await new komerci_captureSoapClient().GetAuthorizedAsync(); + + // ////Assert + // Assert.True(result != null); + //} + } +} diff --git a/Test/SyonOnline.Test.csproj b/Test/SyonOnline.Test.csproj new file mode 100644 index 0000000..2805810 --- /dev/null +++ b/Test/SyonOnline.Test.csproj @@ -0,0 +1,21 @@ + + + + netcoreapp1.1 + + + + + + + + + + + + + + + + + diff --git a/Test/UnitTest1.cs b/Test/UnitTest1.cs new file mode 100644 index 0000000..0b46e23 --- /dev/null +++ b/Test/UnitTest1.cs @@ -0,0 +1,13 @@ +using System; +using Xunit; + +namespace SyonOnline.Test +{ + public class UnitTest1 + { + [Fact] + public void Test1() + { + } + } +} diff --git a/View/packages.config b/View/packages.config new file mode 100644 index 0000000..a415293 --- /dev/null +++ b/View/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/WebApi/WebApi.csproj b/WebApi/SyonOnline.WebApi.csproj similarity index 100% rename from WebApi/WebApi.csproj rename to WebApi/SyonOnline.WebApi.csproj diff --git a/WebApi/WebApi.sln b/WebApi/WebApi.sln new file mode 100644 index 0000000..0804f67 --- /dev/null +++ b/WebApi/WebApi.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26430.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebApi", "WebApi.csproj", "{D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D0D8FFE9-C6AE-4B9A-8FD5-695A66A4A863}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal