Skip to content

Commit

Permalink
#853 - Fixing the ListEntitlements return type
Browse files Browse the repository at this point in the history
  • Loading branch information
jweber committed Jan 22, 2025
1 parent 17c69eb commit 6776258
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Recurly/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5190,7 +5190,7 @@ public ExternalPaymentPhase GetExternalSubscriptionExternalPaymentPhase(string e
/// <returns>
/// A list of the entitlements granted to an account.
/// </returns>
public Pager<Entitlements> ListEntitlements(string accountId, ListEntitlementsParams optionalParams = null, RequestOptions options = null)
public Pager<Entitlement> ListEntitlements(string accountId, ListEntitlementsParams optionalParams = null, RequestOptions options = null)
{
var urlParams = new Dictionary<string, object> { { "account_id", accountId } };
var queryParams = (optionalParams ?? new ListEntitlementsParams()).ToDictionary();
Expand Down
2 changes: 1 addition & 1 deletion Recurly/IClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3342,7 +3342,7 @@ public interface IClient
/// <returns>
/// A list of the entitlements granted to an account.
/// </returns>
Pager<Entitlements> ListEntitlements(string accountId, ListEntitlementsParams optionalParams = null, RequestOptions options = null);
Pager<Entitlement> ListEntitlements(string accountId, ListEntitlementsParams optionalParams = null, RequestOptions options = null);


/// <summary>
Expand Down

0 comments on commit 6776258

Please sign in to comment.