$mapping constant

Map<String, StripeEvent Function(Object?)> const $mapping

Implementation

static const Map<String, StripeEvent Function(Object?)> $mapping = {
  'account.application.authorized':
      AccountApplicationAuthorizedEvent.fromJson,
  'account.application.deauthorized':
      AccountApplicationDeauthorizedEvent.fromJson,
  'account.external_account.created':
      AccountExternalAccountCreatedEvent.fromJson,
  'account.external_account.deleted':
      AccountExternalAccountDeletedEvent.fromJson,
  'account.external_account.updated':
      AccountExternalAccountUpdatedEvent.fromJson,
  'account.updated': AccountUpdatedEvent.fromJson,
  'application_fee.created': ApplicationFeeCreatedEvent.fromJson,
  'application_fee.refund.updated': ApplicationFeeRefundUpdatedEvent.fromJson,
  'application_fee.refunded': ApplicationFeeRefundedEvent.fromJson,
  'balance.available': BalanceAvailableEvent.fromJson,
  'billing_portal.configuration.created':
      BillingPortalConfigurationCreatedEvent.fromJson,
  'billing_portal.configuration.updated':
      BillingPortalConfigurationUpdatedEvent.fromJson,
  'billing_portal.session.created': BillingPortalSessionCreatedEvent.fromJson,
  'capability.updated': CapabilityUpdatedEvent.fromJson,
  'cash_balance.funds_available': CashBalanceFundsAvailableEvent.fromJson,
  'charge.captured': ChargeCapturedEvent.fromJson,
  'charge.dispute.closed': ChargeDisputeClosedEvent.fromJson,
  'charge.dispute.created': ChargeDisputeCreatedEvent.fromJson,
  'charge.dispute.funds_reinstated':
      ChargeDisputeFundsReinstatedEvent.fromJson,
  'charge.dispute.funds_withdrawn': ChargeDisputeFundsWithdrawnEvent.fromJson,
  'charge.dispute.updated': ChargeDisputeUpdatedEvent.fromJson,
  'charge.expired': ChargeExpiredEvent.fromJson,
  'charge.failed': ChargeFailedEvent.fromJson,
  'charge.pending': ChargePendingEvent.fromJson,
  'charge.refund.updated': ChargeRefundUpdatedEvent.fromJson,
  'charge.refunded': ChargeRefundedEvent.fromJson,
  'charge.succeeded': ChargeSucceededEvent.fromJson,
  'charge.updated': ChargeUpdatedEvent.fromJson,
  'checkout.session.async_payment_failed':
      CheckoutSessionAsyncPaymentFailedEvent.fromJson,
  'checkout.session.async_payment_succeeded':
      CheckoutSessionAsyncPaymentSucceededEvent.fromJson,
  'checkout.session.completed': CheckoutSessionCompletedEvent.fromJson,
  'checkout.session.expired': CheckoutSessionExpiredEvent.fromJson,
  'climate.order.canceled': ClimateOrderCanceledEvent.fromJson,
  'climate.order.created': ClimateOrderCreatedEvent.fromJson,
  'climate.order.delayed': ClimateOrderDelayedEvent.fromJson,
  'climate.order.delivered': ClimateOrderDeliveredEvent.fromJson,
  'climate.order.product_substituted':
      ClimateOrderProductSubstitutedEvent.fromJson,
  'climate.product.created': ClimateProductCreatedEvent.fromJson,
  'climate.product.pricing_updated':
      ClimateProductPricingUpdatedEvent.fromJson,
  'coupon.created': CouponCreatedEvent.fromJson,
  'coupon.deleted': CouponDeletedEvent.fromJson,
  'coupon.updated': CouponUpdatedEvent.fromJson,
  'credit_note.created': CreditNoteCreatedEvent.fromJson,
  'credit_note.updated': CreditNoteUpdatedEvent.fromJson,
  'credit_note.voided': CreditNoteVoidedEvent.fromJson,
  'customer.created': CustomerCreatedEvent.fromJson,
  'customer.deleted': CustomerDeletedEvent.fromJson,
  'customer.discount.created': CustomerDiscountCreatedEvent.fromJson,
  'customer.discount.deleted': CustomerDiscountDeletedEvent.fromJson,
  'customer.discount.updated': CustomerDiscountUpdatedEvent.fromJson,
  'customer.source.created': CustomerSourceCreatedEvent.fromJson,
  'customer.source.deleted': CustomerSourceDeletedEvent.fromJson,
  'customer.source.expiring': CustomerSourceExpiringEvent.fromJson,
  'customer.source.updated': CustomerSourceUpdatedEvent.fromJson,
  'customer.subscription.created': CustomerSubscriptionCreatedEvent.fromJson,
  'customer.subscription.deleted': CustomerSubscriptionDeletedEvent.fromJson,
  'customer.subscription.paused': CustomerSubscriptionPausedEvent.fromJson,
  'customer.subscription.pending_update_applied':
      CustomerSubscriptionPendingUpdateAppliedEvent.fromJson,
  'customer.subscription.pending_update_expired':
      CustomerSubscriptionPendingUpdateExpiredEvent.fromJson,
  'customer.subscription.resumed': CustomerSubscriptionResumedEvent.fromJson,
  'customer.subscription.trial_will_end':
      CustomerSubscriptionTrialWillEndEvent.fromJson,
  'customer.subscription.updated': CustomerSubscriptionUpdatedEvent.fromJson,
  'customer.tax_id.created': CustomerTaxIdCreatedEvent.fromJson,
  'customer.tax_id.deleted': CustomerTaxIdDeletedEvent.fromJson,
  'customer.tax_id.updated': CustomerTaxIdUpdatedEvent.fromJson,
  'customer.updated': CustomerUpdatedEvent.fromJson,
  'customer_cash_balance_transaction.created':
      CustomerCashBalanceTransactionCreatedEvent.fromJson,
  'file.created': FileCreatedEvent.fromJson,
  'financial_connections.account.created':
      FinancialConnectionsAccountCreatedEvent.fromJson,
  'financial_connections.account.deactivated':
      FinancialConnectionsAccountDeactivatedEvent.fromJson,
  'financial_connections.account.disconnected':
      FinancialConnectionsAccountDisconnectedEvent.fromJson,
  'financial_connections.account.reactivated':
      FinancialConnectionsAccountReactivatedEvent.fromJson,
  'financial_connections.account.refreshed_balance':
      FinancialConnectionsAccountRefreshedBalanceEvent.fromJson,
  'financial_connections.account.refreshed_ownership':
      FinancialConnectionsAccountRefreshedOwnershipEvent.fromJson,
  'financial_connections.account.refreshed_transactions':
      FinancialConnectionsAccountRefreshedTransactionsEvent.fromJson,
  'identity.verification_session.canceled':
      IdentityVerificationSessionCanceledEvent.fromJson,
  'identity.verification_session.created':
      IdentityVerificationSessionCreatedEvent.fromJson,
  'identity.verification_session.processing':
      IdentityVerificationSessionProcessingEvent.fromJson,
  'identity.verification_session.redacted':
      IdentityVerificationSessionRedactedEvent.fromJson,
  'identity.verification_session.requires_input':
      IdentityVerificationSessionRequiresInputEvent.fromJson,
  'identity.verification_session.verified':
      IdentityVerificationSessionVerifiedEvent.fromJson,
  'invoice.created': InvoiceCreatedEvent.fromJson,
  'invoice.deleted': InvoiceDeletedEvent.fromJson,
  'invoice.finalization_failed': InvoiceFinalizationFailedEvent.fromJson,
  'invoice.finalized': InvoiceFinalizedEvent.fromJson,
  'invoice.marked_uncollectible': InvoiceMarkedUncollectibleEvent.fromJson,
  'invoice.paid': InvoicePaidEvent.fromJson,
  'invoice.payment_action_required':
      InvoicePaymentActionRequiredEvent.fromJson,
  'invoice.payment_failed': InvoicePaymentFailedEvent.fromJson,
  'invoice.payment_succeeded': InvoicePaymentSucceededEvent.fromJson,
  'invoice.sent': InvoiceSentEvent.fromJson,
  'invoice.upcoming': InvoiceUpcomingEvent.fromJson,
  'invoice.updated': InvoiceUpdatedEvent.fromJson,
  'invoice.voided': InvoiceVoidedEvent.fromJson,
  'invoiceitem.created': InvoiceitemCreatedEvent.fromJson,
  'invoiceitem.deleted': InvoiceitemDeletedEvent.fromJson,
  'issuing_authorization.created': IssuingAuthorizationCreatedEvent.fromJson,
  'issuing_authorization.request': IssuingAuthorizationRequestEvent.fromJson,
  'issuing_authorization.updated': IssuingAuthorizationUpdatedEvent.fromJson,
  'issuing_card.created': IssuingCardCreatedEvent.fromJson,
  'issuing_card.updated': IssuingCardUpdatedEvent.fromJson,
  'issuing_cardholder.created': IssuingCardholderCreatedEvent.fromJson,
  'issuing_cardholder.updated': IssuingCardholderUpdatedEvent.fromJson,
  'issuing_dispute.closed': IssuingDisputeClosedEvent.fromJson,
  'issuing_dispute.created': IssuingDisputeUpdatedEvent.fromJson,
  'issuing_dispute.funds_reinstated':
      IssuingDisputeFundsReinstatedEvent.fromJson,
  'issuing_dispute.submitted': IssuingDisputeSubmittedEvent.fromJson,
  'issuing_dispute.updated': IssuingDisputeUpdatedEvent.fromJson,
  'issuing_token.created': IssuingTokenCreatedEvent.fromJson,
  'issuing_token.updated': IssuingTokenUpdatedEvent.fromJson,
  'issuing_transaction.created': IssuingTransactionCreatedEvent.fromJson,
  'issuing_transaction.updated': IssuingTransactionUpdatedEvent.fromJson,
  'mandate.updated': MandateUpdatedEvent.fromJson,
  'payment_intent.amount_capturable_updated':
      PaymentIntentAmountCapturableUpdatedEvent.fromJson,
  'payment_intent.canceled': PaymentIntentCanceledEvent.fromJson,
  'payment_intent.created': PaymentIntentCreatedEvent.fromJson,
  'payment_intent.partially_funded':
      PaymentIntentPartiallyFundedEvent.fromJson,
  'payment_intent.payment_failed': PaymentIntentPaymentFailedEvent.fromJson,
  'payment_intent.processing': PaymentIntentProcessingEvent.fromJson,
  'payment_intent.requires_action': PaymentIntentRequiresActionEvent.fromJson,
  'payment_intent.succeeded': PaymentIntentSucceededEvent.fromJson,
  'payment_link.created': PaymentLinkCreatedEvent.fromJson,
  'payment_link.updated': PaymentLinkUpdatedEvent.fromJson,
  'payment_method.attached': PaymentMethodAttachedEvent.fromJson,
  'payment_method.automatically_updated':
      PaymentMethodAutomaticallyUpdatedEvent.fromJson,
  'payment_method.detached': PaymentMethodDetachedEvent.fromJson,
  'payment_method.updated': PaymentMethodUpdatedEvent.fromJson,
  'payout.canceled': PayoutCanceledEvent.fromJson,
  'payout.created': PayoutCreatedEvent.fromJson,
  'payout.failed': PayoutFailedEvent.fromJson,
  'payout.paid': PayoutPaidEvent.fromJson,
  'payout.reconciliation_completed':
      PayoutReconciliationCompletedEvent.fromJson,
  'payout.updated': PayoutUpdatedEvent.fromJson,
  'person.created': PersonCreatedEvent.fromJson,
  'person.deleted': PersonDeletedEvent.fromJson,
  'person.updated': PersonUpdatedEvent.fromJson,
  'plan.created': PlanCreatedEvent.fromJson,
  'plan.deleted': PlanDeletedEvent.fromJson,
  'plan.updated': PlanUpdatedEvent.fromJson,
  'price.created': PriceCreatedEvent.fromJson,
  'price.deleted': PriceDeletedEvent.fromJson,
  'price.updated': PriceUpdatedEvent.fromJson,
  'product.created': ProductCreatedEvent.fromJson,
  'product.deleted': ProductDeletedEvent.fromJson,
  'product.updated': ProductUpdatedEvent.fromJson,
  'promotion_code.created': PromotionCodeCreatedEvent.fromJson,
  'promotion_code.updated': PromotionCodeUpdatedEvent.fromJson,
  'quote.accepted': QuoteAcceptedEvent.fromJson,
  'quote.canceled': QuoteCanceledEvent.fromJson,
  'quote.created': QuoteCreatedEvent.fromJson,
  'quote.finalized': QuoteFinalizedEvent.fromJson,
  'radar.early_fraud_warning.created':
      RadarEarlyFraudWarningCreatedEvent.fromJson,
  'radar.early_fraud_warning.updated':
      RadarEarlyFraudWarningUpdatedEvent.fromJson,
  'refund.created': RefundCreatedEvent.fromJson,
  'refund.updated': RefundUpdatedEvent.fromJson,
  'reporting.report_run.failed': ReportingReportRunFailedEvent.fromJson,
  'reporting.report_run.succeeded': ReportingReportRunSucceededEvent.fromJson,
  'reporting.report_type.updated': ReportingReportTypeUpdatedEvent.fromJson,
  'review.closed': ReviewClosedEvent.fromJson,
  'review.opened': ReviewOpenedEvent.fromJson,
  'setup_intent.canceled': SetupIntentCanceledEvent.fromJson,
  'setup_intent.created': SetupIntentCreatedEvent.fromJson,
  'setup_intent.requires_action': SetupIntentRequiresActionEvent.fromJson,
  'setup_intent.setup_failed': SetupIntentSetupFailedEvent.fromJson,
  'setup_intent.succeeded': SetupIntentSucceededEvent.fromJson,
  'sigma.scheduled_query_run.created':
      SigmaScheduledQueryRunCreatedEvent.fromJson,
  'source.canceled': SourceCanceledEvent.fromJson,
  'source.chargeable': SourceChargeableEvent.fromJson,
  'source.failed': SourceFailedEvent.fromJson,
  'source.mandate_notification': SourceMandateNotificationEvent.fromJson,
  'source.refund_attributes_required':
      SourceRefundAttributesRequiredEvent.fromJson,
  'source.transaction.created': SourceTransactionCreatedEvent.fromJson,
  'source.transaction.updated': SourceTransactionUpdatedEvent.fromJson,
  'subscription_schedule.aborted': SubscriptionScheduleAbortedEvent.fromJson,
  'subscription_schedule.canceled':
      SubscriptionScheduleCanceledEvent.fromJson,
  'subscription_schedule.completed':
      SubscriptionScheduleCompletedEvent.fromJson,
  'subscription_schedule.created': SubscriptionScheduleCreatedEvent.fromJson,
  'subscription_schedule.expiring':
      SubscriptionScheduleExpiringEvent.fromJson,
  'subscription_schedule.released':
      SubscriptionScheduleReleasedEvent.fromJson,
  'subscription_schedule.updated': SubscriptionScheduleUpdatedEvent.fromJson,
  'tax.settings.updated': TaxSettingsUpdatedEvent.fromJson,
  'tax_rate.created': TaxRateCreatedEvent.fromJson,
  'tax_rate.updated': TaxRateUpdatedEvent.fromJson,
  'terminal.reader.action_failed': TerminalReaderActionFailedEvent.fromJson,
  'terminal.reader.action_succeeded':
      TerminalReaderActionSucceededEvent.fromJson,
  'test_helpers.test_clock.advancing':
      TestHelpersTestClockAdvancingEvent.fromJson,
  'test_helpers.test_clock.created':
      TestHelpersTestClockCreatedEvent.fromJson,
  'test_helpers.test_clock.deleted':
      TestHelpersTestClockDeletedEvent.fromJson,
  'test_helpers.test_clock.internal_failure':
      TestHelpersTestClockInternalFailureEvent.fromJson,
  'test_helpers.test_clock.ready': TestHelpersTestClockReadyEvent.fromJson,
  'topup.canceled': TopupCanceledEvent.fromJson,
  'topup.created': TopupCreatedEvent.fromJson,
  'topup.failed': TopupFailedEvent.fromJson,
  'topup.reversed': TopupReversedEvent.fromJson,
  'topup.succeeded': TopupSucceededEvent.fromJson,
  'transfer.created': TransferCreatedEvent.fromJson,
  'transfer.reversed': TransferReversedEvent.fromJson,
  'transfer.updated': TransferUpdatedEvent.fromJson,
  'treasury.credit_reversal.created':
      TreasuryCreditReversalCreatedEvent.fromJson,
  'treasury.credit_reversal.posted':
      TreasuryCreditReversalPostedEvent.fromJson,
  'treasury.debit_reversal.completed':
      TreasuryDebitReversalCompletedEvent.fromJson,
  'treasury.debit_reversal.created':
      TreasuryDebitReversalCreatedEvent.fromJson,
  'treasury.debit_reversal.initial_credit_granted':
      TreasuryDebitReversalInitialCreditGrantedEvent.fromJson,
  'treasury.financial_account.closed':
      TreasuryFinancialAccountClosedEvent.fromJson,
  'treasury.financial_account.created':
      TreasuryFinancialAccountCreatedEvent.fromJson,
  'treasury.financial_account.features_status_updated':
      TreasuryFinancialAccountFeaturesStatusUpdatedEvent.fromJson,
  'treasury.inbound_transfer.canceled':
      TreasuryInboundTransferCanceledEvent.fromJson,
  'treasury.inbound_transfer.created':
      TreasuryInboundTransferCreatedEvent.fromJson,
  'treasury.inbound_transfer.failed':
      TreasuryInboundTransferFailedEvent.fromJson,
  'treasury.inbound_transfer.succeeded':
      TreasuryInboundTransferSucceededEvent.fromJson,
  'treasury.outbound_payment.canceled':
      TreasuryOutboundPaymentCanceledEvent.fromJson,
  'treasury.outbound_payment.created':
      TreasuryOutboundPaymentCreatedEvent.fromJson,
  'treasury.outbound_payment.expected_arrival_date_updated':
      TreasuryOutboundPaymentExpectedArrivalDateUpdatedEvent.fromJson,
  'treasury.outbound_payment.failed':
      TreasuryOutboundPaymentFailedEvent.fromJson,
  'treasury.outbound_payment.posted':
      TreasuryOutboundPaymentPostedEvent.fromJson,
  'treasury.outbound_payment.returned':
      TreasuryOutboundPaymentReturnedEvent.fromJson,
  'treasury.outbound_transfer.canceled':
      TreasuryOutboundTransferCanceledEvent.fromJson,
  'treasury.outbound_transfer.created':
      TreasuryOutboundTransferCreatedEvent.fromJson,
  'treasury.outbound_transfer.expected_arrival_date_updated':
      TreasuryOutboundTransferExpectedArrivalDateUpdatedEvent.fromJson,
  'treasury.outbound_transfer.failed':
      TreasuryOutboundTransferFailedEvent.fromJson,
  'treasury.outbound_transfer.posted':
      TreasuryOutboundTransferPostedEvent.fromJson,
  'treasury.outbound_transfer.returned':
      TreasuryOutboundTransferReturnedEvent.fromJson,
  'treasury.received_credit.created':
      TreasuryReceivedCreditCreatedEvent.fromJson,
  'treasury.received_credit.failed':
      TreasuryReceivedCreditFailedEvent.fromJson,
  'treasury.received_credit.succeeded':
      TreasuryReceivedCreditSucceededEvent.fromJson,
  'treasury.received_debit.created':
      TreasuryReceivedDebitCreatedEvent.fromJson,
};