$mapping constant

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

Implementation

static const Map<String, StripeEvent Function(Object?)> $mapping = {
  'account.application.authorized':
      AccountApplicationDeauthorizedEvent.fromJson,
  'account.application.deauthorized':
      AccountApplicationDeauthorizedEvent.fromJson,
  'account.external_account.created': CustomerSourceUpdatedEvent.fromJson,
  'account.external_account.deleted': CustomerSourceUpdatedEvent.fromJson,
  'account.external_account.updated': CustomerSourceUpdatedEvent.fromJson,
  'account.updated': AccountUpdatedEvent.fromJson,
  'application_fee.created': ApplicationFeeRefundedEvent.fromJson,
  'application_fee.refund.updated': ApplicationFeeRefundUpdatedEvent.fromJson,
  'application_fee.refunded': ApplicationFeeRefundedEvent.fromJson,
  'balance.available': BalanceAvailableEvent.fromJson,
  'billing_portal.configuration.created':
      BillingPortalConfigurationUpdatedEvent.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': ChargeUpdatedEvent.fromJson,
  'charge.dispute.closed': ChargeDisputeUpdatedEvent.fromJson,
  'charge.dispute.created': ChargeDisputeUpdatedEvent.fromJson,
  'charge.dispute.funds_reinstated': ChargeDisputeUpdatedEvent.fromJson,
  'charge.dispute.funds_withdrawn': ChargeDisputeUpdatedEvent.fromJson,
  'charge.dispute.updated': ChargeDisputeUpdatedEvent.fromJson,
  'charge.expired': ChargeUpdatedEvent.fromJson,
  'charge.failed': ChargeUpdatedEvent.fromJson,
  'charge.pending': ChargeUpdatedEvent.fromJson,
  'charge.refund.updated': RefundUpdatedEvent.fromJson,
  'charge.refunded': ChargeUpdatedEvent.fromJson,
  'charge.succeeded': ChargeUpdatedEvent.fromJson,
  'charge.updated': ChargeUpdatedEvent.fromJson,
  'checkout.session.async_payment_failed':
      CheckoutSessionExpiredEvent.fromJson,
  'checkout.session.async_payment_succeeded':
      CheckoutSessionExpiredEvent.fromJson,
  'checkout.session.completed': CheckoutSessionExpiredEvent.fromJson,
  'checkout.session.expired': CheckoutSessionExpiredEvent.fromJson,
  'climate.order.canceled': ClimateOrderProductSubstitutedEvent.fromJson,
  'climate.order.created': ClimateOrderProductSubstitutedEvent.fromJson,
  'climate.order.delayed': ClimateOrderProductSubstitutedEvent.fromJson,
  'climate.order.delivered': ClimateOrderProductSubstitutedEvent.fromJson,
  'climate.order.product_substituted':
      ClimateOrderProductSubstitutedEvent.fromJson,
  'climate.product.created': ClimateProductPricingUpdatedEvent.fromJson,
  'climate.product.pricing_updated':
      ClimateProductPricingUpdatedEvent.fromJson,
  'coupon.created': CouponUpdatedEvent.fromJson,
  'coupon.deleted': CouponUpdatedEvent.fromJson,
  'coupon.updated': CouponUpdatedEvent.fromJson,
  'credit_note.created': CreditNoteVoidedEvent.fromJson,
  'credit_note.updated': CreditNoteVoidedEvent.fromJson,
  'credit_note.voided': CreditNoteVoidedEvent.fromJson,
  'customer.created': CustomerUpdatedEvent.fromJson,
  'customer.deleted': CustomerUpdatedEvent.fromJson,
  'customer.discount.created': CustomerDiscountUpdatedEvent.fromJson,
  'customer.discount.deleted': CustomerDiscountUpdatedEvent.fromJson,
  'customer.discount.updated': CustomerDiscountUpdatedEvent.fromJson,
  'customer.source.created': CustomerSourceUpdatedEvent.fromJson,
  'customer.source.deleted': CustomerSourceUpdatedEvent.fromJson,
  'customer.source.expiring': CustomerSourceExpiringEvent.fromJson,
  'customer.source.updated': CustomerSourceUpdatedEvent.fromJson,
  'customer.subscription.created': CustomerSubscriptionUpdatedEvent.fromJson,
  'customer.subscription.deleted': CustomerSubscriptionUpdatedEvent.fromJson,
  'customer.subscription.paused': CustomerSubscriptionUpdatedEvent.fromJson,
  'customer.subscription.pending_update_applied':
      CustomerSubscriptionUpdatedEvent.fromJson,
  'customer.subscription.pending_update_expired':
      CustomerSubscriptionUpdatedEvent.fromJson,
  'customer.subscription.resumed': CustomerSubscriptionUpdatedEvent.fromJson,
  'customer.subscription.trial_will_end':
      CustomerSubscriptionUpdatedEvent.fromJson,
  'customer.subscription.updated': CustomerSubscriptionUpdatedEvent.fromJson,
  'customer.tax_id.created': CustomerTaxIdUpdatedEvent.fromJson,
  'customer.tax_id.deleted': CustomerTaxIdUpdatedEvent.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':
      FinancialConnectionsAccountRefreshedTransactionsEvent.fromJson,
  'financial_connections.account.deactivated':
      FinancialConnectionsAccountRefreshedTransactionsEvent.fromJson,
  'financial_connections.account.disconnected':
      FinancialConnectionsAccountRefreshedTransactionsEvent.fromJson,
  'financial_connections.account.reactivated':
      FinancialConnectionsAccountRefreshedTransactionsEvent.fromJson,
  'financial_connections.account.refreshed_balance':
      FinancialConnectionsAccountRefreshedTransactionsEvent.fromJson,
  'financial_connections.account.refreshed_ownership':
      FinancialConnectionsAccountRefreshedTransactionsEvent.fromJson,
  'financial_connections.account.refreshed_transactions':
      FinancialConnectionsAccountRefreshedTransactionsEvent.fromJson,
  'identity.verification_session.canceled':
      IdentityVerificationSessionVerifiedEvent.fromJson,
  'identity.verification_session.created':
      IdentityVerificationSessionVerifiedEvent.fromJson,
  'identity.verification_session.processing':
      IdentityVerificationSessionVerifiedEvent.fromJson,
  'identity.verification_session.redacted':
      IdentityVerificationSessionVerifiedEvent.fromJson,
  'identity.verification_session.requires_input':
      IdentityVerificationSessionVerifiedEvent.fromJson,
  'identity.verification_session.verified':
      IdentityVerificationSessionVerifiedEvent.fromJson,
  'invoice.created': InvoiceVoidedEvent.fromJson,
  'invoice.deleted': InvoiceVoidedEvent.fromJson,
  'invoice.finalization_failed': InvoiceVoidedEvent.fromJson,
  'invoice.finalized': InvoiceVoidedEvent.fromJson,
  'invoice.marked_uncollectible': InvoiceVoidedEvent.fromJson,
  'invoice.paid': InvoiceVoidedEvent.fromJson,
  'invoice.payment_action_required': InvoiceVoidedEvent.fromJson,
  'invoice.payment_failed': InvoiceVoidedEvent.fromJson,
  'invoice.payment_succeeded': InvoiceVoidedEvent.fromJson,
  'invoice.sent': InvoiceVoidedEvent.fromJson,
  'invoice.upcoming': InvoiceVoidedEvent.fromJson,
  'invoice.updated': InvoiceVoidedEvent.fromJson,
  'invoice.voided': InvoiceVoidedEvent.fromJson,
  'invoiceitem.created': InvoiceitemDeletedEvent.fromJson,
  'invoiceitem.deleted': InvoiceitemDeletedEvent.fromJson,
  'issuing_authorization.created': IssuingAuthorizationUpdatedEvent.fromJson,
  'issuing_authorization.request': IssuingAuthorizationUpdatedEvent.fromJson,
  'issuing_authorization.updated': IssuingAuthorizationUpdatedEvent.fromJson,
  'issuing_card.created': IssuingCardUpdatedEvent.fromJson,
  'issuing_card.updated': IssuingCardUpdatedEvent.fromJson,
  'issuing_cardholder.created': IssuingCardholderUpdatedEvent.fromJson,
  'issuing_cardholder.updated': IssuingCardholderUpdatedEvent.fromJson,
  'issuing_dispute.closed': IssuingDisputeUpdatedEvent.fromJson,
  'issuing_dispute.created': IssuingDisputeUpdatedEvent.fromJson,
  'issuing_dispute.funds_reinstated': IssuingDisputeUpdatedEvent.fromJson,
  'issuing_dispute.submitted': IssuingDisputeUpdatedEvent.fromJson,
  'issuing_dispute.updated': IssuingDisputeUpdatedEvent.fromJson,
  'issuing_token.created': IssuingTokenUpdatedEvent.fromJson,
  'issuing_token.updated': IssuingTokenUpdatedEvent.fromJson,
  'issuing_transaction.created': IssuingTransactionUpdatedEvent.fromJson,
  'issuing_transaction.updated': IssuingTransactionUpdatedEvent.fromJson,
  'mandate.updated': MandateUpdatedEvent.fromJson,
  'payment_intent.amount_capturable_updated':
      PaymentIntentSucceededEvent.fromJson,
  'payment_intent.canceled': PaymentIntentSucceededEvent.fromJson,
  'payment_intent.created': PaymentIntentSucceededEvent.fromJson,
  'payment_intent.partially_funded': PaymentIntentSucceededEvent.fromJson,
  'payment_intent.payment_failed': PaymentIntentSucceededEvent.fromJson,
  'payment_intent.processing': PaymentIntentSucceededEvent.fromJson,
  'payment_intent.requires_action': PaymentIntentSucceededEvent.fromJson,
  'payment_intent.succeeded': PaymentIntentSucceededEvent.fromJson,
  'payment_link.created': PaymentLinkUpdatedEvent.fromJson,
  'payment_link.updated': PaymentLinkUpdatedEvent.fromJson,
  'payment_method.attached': PaymentMethodUpdatedEvent.fromJson,
  'payment_method.automatically_updated': PaymentMethodUpdatedEvent.fromJson,
  'payment_method.detached': PaymentMethodUpdatedEvent.fromJson,
  'payment_method.updated': PaymentMethodUpdatedEvent.fromJson,
  'payout.canceled': PayoutUpdatedEvent.fromJson,
  'payout.created': PayoutUpdatedEvent.fromJson,
  'payout.failed': PayoutUpdatedEvent.fromJson,
  'payout.paid': PayoutUpdatedEvent.fromJson,
  'payout.reconciliation_completed': PayoutUpdatedEvent.fromJson,
  'payout.updated': PayoutUpdatedEvent.fromJson,
  'person.created': PersonUpdatedEvent.fromJson,
  'person.deleted': PersonUpdatedEvent.fromJson,
  'person.updated': PersonUpdatedEvent.fromJson,
  'plan.created': PlanUpdatedEvent.fromJson,
  'plan.deleted': PlanUpdatedEvent.fromJson,
  'plan.updated': PlanUpdatedEvent.fromJson,
  'price.created': PriceUpdatedEvent.fromJson,
  'price.deleted': PriceUpdatedEvent.fromJson,
  'price.updated': PriceUpdatedEvent.fromJson,
  'product.created': ProductUpdatedEvent.fromJson,
  'product.deleted': ProductUpdatedEvent.fromJson,
  'product.updated': ProductUpdatedEvent.fromJson,
  'promotion_code.created': PromotionCodeUpdatedEvent.fromJson,
  'promotion_code.updated': PromotionCodeUpdatedEvent.fromJson,
  'quote.accepted': QuoteFinalizedEvent.fromJson,
  'quote.canceled': QuoteFinalizedEvent.fromJson,
  'quote.created': QuoteFinalizedEvent.fromJson,
  'quote.finalized': QuoteFinalizedEvent.fromJson,
  'radar.early_fraud_warning.created':
      RadarEarlyFraudWarningUpdatedEvent.fromJson,
  'radar.early_fraud_warning.updated':
      RadarEarlyFraudWarningUpdatedEvent.fromJson,
  'refund.created': RefundUpdatedEvent.fromJson,
  'refund.updated': RefundUpdatedEvent.fromJson,
  'reporting.report_run.failed': ReportingReportRunSucceededEvent.fromJson,
  'reporting.report_run.succeeded': ReportingReportRunSucceededEvent.fromJson,
  'reporting.report_type.updated': ReportingReportTypeUpdatedEvent.fromJson,
  'review.closed': ReviewOpenedEvent.fromJson,
  'review.opened': ReviewOpenedEvent.fromJson,
  'setup_intent.canceled': SetupIntentSucceededEvent.fromJson,
  'setup_intent.created': SetupIntentSucceededEvent.fromJson,
  'setup_intent.requires_action': SetupIntentSucceededEvent.fromJson,
  'setup_intent.setup_failed': SetupIntentSucceededEvent.fromJson,
  'setup_intent.succeeded': SetupIntentSucceededEvent.fromJson,
  'sigma.scheduled_query_run.created':
      SigmaScheduledQueryRunCreatedEvent.fromJson,
  'source.canceled': SourceRefundAttributesRequiredEvent.fromJson,
  'source.chargeable': SourceRefundAttributesRequiredEvent.fromJson,
  'source.failed': SourceRefundAttributesRequiredEvent.fromJson,
  'source.mandate_notification': SourceMandateNotificationEvent.fromJson,
  'source.refund_attributes_required':
      SourceRefundAttributesRequiredEvent.fromJson,
  'source.transaction.created': SourceTransactionUpdatedEvent.fromJson,
  'source.transaction.updated': SourceTransactionUpdatedEvent.fromJson,
  'subscription_schedule.aborted': SubscriptionScheduleUpdatedEvent.fromJson,
  'subscription_schedule.canceled': SubscriptionScheduleUpdatedEvent.fromJson,
  'subscription_schedule.completed':
      SubscriptionScheduleUpdatedEvent.fromJson,
  'subscription_schedule.created': SubscriptionScheduleUpdatedEvent.fromJson,
  'subscription_schedule.expiring': SubscriptionScheduleUpdatedEvent.fromJson,
  'subscription_schedule.released': SubscriptionScheduleUpdatedEvent.fromJson,
  'subscription_schedule.updated': SubscriptionScheduleUpdatedEvent.fromJson,
  'tax.settings.updated': TaxSettingsUpdatedEvent.fromJson,
  'tax_rate.created': TaxRateUpdatedEvent.fromJson,
  'tax_rate.updated': TaxRateUpdatedEvent.fromJson,
  'terminal.reader.action_failed':
      TerminalReaderActionSucceededEvent.fromJson,
  'terminal.reader.action_succeeded':
      TerminalReaderActionSucceededEvent.fromJson,
  'test_helpers.test_clock.advancing':
      TestHelpersTestClockReadyEvent.fromJson,
  'test_helpers.test_clock.created': TestHelpersTestClockReadyEvent.fromJson,
  'test_helpers.test_clock.deleted': TestHelpersTestClockReadyEvent.fromJson,
  'test_helpers.test_clock.internal_failure':
      TestHelpersTestClockReadyEvent.fromJson,
  'test_helpers.test_clock.ready': TestHelpersTestClockReadyEvent.fromJson,
  'topup.canceled': TopupSucceededEvent.fromJson,
  'topup.created': TopupSucceededEvent.fromJson,
  'topup.failed': TopupSucceededEvent.fromJson,
  'topup.reversed': TopupSucceededEvent.fromJson,
  'topup.succeeded': TopupSucceededEvent.fromJson,
  'transfer.created': TransferUpdatedEvent.fromJson,
  'transfer.reversed': TransferUpdatedEvent.fromJson,
  'transfer.updated': TransferUpdatedEvent.fromJson,
  'treasury.credit_reversal.created':
      TreasuryCreditReversalPostedEvent.fromJson,
  'treasury.credit_reversal.posted':
      TreasuryCreditReversalPostedEvent.fromJson,
  'treasury.debit_reversal.completed':
      TreasuryDebitReversalInitialCreditGrantedEvent.fromJson,
  'treasury.debit_reversal.created':
      TreasuryDebitReversalInitialCreditGrantedEvent.fromJson,
  'treasury.debit_reversal.initial_credit_granted':
      TreasuryDebitReversalInitialCreditGrantedEvent.fromJson,
  'treasury.financial_account.closed':
      TreasuryFinancialAccountFeaturesStatusUpdatedEvent.fromJson,
  'treasury.financial_account.created':
      TreasuryFinancialAccountFeaturesStatusUpdatedEvent.fromJson,
  'treasury.financial_account.features_status_updated':
      TreasuryFinancialAccountFeaturesStatusUpdatedEvent.fromJson,
  'treasury.inbound_transfer.canceled':
      TreasuryInboundTransferSucceededEvent.fromJson,
  'treasury.inbound_transfer.created':
      TreasuryInboundTransferSucceededEvent.fromJson,
  'treasury.inbound_transfer.failed':
      TreasuryInboundTransferSucceededEvent.fromJson,
  'treasury.inbound_transfer.succeeded':
      TreasuryInboundTransferSucceededEvent.fromJson,
  'treasury.outbound_payment.canceled':
      TreasuryOutboundPaymentReturnedEvent.fromJson,
  'treasury.outbound_payment.created':
      TreasuryOutboundPaymentReturnedEvent.fromJson,
  'treasury.outbound_payment.expected_arrival_date_updated':
      TreasuryOutboundPaymentReturnedEvent.fromJson,
  'treasury.outbound_payment.failed':
      TreasuryOutboundPaymentReturnedEvent.fromJson,
  'treasury.outbound_payment.posted':
      TreasuryOutboundPaymentReturnedEvent.fromJson,
  'treasury.outbound_payment.returned':
      TreasuryOutboundPaymentReturnedEvent.fromJson,
  'treasury.outbound_transfer.canceled':
      TreasuryOutboundTransferReturnedEvent.fromJson,
  'treasury.outbound_transfer.created':
      TreasuryOutboundTransferReturnedEvent.fromJson,
  'treasury.outbound_transfer.expected_arrival_date_updated':
      TreasuryOutboundTransferReturnedEvent.fromJson,
  'treasury.outbound_transfer.failed':
      TreasuryOutboundTransferReturnedEvent.fromJson,
  'treasury.outbound_transfer.posted':
      TreasuryOutboundTransferReturnedEvent.fromJson,
  'treasury.outbound_transfer.returned':
      TreasuryOutboundTransferReturnedEvent.fromJson,
  'treasury.received_credit.created':
      TreasuryReceivedCreditSucceededEvent.fromJson,
  'treasury.received_credit.failed':
      TreasuryReceivedCreditSucceededEvent.fromJson,
  'treasury.received_credit.succeeded':
      TreasuryReceivedCreditSucceededEvent.fromJson,
  'treasury.received_debit.created':
      TreasuryReceivedDebitCreatedEvent.fromJson,
};