Beispiel #1
0
        public IEnumerable <Stripe.Plan> GetPlans()
        {
            var planService = new Stripe.PlanService(PrivateKey);
            IEnumerable <Stripe.Plan> response = planService.List();

            return(response);
        }
Beispiel #2
0
        public Stripe.Plan[] GetPlans()
        {
            var service = new Stripe.PlanService();
            var options = new Stripe.PlanListOptions {
            };

            return(service.List(options).ToArray <Stripe.Plan>());
        }