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);
        }
 public PushPayClient(PushPayOptions options, OAuthToken token)
 {
     System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12 | System.Net.SecurityProtocolType.Tls11;
     _organizations = new OrganizationSet(options, token);
     _funds         = new FundSet(options, token);
     _merchants     = new MerchantSet(options, token);
     _payments      = new PaymentSet(options, token);
 }