|
6 | 6 | // - as do these comments, explaining the whole thing |
7 | 7 | import com.stripe.events.V1BillingMeterErrorReportTriggeredEventNotification; |
8 | 8 | import com.stripe.events.V1BillingMeterNoMeterFoundEventNotification; |
| 9 | +import com.stripe.events.V2CommerceProductCatalogImportsFailedEventNotification; |
| 10 | +import com.stripe.events.V2CommerceProductCatalogImportsProcessingEventNotification; |
| 11 | +import com.stripe.events.V2CommerceProductCatalogImportsSucceededEventNotification; |
| 12 | +import com.stripe.events.V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification; |
9 | 13 | import com.stripe.events.V2CoreAccountClosedEventNotification; |
10 | 14 | import com.stripe.events.V2CoreAccountCreatedEventNotification; |
11 | 15 | import com.stripe.events.V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification; |
|
37 | 41 | import com.stripe.events.V2CoreBatchJobValidationFailedEventNotification; |
38 | 42 | import com.stripe.events.V2CoreEventDestinationPingEventNotification; |
39 | 43 | import com.stripe.events.V2CoreHealthEventGenerationFailureResolvedEventNotification; |
| 44 | +import com.stripe.events.V2DataReportingQueryRunCreatedEventNotification; |
| 45 | +import com.stripe.events.V2DataReportingQueryRunFailedEventNotification; |
| 46 | +import com.stripe.events.V2DataReportingQueryRunSucceededEventNotification; |
| 47 | +import com.stripe.events.V2DataReportingQueryRunUpdatedEventNotification; |
| 48 | +import com.stripe.events.V2ExtendWorkflowRunFailedEventNotification; |
| 49 | +import com.stripe.events.V2ExtendWorkflowRunStartedEventNotification; |
| 50 | +import com.stripe.events.V2ExtendWorkflowRunSucceededEventNotification; |
40 | 51 | import com.stripe.events.V2MoneyManagementAdjustmentCreatedEventNotification; |
41 | 52 | import com.stripe.events.V2MoneyManagementFinancialAccountCreatedEventNotification; |
42 | 53 | import com.stripe.events.V2MoneyManagementFinancialAccountUpdatedEventNotification; |
|
73 | 84 | import com.stripe.events.V2MoneyManagementReceivedDebitUpdatedEventNotification; |
74 | 85 | import com.stripe.events.V2MoneyManagementTransactionCreatedEventNotification; |
75 | 86 | import com.stripe.events.V2MoneyManagementTransactionUpdatedEventNotification; |
| 87 | +import com.stripe.events.V2OrchestratedCommerceAgreementConfirmedEventNotification; |
| 88 | +import com.stripe.events.V2OrchestratedCommerceAgreementCreatedEventNotification; |
| 89 | +import com.stripe.events.V2OrchestratedCommerceAgreementPartiallyConfirmedEventNotification; |
| 90 | +import com.stripe.events.V2OrchestratedCommerceAgreementTerminatedEventNotification; |
76 | 91 | import com.stripe.exception.SignatureVerificationException; |
77 | 92 | import com.stripe.model.v2.core.EventNotification; |
78 | 93 | import java.util.ArrayList; |
@@ -203,6 +218,30 @@ public StripeEventNotificationHandler onV1BillingMeterNoMeterFound( |
203 | 218 | return this; |
204 | 219 | } |
205 | 220 |
|
| 221 | + public StripeEventNotificationHandler onV2CommerceProductCatalogImportsFailed( |
| 222 | + Callback<V2CommerceProductCatalogImportsFailedEventNotification> callback) { |
| 223 | + this.register("v2.commerce.product_catalog.imports.failed", callback); |
| 224 | + return this; |
| 225 | + } |
| 226 | + |
| 227 | + public StripeEventNotificationHandler onV2CommerceProductCatalogImportsProcessing( |
| 228 | + Callback<V2CommerceProductCatalogImportsProcessingEventNotification> callback) { |
| 229 | + this.register("v2.commerce.product_catalog.imports.processing", callback); |
| 230 | + return this; |
| 231 | + } |
| 232 | + |
| 233 | + public StripeEventNotificationHandler onV2CommerceProductCatalogImportsSucceeded( |
| 234 | + Callback<V2CommerceProductCatalogImportsSucceededEventNotification> callback) { |
| 235 | + this.register("v2.commerce.product_catalog.imports.succeeded", callback); |
| 236 | + return this; |
| 237 | + } |
| 238 | + |
| 239 | + public StripeEventNotificationHandler onV2CommerceProductCatalogImportsSucceededWithErrors( |
| 240 | + Callback<V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification> callback) { |
| 241 | + this.register("v2.commerce.product_catalog.imports.succeeded_with_errors", callback); |
| 242 | + return this; |
| 243 | + } |
| 244 | + |
206 | 245 | public StripeEventNotificationHandler onV2CoreAccountClosed( |
207 | 246 | Callback<V2CoreAccountClosedEventNotification> callback) { |
208 | 247 | this.register("v2.core.account.closed", callback); |
@@ -401,6 +440,48 @@ public StripeEventNotificationHandler onV2CoreHealthEventGenerationFailureResolv |
401 | 440 | return this; |
402 | 441 | } |
403 | 442 |
|
| 443 | + public StripeEventNotificationHandler onV2DataReportingQueryRunCreated( |
| 444 | + Callback<V2DataReportingQueryRunCreatedEventNotification> callback) { |
| 445 | + this.register("v2.data.reporting.query_run.created", callback); |
| 446 | + return this; |
| 447 | + } |
| 448 | + |
| 449 | + public StripeEventNotificationHandler onV2DataReportingQueryRunFailed( |
| 450 | + Callback<V2DataReportingQueryRunFailedEventNotification> callback) { |
| 451 | + this.register("v2.data.reporting.query_run.failed", callback); |
| 452 | + return this; |
| 453 | + } |
| 454 | + |
| 455 | + public StripeEventNotificationHandler onV2DataReportingQueryRunSucceeded( |
| 456 | + Callback<V2DataReportingQueryRunSucceededEventNotification> callback) { |
| 457 | + this.register("v2.data.reporting.query_run.succeeded", callback); |
| 458 | + return this; |
| 459 | + } |
| 460 | + |
| 461 | + public StripeEventNotificationHandler onV2DataReportingQueryRunUpdated( |
| 462 | + Callback<V2DataReportingQueryRunUpdatedEventNotification> callback) { |
| 463 | + this.register("v2.data.reporting.query_run.updated", callback); |
| 464 | + return this; |
| 465 | + } |
| 466 | + |
| 467 | + public StripeEventNotificationHandler onV2ExtendWorkflowRunFailed( |
| 468 | + Callback<V2ExtendWorkflowRunFailedEventNotification> callback) { |
| 469 | + this.register("v2.extend.workflow_run.failed", callback); |
| 470 | + return this; |
| 471 | + } |
| 472 | + |
| 473 | + public StripeEventNotificationHandler onV2ExtendWorkflowRunStarted( |
| 474 | + Callback<V2ExtendWorkflowRunStartedEventNotification> callback) { |
| 475 | + this.register("v2.extend.workflow_run.started", callback); |
| 476 | + return this; |
| 477 | + } |
| 478 | + |
| 479 | + public StripeEventNotificationHandler onV2ExtendWorkflowRunSucceeded( |
| 480 | + Callback<V2ExtendWorkflowRunSucceededEventNotification> callback) { |
| 481 | + this.register("v2.extend.workflow_run.succeeded", callback); |
| 482 | + return this; |
| 483 | + } |
| 484 | + |
404 | 485 | public StripeEventNotificationHandler onV2MoneyManagementAdjustmentCreated( |
405 | 486 | Callback<V2MoneyManagementAdjustmentCreatedEventNotification> callback) { |
406 | 487 | this.register("v2.money_management.adjustment.created", callback); |
@@ -616,6 +697,30 @@ public StripeEventNotificationHandler onV2MoneyManagementTransactionUpdated( |
616 | 697 | this.register("v2.money_management.transaction.updated", callback); |
617 | 698 | return this; |
618 | 699 | } |
| 700 | + |
| 701 | + public StripeEventNotificationHandler onV2OrchestratedCommerceAgreementConfirmed( |
| 702 | + Callback<V2OrchestratedCommerceAgreementConfirmedEventNotification> callback) { |
| 703 | + this.register("v2.orchestrated_commerce.agreement.confirmed", callback); |
| 704 | + return this; |
| 705 | + } |
| 706 | + |
| 707 | + public StripeEventNotificationHandler onV2OrchestratedCommerceAgreementCreated( |
| 708 | + Callback<V2OrchestratedCommerceAgreementCreatedEventNotification> callback) { |
| 709 | + this.register("v2.orchestrated_commerce.agreement.created", callback); |
| 710 | + return this; |
| 711 | + } |
| 712 | + |
| 713 | + public StripeEventNotificationHandler onV2OrchestratedCommerceAgreementPartiallyConfirmed( |
| 714 | + Callback<V2OrchestratedCommerceAgreementPartiallyConfirmedEventNotification> callback) { |
| 715 | + this.register("v2.orchestrated_commerce.agreement.partially_confirmed", callback); |
| 716 | + return this; |
| 717 | + } |
| 718 | + |
| 719 | + public StripeEventNotificationHandler onV2OrchestratedCommerceAgreementTerminated( |
| 720 | + Callback<V2OrchestratedCommerceAgreementTerminatedEventNotification> callback) { |
| 721 | + this.register("v2.orchestrated_commerce.agreement.terminated", callback); |
| 722 | + return this; |
| 723 | + } |
619 | 724 | // notification-handler-methods: The end of the section generated from our OpenAPI spec |
620 | 725 |
|
621 | 726 | /** |
|
0 commit comments