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

stripe / stripe-php / 11129599820

01 Oct 2024 04:33PM UTC coverage: 62.613% (-1.3%) from 63.944%
11129599820

push

github

web-flow
Support for APIs in the new API version 2024-09-30.acacia (#1756)

175 of 409 new or added lines in 26 files covered. (42.79%)

3 existing lines in 3 files now uncovered.

3547 of 5665 relevant lines covered (62.61%)

2.46 hits per line

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

0.0
/lib/Events/V1BillingMeterErrorReportTriggeredEvent.php
1
<?php
2

3
// File generated from our OpenAPI spec
4

5
namespace Stripe\Events;
6

7
/**
8
 * @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
9
 * @property \Stripe\EventData\V1BillingMeterErrorReportTriggeredEventData $data data associated with the event
10
 */
11
class V1BillingMeterErrorReportTriggeredEvent extends \Stripe\V2\Event
12
{
13
    const LOOKUP_TYPE = 'v1.billing.meter.error_report_triggered';
14

15
    /**
16
     * Retrieves the related object from the API. Make an API request on every call.
17
     *
18
     * @throws \Stripe\Exception\ApiErrorException if the request fails
19
     *
20
     * @return \Stripe\Billing\Meter
21
     */
NEW
22
    public function fetchRelatedObject()
×
23
    {
NEW
24
        list($object, $options) = $this->_request(
×
NEW
25
            'get',
×
NEW
26
            $this->related_object->url,
×
NEW
27
            [],
×
NEW
28
            ['stripe_account' => $this->context],
×
NEW
29
            [],
×
NEW
30
            'v2'
×
NEW
31
        );
×
32

NEW
33
        return \Stripe\Util\Util::convertToStripeObject($object, $options, 'v2');
×
34
    }
35
}
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