SavePurchase() 공개 정적인 메소드

public static SavePurchase ( object>.Dictionary dict ) : void
dict object>.Dictionary
리턴 void
예제 #1
0
 public void ChooseItem(Dictionary <string, object> items)
 {
     Logger.Log("Choose item request");
     TransactionHelper.SavePurchase(items);
     result = new XsollaResult(new Dictionary <string, object>(items));
     currentPurchase.Remove(ActivePurchase.Part.PID);
     currentPurchase.Remove(ActivePurchase.Part.XPS);
     FillPurchase(ActivePurchase.Part.ITEM, items);
     TryPay();
 }
예제 #2
0
 public void ChooseItem(Dictionary <string, object> items, bool isVirtualPayment)
 {
     Logger.Log("Choose item request");
     if (isSimple)
     {
         TransactionHelper.SavePurchase(items);
     }
     result = new XsollaResult(new Dictionary <string, object>(items));
     currentPurchase.Remove(ActivePurchase.Part.PID);
     currentPurchase.Remove(ActivePurchase.Part.XPS);
     FillPurchase(ActivePurchase.Part.ITEM, items);
     if (!isVirtualPayment)
     {
         TryPay();
     }
     else
     {
         SetLoading(true);
         Payment.GetVPSummary(currentPurchase.GetMergedMap());
     }
 }