Skip to content

Commit

Permalink
Merge pull request #1135 from stripe/ob-fix-1134
Browse files Browse the repository at this point in the history
Add ProductId parameter to StripePlanListOptions
  • Loading branch information
ob-stripe authored Mar 15, 2018
2 parents 840b77f + f9c7191 commit 91406a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Stripe.net/Services/Plans/StripePlanListOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@ namespace Stripe
{
public class StripePlanListOptions : StripeListOptions
{
[JsonProperty("created")]
public StripeDateFilter Created { get; set; }

/// <summary>
/// Only return plans for the given product.
/// </summary>
[JsonProperty("product")]
public string ProductId { get; set; }
}
}

0 comments on commit 91406a2

Please sign in to comment.