示例#1
0
        public WooCommerceAuthenticationService(WooCommerceOAuthAppCredentials appCredentials, WooCommerceConfig config)
        {
            Condition.Requires(appCredentials, "appCredentials").IsNotNull();
            Condition.Requires(config, "config").IsNotNull();

            this._appCredentials = appCredentials;
            this._config         = config;
        }
示例#2
0
 public WooCommerceOrdersService(WooCommerceConfig config, Throttler throttler)
     : base(config, throttler)
 {
     _serviceUrl = base.WCObject.OrdersApiUrl;
 }
 public IWooCommerceProductsService CreateProductsService(WooCommerceConfig config, Throttler throttler)
 {
     return(new WooCommerceProductsService(config, throttler));
 }
 public IWooCommerceSystemStatusService CreateSystemStatusService(WooCommerceConfig config, Throttler throttler)
 {
     return(new WooCommerceSystemStatusService(config, throttler));
 }
示例#5
0
 public WooCommerceProductsService(WooCommerceConfig config, Throttler throttler)
     : base(config, throttler)
 {
     _serviceUrl = base.WCObject.ProductApiUrl;
 }