Skip to content

Commit

Permalink
Update generated code for v1232
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Aug 29, 2024
1 parent 5ed133f commit 1637984
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1230
v1232
1 change: 1 addition & 0 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
require __DIR__ . '/lib/Billing/Alert.php';
require __DIR__ . '/lib/Billing/AlertTriggered.php';
require __DIR__ . '/lib/Billing/Meter.php';
require __DIR__ . '/lib/Billing/MeterErrorReport.php';
require __DIR__ . '/lib/Billing/MeterEvent.php';
require __DIR__ . '/lib/Billing/MeterEventAdjustment.php';
require __DIR__ . '/lib/Billing/MeterEventSummary.php';
Expand Down
19 changes: 19 additions & 0 deletions lib/Billing/MeterErrorReport.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

// File generated from our OpenAPI spec

namespace Stripe\Billing;

/**
* @property string $id Unique identifier for the object.
* @property string $object String representing the object's type. Objects of the same type share the same value.
* @property \Stripe\StripeObject $reason
* @property null|\Stripe\StripeObject $related_object The related objects about the error
* @property string $summary Summary of invalid events
* @property int $validation_end Time when validation ended. Measured in seconds since the Unix epoch
* @property int $validation_start Time when validation started. Measured in seconds since the Unix epoch
*/
class MeterErrorReport extends \Stripe\ApiResource
{
const OBJECT_NAME = 'billing.meter_error_report';
}
1 change: 1 addition & 0 deletions lib/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class Event extends ApiResource
const APPLICATION_FEE_REFUND_UPDATED = 'application_fee.refund.updated';
const BALANCE_AVAILABLE = 'balance.available';
const BILLING_ALERT_TRIGGERED = 'billing.alert.triggered';
const BILLING_METER_ERROR_REPORT_TRIGGERED = 'billing.meter_error_report.triggered';
const BILLING_PORTAL_CONFIGURATION_CREATED = 'billing_portal.configuration.created';
const BILLING_PORTAL_CONFIGURATION_UPDATED = 'billing_portal.configuration.updated';
const BILLING_PORTAL_SESSION_CREATED = 'billing_portal.session.created';
Expand Down
1 change: 1 addition & 0 deletions lib/Util/ObjectTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class ObjectTypes
\Stripe\Billing\Alert::OBJECT_NAME => \Stripe\Billing\Alert::class,
\Stripe\Billing\AlertTriggered::OBJECT_NAME => \Stripe\Billing\AlertTriggered::class,
\Stripe\Billing\Meter::OBJECT_NAME => \Stripe\Billing\Meter::class,
\Stripe\Billing\MeterErrorReport::OBJECT_NAME => \Stripe\Billing\MeterErrorReport::class,
\Stripe\Billing\MeterEvent::OBJECT_NAME => \Stripe\Billing\MeterEvent::class,
\Stripe\Billing\MeterEventAdjustment::OBJECT_NAME => \Stripe\Billing\MeterEventAdjustment::class,
\Stripe\Billing\MeterEventSummary::OBJECT_NAME => \Stripe\Billing\MeterEventSummary::class,
Expand Down

0 comments on commit 1637984

Please sign in to comment.