• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stripe / stripe-php / 8622082831

09 Apr 2024 08:47PM UTC coverage: 66.36% (-0.6%) from 66.92%
8622082831

push

github

web-flow
Update generated code (#1675)

* Update generated code for v934

* Update generated code for v935

* Update generated code for v936

* Update generated code for v937

* Update generated code for v938

* Revert "Update generated code for v937"

This reverts commit a4d164f1b.

* Revert "Update generated code for v935"

This reverts commit 33c5c9c69.

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <ramya@stripe.com>

0 of 30 new or added lines in 5 files covered. (0.0%)

2377 of 3582 relevant lines covered (66.36%)

3.29 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/Service/Entitlements/ActiveEntitlementService.php
1
<?php
2

3
// File generated from our OpenAPI spec
4

5
namespace Stripe\Service\Entitlements;
6

7
/**
8
 * @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
9
 */
10
/**
11
 * @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
12
 */
13
class ActiveEntitlementService extends \Stripe\Service\AbstractService
14
{
15
    /**
16
     * Retrieve a list of active entitlements for a customer.
17
     *
18
     * @param null|array $params
19
     * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
20
     *
21
     * @throws \Stripe\Exception\ApiErrorException if the request fails
22
     *
23
     * @return \Stripe\Collection<\Stripe\Entitlements\ActiveEntitlement>
24
     */
NEW
25
    public function all($params = null, $opts = null)
×
26
    {
NEW
27
        return $this->requestCollection('get', '/v1/entitlements/active_entitlements', $params, $opts);
×
28
    }
29

30
    /**
31
     * Retrieve an active entitlement.
32
     *
33
     * @param string $id
34
     * @param null|array $params
35
     * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
36
     *
37
     * @throws \Stripe\Exception\ApiErrorException if the request fails
38
     *
39
     * @return \Stripe\Entitlements\ActiveEntitlement
40
     */
NEW
41
    public function retrieve($id, $params = null, $opts = null)
×
42
    {
NEW
43
        return $this->request('get', $this->buildPath('/v1/entitlements/active_entitlements/%s', $id), $params, $opts);
×
44
    }
45
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc