public static string GetVirtualCurrency(this IPlayFabStore self, string currencyId)
        {
            foreach (var(CurrencyId, VirtualCurrency) in self.CurrencyMap)
            {
                if (CurrencyId == currencyId)
                {
                    return(VirtualCurrency);
                }
            }

            return(null);
        }
        public static string GetCurrencyId(this IPlayFabStore self, string virtualCurrency)
        {
            foreach (var(CurrencyId, VirtualCurrency) in self.CurrencyMap)
            {
                if (VirtualCurrency == virtualCurrency)
                {
                    return(CurrencyId);
                }
            }

            return(null);
        }
        public static string GetProductId(this IPlayFabStore self, string itemId)
        {
            foreach (var(ProductId, ItemId) in self.ProductMap)
            {
                if (ItemId == itemId)
                {
                    return(ProductId);
                }
            }

            return(null);
        }
 public GooglePlayPlayFabStore(IPlayFabStore playFabStore, IGooglePlayStore googlePlayStore)
 {
     PlayFabStore    = playFabStore;
     GooglePlayStore = googlePlayStore;
 }
 public AppStorePlayFabStore(IPlayFabStore playFabStore, IAppStoreStore appStoreStore)
 {
     PlayFabStore  = playFabStore;
     AppStoreStore = appStoreStore;
 }