public static Hashtable MNVShopProviderVShopPackBuyRequestItemToDictionary(MNVShopProvider.VShopPackBuyRequestItem srcObject)
        {
            Hashtable result = new Hashtable(2);

              result["Amount"] = srcObject.Amount;
              result["Id"] = srcObject.Id;

              return result;
        }
        public static Hashtable MNVShopProviderVShopPackInfoToDictionary(MNVShopProvider.VShopPackInfo srcObject)
        {
            Hashtable result = new Hashtable(10);

              result["AppParams"] = srcObject.AppParams;
              result["CategoryId"] = srcObject.CategoryId;

              Hashtable[] dictionaryArray = new Hashtable[srcObject.Delivery.Length];

              for (int index = 0;index < srcObject.Delivery.Length;index++) {
            dictionaryArray[index] = MNVShopProviderVShopDeliveryInfoToDictionary(srcObject.Delivery[index]);
              }

              result["Delivery"] = dictionaryArray;
              result["Description"] = srcObject.Description;
              result["Id"] = srcObject.Id;
              result["Model"] = srcObject.Model;
              result["Name"] = srcObject.Name;
              result["PriceItemId"] = srcObject.PriceItemId;
              result["PriceValue"] = srcObject.PriceValue;
              result["SortPos"] = srcObject.SortPos;

              return result;
        }
        public static Hashtable MNVShopProviderVShopCategoryInfoToDictionary(MNVShopProvider.VShopCategoryInfo srcObject)
        {
            Hashtable result = new Hashtable(3);

              result["Id"] = srcObject.Id;
              result["Name"] = srcObject.Name;
              result["SortPos"] = srcObject.SortPos;

              return result;
        }
        public static Hashtable MNVShopProviderVShopDeliveryInfoToDictionary(MNVShopProvider.VShopDeliveryInfo srcObject)
        {
            Hashtable result = new Hashtable(2);

              result["Amount"] = srcObject.Amount;
              result["VItemId"] = srcObject.VItemId;

              return result;
        }
        public static Hashtable MNVShopProviderCheckoutVShopPackSuccessInfoToDictionary(MNVShopProvider.CheckoutVShopPackSuccessInfo srcObject)
        {
            Hashtable result = new Hashtable(1);

              result["Transaction"] = MNVItemsProviderTransactionInfoToDictionary(srcObject.Transaction);

              return result;
        }
        public static Hashtable MNVShopProviderCheckoutVShopPackFailInfoToDictionary(MNVShopProvider.CheckoutVShopPackFailInfo srcObject)
        {
            Hashtable result = new Hashtable(3);

              result["ClientTransactionId"] = srcObject.ClientTransactionId;
              result["ErrorCode"] = srcObject.ErrorCode;
              result["ErrorMessage"] = srcObject.ErrorMessage;

              return result;
        }
 public PPSDemoShopPacksDetailView(MNVShopProvider.VShopPackInfo vShopPackItem)
 {
     viewName = "Shop Packs Detail";
     this.vShopPackItem = vShopPackItem;
 }
 private void OnCheckoutVShopPackFail(MNVShopProvider.CheckoutVShopPackFailInfo result) 
 {
   MNTools.DLog("MNDirectVShopProvider_OnCheckoutVShopPackFail");
   buyFail = true;
   vShopPackFailInfo = result;
 }
 private void OnCheckoutVShopPackSuccess(MNVShopProvider.CheckoutVShopPackSuccessInfo result) 
 {
   MNTools.DLog("MNDirectVShopProvider_OnCheckoutVShopPackSuccess");
   buySuccess = true;
 }