Package com.stripe.model.v2.core
Class EventNotification
java.lang.Object
com.stripe.model.v2.core.EventNotification
- Direct Known Subclasses:
UnknownEventNotification,V1AccountUpdatedEventNotification,V1ApplicationFeeCreatedEventNotification,V1ApplicationFeeRefundedEventNotification,V1BillingMeterErrorReportTriggeredEventNotification,V1BillingMeterNoMeterFoundEventNotification,V1BillingPortalConfigurationCreatedEventNotification,V1BillingPortalConfigurationUpdatedEventNotification,V1CapabilityUpdatedEventNotification,V1ChargeCapturedEventNotification,V1ChargeDisputeClosedEventNotification,V1ChargeDisputeCreatedEventNotification,V1ChargeDisputeFundsReinstatedEventNotification,V1ChargeDisputeFundsWithdrawnEventNotification,V1ChargeDisputeUpdatedEventNotification,V1ChargeExpiredEventNotification,V1ChargeFailedEventNotification,V1ChargePendingEventNotification,V1ChargeRefundedEventNotification,V1ChargeRefundUpdatedEventNotification,V1ChargeSucceededEventNotification,V1ChargeUpdatedEventNotification,V1CheckoutSessionAsyncPaymentFailedEventNotification,V1CheckoutSessionAsyncPaymentSucceededEventNotification,V1CheckoutSessionCompletedEventNotification,V1CheckoutSessionExpiredEventNotification,V1ClimateOrderCanceledEventNotification,V1ClimateOrderCreatedEventNotification,V1ClimateOrderDelayedEventNotification,V1ClimateOrderDeliveredEventNotification,V1ClimateOrderProductSubstitutedEventNotification,V1ClimateProductCreatedEventNotification,V1ClimateProductPricingUpdatedEventNotification,V1CouponCreatedEventNotification,V1CouponDeletedEventNotification,V1CouponUpdatedEventNotification,V1CreditNoteCreatedEventNotification,V1CreditNoteUpdatedEventNotification,V1CreditNoteVoidedEventNotification,V1CustomerCreatedEventNotification,V1CustomerDeletedEventNotification,V1CustomerSubscriptionCreatedEventNotification,V1CustomerSubscriptionDeletedEventNotification,V1CustomerSubscriptionPausedEventNotification,V1CustomerSubscriptionPendingUpdateAppliedEventNotification,V1CustomerSubscriptionPendingUpdateExpiredEventNotification,V1CustomerSubscriptionResumedEventNotification,V1CustomerSubscriptionTrialWillEndEventNotification,V1CustomerSubscriptionUpdatedEventNotification,V1CustomerTaxIdCreatedEventNotification,V1CustomerTaxIdDeletedEventNotification,V1CustomerTaxIdUpdatedEventNotification,V1CustomerUpdatedEventNotification,V1FileCreatedEventNotification,V1FinancialConnectionsAccountCreatedEventNotification,V1FinancialConnectionsAccountDeactivatedEventNotification,V1FinancialConnectionsAccountDisconnectedEventNotification,V1FinancialConnectionsAccountReactivatedEventNotification,V1FinancialConnectionsAccountRefreshedBalanceEventNotification,V1FinancialConnectionsAccountRefreshedOwnershipEventNotification,V1FinancialConnectionsAccountRefreshedTransactionsEventNotification,V1IdentityVerificationSessionCanceledEventNotification,V1IdentityVerificationSessionCreatedEventNotification,V1IdentityVerificationSessionProcessingEventNotification,V1IdentityVerificationSessionRedactedEventNotification,V1IdentityVerificationSessionRequiresInputEventNotification,V1IdentityVerificationSessionVerifiedEventNotification,V1InvoiceCreatedEventNotification,V1InvoiceDeletedEventNotification,V1InvoiceFinalizationFailedEventNotification,V1InvoiceFinalizedEventNotification,V1InvoiceitemCreatedEventNotification,V1InvoiceitemDeletedEventNotification,V1InvoiceMarkedUncollectibleEventNotification,V1InvoiceOverdueEventNotification,V1InvoiceOverpaidEventNotification,V1InvoicePaidEventNotification,V1InvoicePaymentActionRequiredEventNotification,V1InvoicePaymentFailedEventNotification,V1InvoicePaymentPaidEventNotification,V1InvoicePaymentSucceededEventNotification,V1InvoiceSentEventNotification,V1InvoiceUpcomingEventNotification,V1InvoiceUpdatedEventNotification,V1InvoiceVoidedEventNotification,V1InvoiceWillBeDueEventNotification,V1IssuingAuthorizationCreatedEventNotification,V1IssuingAuthorizationRequestEventNotification,V1IssuingAuthorizationUpdatedEventNotification,V1IssuingCardCreatedEventNotification,V1IssuingCardholderCreatedEventNotification,V1IssuingCardholderUpdatedEventNotification,V1IssuingCardUpdatedEventNotification,V1IssuingDisputeClosedEventNotification,V1IssuingDisputeCreatedEventNotification,V1IssuingDisputeFundsReinstatedEventNotification,V1IssuingDisputeFundsRescindedEventNotification,V1IssuingDisputeSubmittedEventNotification,V1IssuingDisputeUpdatedEventNotification,V1IssuingPersonalizationDesignActivatedEventNotification,V1IssuingPersonalizationDesignDeactivatedEventNotification,V1IssuingPersonalizationDesignRejectedEventNotification,V1IssuingPersonalizationDesignUpdatedEventNotification,V1IssuingTokenCreatedEventNotification,V1IssuingTokenUpdatedEventNotification,V1IssuingTransactionCreatedEventNotification,V1IssuingTransactionPurchaseDetailsReceiptUpdatedEventNotification,V1IssuingTransactionUpdatedEventNotification,V1MandateUpdatedEventNotification,V1PaymentIntentAmountCapturableUpdatedEventNotification,V1PaymentIntentCanceledEventNotification,V1PaymentIntentCreatedEventNotification,V1PaymentIntentPartiallyFundedEventNotification,V1PaymentIntentPaymentFailedEventNotification,V1PaymentIntentProcessingEventNotification,V1PaymentIntentRequiresActionEventNotification,V1PaymentIntentSucceededEventNotification,V1PaymentLinkCreatedEventNotification,V1PaymentLinkUpdatedEventNotification,V1PaymentMethodAttachedEventNotification,V1PaymentMethodAutomaticallyUpdatedEventNotification,V1PaymentMethodDetachedEventNotification,V1PaymentMethodUpdatedEventNotification,V1PayoutCanceledEventNotification,V1PayoutCreatedEventNotification,V1PayoutFailedEventNotification,V1PayoutPaidEventNotification,V1PayoutReconciliationCompletedEventNotification,V1PayoutUpdatedEventNotification,V1PersonCreatedEventNotification,V1PersonDeletedEventNotification,V1PersonUpdatedEventNotification,V1PlanCreatedEventNotification,V1PlanDeletedEventNotification,V1PlanUpdatedEventNotification,V1PriceCreatedEventNotification,V1PriceDeletedEventNotification,V1PriceUpdatedEventNotification,V1ProductCreatedEventNotification,V1ProductDeletedEventNotification,V1ProductUpdatedEventNotification,V1PromotionCodeCreatedEventNotification,V1PromotionCodeUpdatedEventNotification,V1QuoteAcceptedEventNotification,V1QuoteCanceledEventNotification,V1QuoteCreatedEventNotification,V1QuoteFinalizedEventNotification,V1RadarEarlyFraudWarningCreatedEventNotification,V1RadarEarlyFraudWarningUpdatedEventNotification,V1RefundCreatedEventNotification,V1RefundFailedEventNotification,V1RefundUpdatedEventNotification,V1ReviewClosedEventNotification,V1ReviewOpenedEventNotification,V1SetupIntentCanceledEventNotification,V1SetupIntentCreatedEventNotification,V1SetupIntentRequiresActionEventNotification,V1SetupIntentSetupFailedEventNotification,V1SetupIntentSucceededEventNotification,V1SigmaScheduledQueryRunCreatedEventNotification,V1SourceCanceledEventNotification,V1SourceChargeableEventNotification,V1SourceFailedEventNotification,V1SourceRefundAttributesRequiredEventNotification,V1SubscriptionScheduleAbortedEventNotification,V1SubscriptionScheduleCanceledEventNotification,V1SubscriptionScheduleCompletedEventNotification,V1SubscriptionScheduleCreatedEventNotification,V1SubscriptionScheduleExpiringEventNotification,V1SubscriptionScheduleReleasedEventNotification,V1SubscriptionScheduleUpdatedEventNotification,V1TaxRateCreatedEventNotification,V1TaxRateUpdatedEventNotification,V1TerminalReaderActionFailedEventNotification,V1TerminalReaderActionSucceededEventNotification,V1TerminalReaderActionUpdatedEventNotification,V1TestHelpersTestClockAdvancingEventNotification,V1TestHelpersTestClockCreatedEventNotification,V1TestHelpersTestClockDeletedEventNotification,V1TestHelpersTestClockInternalFailureEventNotification,V1TestHelpersTestClockReadyEventNotification,V1TopupCanceledEventNotification,V1TopupCreatedEventNotification,V1TopupFailedEventNotification,V1TopupReversedEventNotification,V1TopupSucceededEventNotification,V1TransferCreatedEventNotification,V1TransferReversedEventNotification,V1TransferUpdatedEventNotification,V2BillingCadenceBilledEventNotification,V2BillingCadenceCanceledEventNotification,V2BillingCadenceCreatedEventNotification,V2BillingLicensedItemCreatedEventNotification,V2BillingLicensedItemUpdatedEventNotification,V2BillingLicenseFeeCreatedEventNotification,V2BillingLicenseFeeUpdatedEventNotification,V2BillingLicenseFeeVersionCreatedEventNotification,V2BillingMeteredItemCreatedEventNotification,V2BillingMeteredItemUpdatedEventNotification,V2BillingPricingPlanComponentCreatedEventNotification,V2BillingPricingPlanComponentUpdatedEventNotification,V2BillingPricingPlanCreatedEventNotification,V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEventNotification,V2BillingPricingPlanSubscriptionCollectionCurrentEventNotification,V2BillingPricingPlanSubscriptionCollectionPastDueEventNotification,V2BillingPricingPlanSubscriptionCollectionPausedEventNotification,V2BillingPricingPlanSubscriptionCollectionUnpaidEventNotification,V2BillingPricingPlanSubscriptionServicingActivatedEventNotification,V2BillingPricingPlanSubscriptionServicingCanceledEventNotification,V2BillingPricingPlanSubscriptionServicingPausedEventNotification,V2BillingPricingPlanUpdatedEventNotification,V2BillingPricingPlanVersionCreatedEventNotification,V2BillingRateCardCreatedEventNotification,V2BillingRateCardRateCreatedEventNotification,V2BillingRateCardSubscriptionActivatedEventNotification,V2BillingRateCardSubscriptionCanceledEventNotification,V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEventNotification,V2BillingRateCardSubscriptionCollectionCurrentEventNotification,V2BillingRateCardSubscriptionCollectionPastDueEventNotification,V2BillingRateCardSubscriptionCollectionPausedEventNotification,V2BillingRateCardSubscriptionCollectionUnpaidEventNotification,V2BillingRateCardSubscriptionServicingActivatedEventNotification,V2BillingRateCardSubscriptionServicingCanceledEventNotification,V2BillingRateCardSubscriptionServicingPausedEventNotification,V2BillingRateCardUpdatedEventNotification,V2BillingRateCardVersionCreatedEventNotification,V2CoreAccountClosedEventNotification,V2CoreAccountCreatedEventNotification,V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventNotification,V2CoreAccountIncludingConfigurationCardCreatorUpdatedEventNotification,V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification,V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification,V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification,V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification,V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification,V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification,V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification,V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification,V2CoreAccountIncludingDefaultsUpdatedEventNotification,V2CoreAccountIncludingIdentityUpdatedEventNotification,V2CoreAccountIncludingRequirementsUpdatedEventNotification,V2CoreAccountLinkReturnedEventNotification,V2CoreAccountPersonCreatedEventNotification,V2CoreAccountPersonDeletedEventNotification,V2CoreAccountPersonUpdatedEventNotification,V2CoreAccountUpdatedEventNotification,V2CoreClaimableSandboxClaimedEventNotification,V2CoreClaimableSandboxCreatedEventNotification,V2CoreClaimableSandboxExpiredEventNotification,V2CoreClaimableSandboxExpiringEventNotification,V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEventNotification,V2CoreEventDestinationPingEventNotification,V2CoreHealthApiErrorFiringEventNotification,V2CoreHealthApiErrorResolvedEventNotification,V2CoreHealthApiLatencyFiringEventNotification,V2CoreHealthApiLatencyResolvedEventNotification,V2CoreHealthAuthorizationRateDropFiringEventNotification,V2CoreHealthAuthorizationRateDropResolvedEventNotification,V2CoreHealthEventGenerationFailureResolvedEventNotification,V2CoreHealthFraudRateIncreasedEventNotification,V2CoreHealthIssuingAuthorizationRequestErrorsFiringEventNotification,V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEventNotification,V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEventNotification,V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEventNotification,V2CoreHealthPaymentMethodErrorFiringEventNotification,V2CoreHealthPaymentMethodErrorResolvedEventNotification,V2CoreHealthTrafficVolumeDropFiringEventNotification,V2CoreHealthTrafficVolumeDropResolvedEventNotification,V2CoreHealthWebhookLatencyFiringEventNotification,V2CoreHealthWebhookLatencyResolvedEventNotification,V2MoneyManagementAdjustmentCreatedEventNotification,V2MoneyManagementFinancialAccountCreatedEventNotification,V2MoneyManagementFinancialAccountUpdatedEventNotification,V2MoneyManagementFinancialAddressActivatedEventNotification,V2MoneyManagementFinancialAddressFailedEventNotification,V2MoneyManagementInboundTransferAvailableEventNotification,V2MoneyManagementInboundTransferBankDebitFailedEventNotification,V2MoneyManagementInboundTransferBankDebitProcessingEventNotification,V2MoneyManagementInboundTransferBankDebitQueuedEventNotification,V2MoneyManagementInboundTransferBankDebitReturnedEventNotification,V2MoneyManagementInboundTransferBankDebitSucceededEventNotification,V2MoneyManagementOutboundPaymentCanceledEventNotification,V2MoneyManagementOutboundPaymentCreatedEventNotification,V2MoneyManagementOutboundPaymentFailedEventNotification,V2MoneyManagementOutboundPaymentPostedEventNotification,V2MoneyManagementOutboundPaymentReturnedEventNotification,V2MoneyManagementOutboundPaymentUpdatedEventNotification,V2MoneyManagementOutboundTransferCanceledEventNotification,V2MoneyManagementOutboundTransferCreatedEventNotification,V2MoneyManagementOutboundTransferFailedEventNotification,V2MoneyManagementOutboundTransferPostedEventNotification,V2MoneyManagementOutboundTransferReturnedEventNotification,V2MoneyManagementOutboundTransferUpdatedEventNotification,V2MoneyManagementPayoutMethodUpdatedEventNotification,V2MoneyManagementReceivedCreditAvailableEventNotification,V2MoneyManagementReceivedCreditFailedEventNotification,V2MoneyManagementReceivedCreditReturnedEventNotification,V2MoneyManagementReceivedCreditSucceededEventNotification,V2MoneyManagementReceivedDebitCanceledEventNotification,V2MoneyManagementReceivedDebitFailedEventNotification,V2MoneyManagementReceivedDebitPendingEventNotification,V2MoneyManagementReceivedDebitSucceededEventNotification,V2MoneyManagementReceivedDebitUpdatedEventNotification,V2MoneyManagementRecipientVerificationCreatedEventNotification,V2MoneyManagementRecipientVerificationUpdatedEventNotification,V2MoneyManagementTransactionCreatedEventNotification,V2MoneyManagementTransactionUpdatedEventNotification,V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEventNotification,V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEventNotification,V2PaymentsOffSessionPaymentCanceledEventNotification,V2PaymentsOffSessionPaymentCreatedEventNotification,V2PaymentsOffSessionPaymentFailedEventNotification,V2PaymentsOffSessionPaymentRequiresCaptureEventNotification,V2PaymentsOffSessionPaymentSucceededEventNotification
`EventNotification` represents the common properties for json that's delivered from an Event
Destination. A concrete child of `EventNotification` will be returned from
`StripeClient.parseEventNotificaion()`. You will likely want to cast that object to a more
specific child of `EventNotification`, like `PushedV1BillingMeterErrorReportTriggeredEvent`
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classFor more details about Request, please refer to the API Reference. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StripeClient[Optional] Authentication context needed to fetch the event or related object.Time at which the object was created.Unique identifier for the event.Livemode indicates if the event is from a production(true) or test(false) account.[Optional] Reason for the event.The type of the event. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Eventprotected StripeObjectfetchRelatedObject(Event.RelatedObject relatedObject) Retrieves the object associated with the event.static EventNotificationfromJson(String payload, StripeClient client) Helper for constructing an Event Notification.[Optional] Authentication context needed to fetch the event or related object.Time at which the object was created.getId()Unique identifier for the event.Livemode indicates if the event is from a production(true) or test(false) account.[Optional] Reason for the event.getType()The type of the event.
-
Field Details
-
id
Unique identifier for the event. -
type
The type of the event. -
created
Time at which the object was created. -
livemode
Livemode indicates if the event is from a production(true) or test(false) account. -
context
[Optional] Authentication context needed to fetch the event or related object. -
reason
[Optional] Reason for the event. -
client
-
-
Constructor Details
-
EventNotification
public EventNotification()
-
-
Method Details
-
fromJson
Helper for constructing an Event Notification. Doesn't perform signature validation, so you should useStripeClient.parseEventNotification(java.lang.String, java.lang.String, java.lang.String)instead for initial handling. This is useful in unit tests and working with EventNotifications that you've already validated the authenticity of. -
fetchEvent
- Throws:
StripeException
-
fetchRelatedObject
Retrieves the object associated with the event.- Throws:
StripeException
-
getId
Unique identifier for the event. -
getType
The type of the event. -
getCreated
Time at which the object was created. -
getLivemode
Livemode indicates if the event is from a production(true) or test(false) account. -
getContext
[Optional] Authentication context needed to fetch the event or related object. -
getReason
[Optional] Reason for the event.
-