@@ -277,6 +277,45 @@ public function onV1ApplicationFeeRefunded($handler)
277277 $ this ->register ('v1.application_fee.refunded ' , $ handler );
278278 }
279279
280+ /**
281+ * Registers a handler for the "v1.apps.install.created" event.
282+ *
283+ * @param callable(Events\V1AppsInstallCreatedEventNotification, StripeClient): void $handler Handles v1.apps.install.created events
284+ *
285+ * @throws Exception\InvalidArgumentException if this event type is already registered
286+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
287+ */
288+ public function onV1AppsInstallCreated ($ handler )
289+ {
290+ $ this ->register ('v1.apps.install.created ' , $ handler );
291+ }
292+
293+ /**
294+ * Registers a handler for the "v1.apps.install.deleted" event.
295+ *
296+ * @param callable(Events\V1AppsInstallDeletedEventNotification, StripeClient): void $handler Handles v1.apps.install.deleted events
297+ *
298+ * @throws Exception\InvalidArgumentException if this event type is already registered
299+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
300+ */
301+ public function onV1AppsInstallDeleted ($ handler )
302+ {
303+ $ this ->register ('v1.apps.install.deleted ' , $ handler );
304+ }
305+
306+ /**
307+ * Registers a handler for the "v1.apps.install.updated" event.
308+ *
309+ * @param callable(Events\V1AppsInstallUpdatedEventNotification, StripeClient): void $handler Handles v1.apps.install.updated events
310+ *
311+ * @throws Exception\InvalidArgumentException if this event type is already registered
312+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
313+ */
314+ public function onV1AppsInstallUpdated ($ handler )
315+ {
316+ $ this ->register ('v1.apps.install.updated ' , $ handler );
317+ }
318+
280319 /**
281320 * Registers a handler for the "v1.balance.available" event.
282321 *
@@ -2230,19 +2269,6 @@ public function onV1IssuingAuthorizationCreated($handler)
22302269 $ this ->register ('v1.issuing_authorization.created ' , $ handler );
22312270 }
22322271
2233- /**
2234- * Registers a handler for the "v1.issuing_authorization.request" event.
2235- *
2236- * @param callable(Events\V1IssuingAuthorizationRequestEventNotification, StripeClient): void $handler Handles v1.issuing_authorization.request events
2237- *
2238- * @throws Exception\InvalidArgumentException if this event type is already registered
2239- * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
2240- */
2241- public function onV1IssuingAuthorizationRequest ($ handler )
2242- {
2243- $ this ->register ('v1.issuing_authorization.request ' , $ handler );
2244- }
2245-
22462272 /**
22472273 * Registers a handler for the "v1.issuing_authorization.updated" event.
22482274 *
@@ -3832,6 +3858,19 @@ public function onV2CoreAccountClosed($handler)
38323858 $ this ->register ('v2.core.account.closed ' , $ handler );
38333859 }
38343860
3861+ /**
3862+ * Registers a handler for the "v2.core.account.connected" event.
3863+ *
3864+ * @param callable(Events\V2CoreAccountConnectedEventNotification, StripeClient): void $handler Handles v2.core.account.connected events
3865+ *
3866+ * @throws Exception\InvalidArgumentException if this event type is already registered
3867+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
3868+ */
3869+ public function onV2CoreAccountConnected ($ handler )
3870+ {
3871+ $ this ->register ('v2.core.account.connected ' , $ handler );
3872+ }
3873+
38353874 /**
38363875 * Registers a handler for the "v2.core.account.created" event.
38373876 *
@@ -3845,6 +3884,19 @@ public function onV2CoreAccountCreated($handler)
38453884 $ this ->register ('v2.core.account.created ' , $ handler );
38463885 }
38473886
3887+ /**
3888+ * Registers a handler for the "v2.core.account.disconnected" event.
3889+ *
3890+ * @param callable(Events\V2CoreAccountDisconnectedEventNotification, StripeClient): void $handler Handles v2.core.account.disconnected events
3891+ *
3892+ * @throws Exception\InvalidArgumentException if this event type is already registered
3893+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
3894+ */
3895+ public function onV2CoreAccountDisconnected ($ handler )
3896+ {
3897+ $ this ->register ('v2.core.account.disconnected ' , $ handler );
3898+ }
3899+
38483900 /**
38493901 * Registers a handler for the "v2.core.account.updated" event.
38503902 *
@@ -5309,6 +5361,113 @@ public function onV2OrchestratedCommerceAgreementTerminated($handler)
53095361 $ this ->register ('v2.orchestrated_commerce.agreement.terminated ' , $ handler );
53105362 }
53115363
5364+ /**
5365+ * Registers a handler for the "v2.payments.off_session_payment.attempt_failed" event.
5366+ *
5367+ * @param callable(Events\V2PaymentsOffSessionPaymentAttemptFailedEventNotification, StripeClient): void $handler Handles v2.payments.off_session_payment.attempt_failed events
5368+ *
5369+ * @throws Exception\InvalidArgumentException if this event type is already registered
5370+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
5371+ */
5372+ public function onV2PaymentsOffSessionPaymentAttemptFailed ($ handler )
5373+ {
5374+ $ this ->register ('v2.payments.off_session_payment.attempt_failed ' , $ handler );
5375+ }
5376+
5377+ /**
5378+ * Registers a handler for the "v2.payments.off_session_payment.attempt_started" event.
5379+ *
5380+ * @param callable(Events\V2PaymentsOffSessionPaymentAttemptStartedEventNotification, StripeClient): void $handler Handles v2.payments.off_session_payment.attempt_started events
5381+ *
5382+ * @throws Exception\InvalidArgumentException if this event type is already registered
5383+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
5384+ */
5385+ public function onV2PaymentsOffSessionPaymentAttemptStarted ($ handler )
5386+ {
5387+ $ this ->register (
5388+ 'v2.payments.off_session_payment.attempt_started ' ,
5389+ $ handler
5390+ );
5391+ }
5392+
5393+ /**
5394+ * Registers a handler for the "v2.payments.off_session_payment.canceled" event.
5395+ *
5396+ * @param callable(Events\V2PaymentsOffSessionPaymentCanceledEventNotification, StripeClient): void $handler Handles v2.payments.off_session_payment.canceled events
5397+ *
5398+ * @throws Exception\InvalidArgumentException if this event type is already registered
5399+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
5400+ */
5401+ public function onV2PaymentsOffSessionPaymentCanceled ($ handler )
5402+ {
5403+ $ this ->register ('v2.payments.off_session_payment.canceled ' , $ handler );
5404+ }
5405+
5406+ /**
5407+ * Registers a handler for the "v2.payments.off_session_payment.created" event.
5408+ *
5409+ * @param callable(Events\V2PaymentsOffSessionPaymentCreatedEventNotification, StripeClient): void $handler Handles v2.payments.off_session_payment.created events
5410+ *
5411+ * @throws Exception\InvalidArgumentException if this event type is already registered
5412+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
5413+ */
5414+ public function onV2PaymentsOffSessionPaymentCreated ($ handler )
5415+ {
5416+ $ this ->register ('v2.payments.off_session_payment.created ' , $ handler );
5417+ }
5418+
5419+ /**
5420+ * Registers a handler for the "v2.payments.off_session_payment.failed" event.
5421+ *
5422+ * @param callable(Events\V2PaymentsOffSessionPaymentFailedEventNotification, StripeClient): void $handler Handles v2.payments.off_session_payment.failed events
5423+ *
5424+ * @throws Exception\InvalidArgumentException if this event type is already registered
5425+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
5426+ */
5427+ public function onV2PaymentsOffSessionPaymentFailed ($ handler )
5428+ {
5429+ $ this ->register ('v2.payments.off_session_payment.failed ' , $ handler );
5430+ }
5431+
5432+ /**
5433+ * Registers a handler for the "v2.payments.off_session_payment.paused" event.
5434+ *
5435+ * @param callable(Events\V2PaymentsOffSessionPaymentPausedEventNotification, StripeClient): void $handler Handles v2.payments.off_session_payment.paused events
5436+ *
5437+ * @throws Exception\InvalidArgumentException if this event type is already registered
5438+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
5439+ */
5440+ public function onV2PaymentsOffSessionPaymentPaused ($ handler )
5441+ {
5442+ $ this ->register ('v2.payments.off_session_payment.paused ' , $ handler );
5443+ }
5444+
5445+ /**
5446+ * Registers a handler for the "v2.payments.off_session_payment.resumed" event.
5447+ *
5448+ * @param callable(Events\V2PaymentsOffSessionPaymentResumedEventNotification, StripeClient): void $handler Handles v2.payments.off_session_payment.resumed events
5449+ *
5450+ * @throws Exception\InvalidArgumentException if this event type is already registered
5451+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
5452+ */
5453+ public function onV2PaymentsOffSessionPaymentResumed ($ handler )
5454+ {
5455+ $ this ->register ('v2.payments.off_session_payment.resumed ' , $ handler );
5456+ }
5457+
5458+ /**
5459+ * Registers a handler for the "v2.payments.off_session_payment.succeeded" event.
5460+ *
5461+ * @param callable(Events\V2PaymentsOffSessionPaymentSucceededEventNotification, StripeClient): void $handler Handles v2.payments.off_session_payment.succeeded events
5462+ *
5463+ * @throws Exception\InvalidArgumentException if this event type is already registered
5464+ * @throws Exception\BadMethodCallException if the `.handle()` method has already been called on this handler.
5465+ */
5466+ public function onV2PaymentsOffSessionPaymentSucceeded ($ handler )
5467+ {
5468+ $ this ->register ('v2.payments.off_session_payment.succeeded ' , $ handler );
5469+ }
5470+
53125471 /**
53135472 * Registers a handler for the "v2.signals.account_evaluation.complete" event.
53145473 *
0 commit comments