protected RaveRequestBase(raveConfig config) { Config = config; HttpClient = new HttpClient() { BaseAddress = Config.IsLive ? new Uri(Rave.config.Const.LiveUrl) : new Uri(Rave.config.Const.SanboxUrl) }; HttpClient.DefaultRequestHeaders.Accept.Clear(); HttpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); }
public RaveCardCharge(raveConfig conf) : base(conf) { }
internal ChargeBase(raveConfig conf) { Config = conf; RaveApiRequest = new RaveRequest <T1, T2>(conf); PayDataEncrypt = new DataEncryption(); }