internal Client(Http.IHttpClient client, string baseUrl, string merchantId, string sharedSecret) { _client = client; _baseUrl = baseUrl; _merchantId = merchantId; _sharedSecret = sharedSecret; }
/// <summary> /// Non standard constructor for the OrderClient. Mostly used for testing. /// </summary> /// <param name="client">The HttpClient implementation to use to connect to the remote endpoint.</param> /// <param name="baseUrl">The baseurl for the endpoint to connect to</param> /// <param name="merchantId">The MerchantId that Svea Ekonomi has supplied</param> /// <param name="sharedSecret">The shared secret that Svea Ekonomi has supplied</param> public OrderClient(Http.IHttpClient client, string baseUrl, string merchantId, string sharedSecret) : base(client, baseUrl, merchantId, sharedSecret) { }