# give/4.15.5/vendor/stripe/stripe-php/lib/Service/SetupAttemptService.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.15.5. 24 lines.

- Page: https://pluginprobe.com/plugins/give/4.15.5/code/vendor/stripe/stripe-php/lib/Service/SetupAttemptService.php
- Raw: https://pluginprobe.com/plugins/give/4.15.5/raw/vendor/stripe/stripe-php/lib/Service/SetupAttemptService.php
- Modified: 2023-10-16T17:55:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.15.5/code/vendor/stripe/stripe-php/lib/Service/SetupAttemptService.php#L10-L20`.

```php
<?php

// File generated from our OpenAPI spec

namespace Stripe\Service;

class SetupAttemptService extends \Stripe\Service\AbstractService
{
    /**
     * Returns a list of SetupAttempts associated with a provided SetupIntent.
     *
     * @param null|array $params
     * @param null|array|\Stripe\Util\RequestOptions $opts
     *
     * @throws \Stripe\Exception\ApiErrorException if the request fails
     *
     * @return \Stripe\Collection<\Stripe\SetupAttempt>
     */
    public function all($params = null, $opts = null)
    {
        return $this->requestCollection('get', '/v1/setup_attempts', $params, $opts);
    }
}

```
