public Api(Client client) { this._client = client; this._user = new User(this); this._merchants = new Merchant(this); this._invoices = new Invoices(this); this._accounts = new Accounts(this); }
public Api(Client client) { this._client = client; this._user = new User(this); this._merchants = new Merchant(this); this._invoices = new Invoices(this); this._accounts = new Accounts(this); this.Baseapiurl = client.request_client(client.secure) + "://" + client.host.Trim('/') + "/" + client.path.Trim('/') + "/" + client.api_version.Trim('/') + "/"; this.BaseapiSecureUrl = this.Baseapiurl.Replace("http://", "https://"); }
// Todo: Searialize type T to Json private string SerializeJson(Accounts obj) { return(JsonConvert.SerializeObject(obj)); }
// Todo: Searialize type T to Json private string SerializeJson(Accounts obj) { return JsonConvert.SerializeObject(obj); }