summaryrefslogtreecommitdiffstats
path: root/vendor/stripe/stripe-php/lib/Service/SetupAttemptService.php
blob: 7376ea13e720a1fc1faae893588f0cb4dec5d1cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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
     */
    public function all($params = null, $opts = null)
    {
        return $this->requestCollection('get', '/v1/setup_attempts', $params, $opts);
    }
}