public PriceListsSample(JObject authConfig) { Configuration config = Configuration.Default; config.ApiKey.Add("X-Auth-Token", (string)authConfig["accessToken"]); config.BasePath = config.BasePath.Replace("{$$.env.store_hash}", (string)authConfig["storeId"]); this.priceListsApi = new PriceListsApi(config); }
public void Init() { instance = new PriceListsApi(); }