# `Stripe.SearchResult`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/list_object.ex#L64)

Represents a V1 search result response (`object: "search_result"`).

## Auto-paging

    {:ok, page} = Stripe.Client.request(client, :get, "/v1/charges/search",
      params: %{"query" => "status:'succeeded'"})

    page
    |> Stripe.SearchResult.auto_paging_stream(client)
    |> Enum.to_list()

# `t`

```elixir
@type t() :: %Stripe.SearchResult{
  data: [struct() | map()] | nil,
  has_more: boolean() | nil,
  next_page: String.t() | nil,
  object: String.t() | nil,
  total_count: integer() | nil,
  url: String.t() | nil
}
```

# `auto_paging_stream`

```elixir
@spec auto_paging_stream(t(), Stripe.Client.t(), keyword()) :: Enumerable.t()
```

Returns a lazy `Stream` that yields every item across all search result pages.

Uses `page` token pagination (the `next_page` field from each response).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
