public void Update_Plan() { PayWhirlBC payWhirlBC = new PayWhirlBC(api_key, api_secret, true); var response1 = payWhirlBC.GetPlans().FindAll(x => x.Id.Equals("24376")); if (response1 != null) { nv.Add("id", response1[0].Id); nv.Add("name", "Admin Package"); nv.Add("feature_1", "Sell Register"); var response = payWhirlBC.UpdatePlan(nv); } }
public void Get_All_Plans() { PayWhirlBC payWhirlBC = new PayWhirlBC(api_key, api_secret); var response = payWhirlBC.GetPlans(); }