Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix V2 list options base class #3026

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Stripe.V2.Core
using System.Collections.Generic;
using Newtonsoft.Json;

public class EventDestinationListOptions : ListOptions
public class EventDestinationListOptions : V2.ListOptions
{
/// <summary>
/// Additional fields to include in the response. Currently supports
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Services/V2/Core/Events/EventListOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace Stripe.V2.Core
{
using Newtonsoft.Json;

public class EventListOptions : ListOptions
public class EventListOptions : V2.ListOptions
{
/// <summary>
/// Primary object ID used to retrieve related events.
Expand Down
13 changes: 13 additions & 0 deletions src/Stripe.net/Services/_base/V2/ListOptions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Stripe.V2
{
using Newtonsoft.Json;

public class ListOptions : BaseOptions
{
/// <summary>
/// A limit on the number of objects to be returned, between 1 and 100.
/// </summary>
[JsonProperty("limit")]
public long? Limit { get; set; }
}
}
Loading