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

            this._appCredentials = appCredentials;
            this._config         = config;
        }
Exemple #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));
 }
Exemple #5
0
 public WooCommerceProductsService(WooCommerceConfig config, Throttler throttler)
     : base(config, throttler)
 {
     _serviceUrl = base.WCObject.ProductApiUrl;
 }