public IParseble Parse(JSONNode purchaseNode)
 {
     if (purchaseNode.Count == 0)
     {
         return(null);
     }
     if (purchaseNode ["virtual_currency"] != null)
     {
         virtualCurrency = new VirtualCurrency().Parse(purchaseNode ["virtual_currency"]) as VirtualCurrency;
     }
     if (purchaseNode ["virtual_items"] != null)
     {
         virtualItems = new VirtualItems().Parse(purchaseNode ["virtual_items"]) as VirtualItems;
     }
     if (purchaseNode ["subscription"] != null)
     {
         subscription = new Subscription().Parse(purchaseNode ["subscription"]) as Subscription;
     }
     if (purchaseNode ["payment_system"] != null)
     {
         paymentSystem = new PaymentSystem().Parse(purchaseNode ["payment_system"]) as PaymentSystem;
     }
     if (purchaseNode ["checkout"] != null)
     {
         checkout = new Checkout().Parse(purchaseNode ["checkout"]) as Checkout;
     }
     ;
     return(this);
 }
 public IParseble Parse(JSONNode pRootNode)
 {
     virtualCurreny = new VirtualCurrency().Parse(pRootNode["virtual_currency"]) as VirtualCurrency;
     return(this);
 }