using System.Collections.Generic; namespace Retailcrm.Versions.V4 { using ParentClass = V3.Client; /// /// V4 Client /// public partial class Client : ParentClass { /// /// V4 Client Constructor /// /// /// /// public Client(string url, string key, string site = "") : base(url, key, site) { if ("/" != url.Substring(url.Length - 1, 1)) { url += "/"; } url += "api/v4"; Request = new Request(url, new Dictionary { { "apiKey", key } }); SiteCode = site; } } }