Beispiel #1
0
        public StoreInfoSample(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.storeInfoApi = new StoreInformationApi(config);
        }
 public void Init()
 {
     instance = new StoreInformationApi();
 }