diff --git a/src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs b/src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs index d142c50522..36c905f77f 100644 --- a/src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs +++ b/src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs @@ -1,5 +1,6 @@ namespace Stripe { + using System; using Newtonsoft.Json; public class SubscriptionListOptions : ListOptionsWithCreated @@ -10,6 +11,30 @@ public class SubscriptionListOptions : ListOptionsWithCreated [JsonProperty("billing")] public Billing? Billing { get; set; } + /// + /// A filter on the list based on the object current_period_end field. + /// + [JsonProperty("current_period_end")] + public DateTime? CurrentPeriodEnd { get; set; } + + /// + /// A filter on the list based on the object current_period_end field. + /// + [JsonProperty("current_period_end")] + public DateRangeOptions CurrentPeriodEndRange { get; set; } + + /// + /// A filter on the list based on the object current_period_start field. + /// + [JsonProperty("current_period_start")] + public DateTime? CurrentPeriodStart { get; set; } + + /// + /// A filter on the list based on the object current_period_start field. + /// + [JsonProperty("current_period_start")] + public DateRangeOptions CurrentPeriodStartRange { get; set; } + /// /// The ID of the customer whose subscriptions will be retrieved. ///