diff --git a/src/PlanFrequency.cs b/src/PlanFrequency.cs
index cb4fd06..4e410a5 100644
--- a/src/PlanFrequency.cs
+++ b/src/PlanFrequency.cs
@@ -5,6 +5,7 @@ namespace Stripe
{
public enum PlanFrequency
{
+ Day,
Month,
Year
}
diff --git a/src/StripeClient.Plans.cs b/src/StripeClient.Plans.cs
index 2323b02..6bd9ddf 100644
--- a/src/StripeClient.Plans.cs
+++ b/src/StripeClient.Plans.cs
@@ -1,4 +1,5 @@
using System;
+using System.Collections.Generic;
using System.Linq;
using RestSharp;
using RestSharp.Validation;
@@ -7,7 +8,22 @@ namespace Stripe
{
public partial class StripeClient
{
- public StripeObject CreatePlan(string planId, decimal amount, string currency, PlanFrequency interval, string name, int? trialPeriodDays = null)
+ ///
+ /// You can create plans easily via the plan management page of the Stripe dashboard. Plan creation is also accessible via the API if you need to create plans on the fly.
+ ///
+ /// Unique string of your choice that will be used to identify this plan when subscribing a customer.
+ /// A positive integer in cents (or 0 for a free plan) representing how much to charge (on a recurring basis).
+ /// 3-letter ISO code for currency.
+ /// Specifies billing frequency. Either day, week, month or year.
+ /// Name of the plan, to be displayed on invoices and in the web interface.
+ /// Specifies a trial period in (an integer number of) days.
+ /// The number of intervals between each subscription billing. For example, interval=month and interval_count=3 bills every 3 months.
+ /// An arbitrary string to be displayed on your customer’s credit card statement.
+ /// A set of key/value pairs that you can attach to a plan object.
+ /// Returns the plan object.
+ public StripeObject CreatePlan(string planId, decimal amount, string currency, PlanFrequency interval,
+ string name, int? trialPeriodDays = null, int? intervalCount = 1, string statementDescriptor = null,
+ IDictionary