public BillingProductAndroid(IDictionary _productJsonDict)
 {
     m_productIDs = new PlatformID[]
     {
         PlatformID.Android(_productJsonDict[kProductIdentifier] as string)
     };
     Name           = _productJsonDict[kName] as string;
     Description    = _productJsonDict[kDescription] as string;
     Price          = _productJsonDict.GetIfAvailable <long>(kPriceAmount) / 1000000.0f;                          //As the value is in microns
     LocalizedPrice = _productJsonDict.GetIfAvailable <string>(kLocalisedPrice);
     CurrencyCode   = _productJsonDict.GetIfAvailable <string>(kPriceCurrencyCode);
     CurrencySymbol = _productJsonDict.GetIfAvailable <string>(kPriceCurrencySymbol);
 }
Beispiel #2
0
        public override void OnEnter()
        {
            NPBinding.Utility.OpenStoreLink(PlatformID.IOS(iosAppID.Value), PlatformID.Android(androidAppID.Value));

            Finish();
        }