Skip to content

Commit

Permalink
Update SearchResult documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcr-stripe committed Jul 20, 2021
1 parent b0a0fe7 commit 63ce687
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/SearchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
namespace Stripe;

/**
* Class search results.
* Search results for an API resource.
*
* This behaves similarly to <code>Collection</code> in that they both wrap
* around a list of objects and provide pagination. However the
* <code>SearchResult</code> object paginates by relying on a
* <code>next_page</code> token included in the response rather than using
* object IDs and a <code>starting_before</code>/<code>ending_after</code>
* parameter. Thus, <code>SearchResult</code> only supports forwards pagination.
*
* @property string $object
* @property string $url
Expand Down

0 comments on commit 63ce687

Please sign in to comment.