Esempio n. 1
0
        public TithelyClient(TithelyOptions options)
        {
            System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12 | System.Net.SecurityProtocolType.Tls11;

            _organizationSet = new OrganizationSet(options);
            _accountSet      = new AccountSet(options);
            _chargeSet       = new ChargeSet(options);
        }
 protected BaseApiSet(TithelyOptions options, ContentType contentType = ContentType.JSON)
 {
     _options     = options;
     _baseUrl     = options.ApiUrl;
     _contentType = contentType;
 }