public void RefreshData(SpilUnityImplementationBase Instance)
        {
            string spilGameDataString = Instance.GetSpilGameDataFromSdk();

            if (spilGameDataString != null)
            {
                SpilGameData spilGameData = JsonHelper.getObjectFromJson <SpilGameData>(spilGameDataString);
                if (spilGameData != null)
                {
                    AddDataToHelper(spilGameData.currencies, spilGameData.items, spilGameData.bundles, spilGameData.shop);
                    Debug.Log("Spil GameData Refreshed");
                }
                else
                {
                    Debug.Log("Spil GameData not created, Instance.GetSpilGameDataFromsdk() did not return any data.");
                }
            }
        }
 public void RefreshData(SpilUnityImplementationBase Instance)
 {
     string spilGameDataString = Instance.GetSpilGameDataFromSdk ();
     if (spilGameDataString != null) {
         SpilGameData spilGameData = JsonHelper.getObjectFromJson<SpilGameData> (spilGameDataString);
         if (spilGameData != null) {
             AddDataToHelper (spilGameData.currencies, spilGameData.items, spilGameData.bundles, spilGameData.shop, spilGameData.promotions);
             Debug.Log ("Spil GameData Refreshed");
         } else {
             Debug.Log ("Spil GameData not created, Instance.GetSpilGameDataFromsdk() did not return any data.");
         }
     }
 }