public static async Task <IPOS> CreatePosAsync(PosOptions options)
        {
            var connectionhandler = new SoapProxyConnectionHandler <IPOS>(options);

            if (options.RetryPolicyOptions != null)
            {
                var retryPolicyHelper = new RetryPolicyHandler <IPOS>(options.RetryPolicyOptions, connectionhandler);
                return(new PosRetryProxyClient(retryPolicyHelper));
            }
            else
            {
                return(await connectionhandler.GetProxyAsync());
            }
        }
        public static async Task <IDESSCD> CreateSSCDAsync(SoapClientOptions options)
        {
            var connectionhandler = new SoapProxyConnectionHandler <IDESSCD>(options);

            if (options.RetryPolicyOptions != null)
            {
                var retryPolicyHelper = new RetryPolicyHandler <IDESSCD>(options.RetryPolicyOptions, connectionhandler);
                return(new DESSCDRetryProxyClient(retryPolicyHelper));
            }
            else
            {
                return(await connectionhandler.GetProxyAsync());
            }
        }