Пример #1
0
 public BillingProductIOS(IDictionary _productJsonDict)
 {
     Name         = _productJsonDict.GetIfAvailable <string>(kTitle);
     m_productIDs = new PlatformID[]
     {
         PlatformID.IOS(_productJsonDict.GetIfAvailable <string>(kProductID))
     };
     Description    = _productJsonDict.GetIfAvailable <string>(kDescription);
     Price          = _productJsonDict.GetIfAvailable <float>(kPrice);
     LocalizedPrice = _productJsonDict.GetIfAvailable <string>(kLocalizedPrice);
     CurrencyCode   = _productJsonDict.GetIfAvailable <string>(kCurrencyCode);
     CurrencySymbol = _productJsonDict.GetIfAvailable <string>(kCurrencySymbol);
 }
Пример #2
0
        public override void OnEnter()
        {
            NPBinding.Utility.OpenStoreLink(PlatformID.IOS(iosAppID.Value), PlatformID.Android(androidAppID.Value));

            Finish();
        }