Class EventNotification

java.lang.Object
com.stripe.model.v2.core.EventNotification
Direct Known Subclasses:
UnknownEventNotification, V1BillingMeterErrorReportTriggeredEventNotification, V1BillingMeterNoMeterFoundEventNotification, V2CoreAccountClosedEventNotification, V2CoreAccountCreatedEventNotification, V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification, V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification, V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification, V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification, V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification, V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification, V2CoreAccountIncludingDefaultsUpdatedEventNotification, V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification, V2CoreAccountIncludingIdentityUpdatedEventNotification, V2CoreAccountIncludingRequirementsUpdatedEventNotification, V2CoreAccountLinkReturnedEventNotification, V2CoreAccountPersonCreatedEventNotification, V2CoreAccountPersonDeletedEventNotification, V2CoreAccountPersonUpdatedEventNotification, V2CoreAccountUpdatedEventNotification, V2CoreEventDestinationPingEventNotification, V2CoreHealthEventGenerationFailureResolvedEventNotification, V2MoneyManagementAdjustmentCreatedEventNotification, V2MoneyManagementFinancialAccountCreatedEventNotification, V2MoneyManagementFinancialAccountUpdatedEventNotification, V2MoneyManagementFinancialAddressActivatedEventNotification, V2MoneyManagementFinancialAddressFailedEventNotification, V2MoneyManagementInboundTransferAvailableEventNotification, V2MoneyManagementInboundTransferBankDebitFailedEventNotification, V2MoneyManagementInboundTransferBankDebitProcessingEventNotification, V2MoneyManagementInboundTransferBankDebitQueuedEventNotification, V2MoneyManagementInboundTransferBankDebitReturnedEventNotification, V2MoneyManagementInboundTransferBankDebitSucceededEventNotification, V2MoneyManagementOutboundPaymentCanceledEventNotification, V2MoneyManagementOutboundPaymentCreatedEventNotification, V2MoneyManagementOutboundPaymentFailedEventNotification, V2MoneyManagementOutboundPaymentPostedEventNotification, V2MoneyManagementOutboundPaymentReturnedEventNotification, V2MoneyManagementOutboundPaymentUpdatedEventNotification, V2MoneyManagementOutboundTransferCanceledEventNotification, V2MoneyManagementOutboundTransferCreatedEventNotification, V2MoneyManagementOutboundTransferFailedEventNotification, V2MoneyManagementOutboundTransferPostedEventNotification, V2MoneyManagementOutboundTransferReturnedEventNotification, V2MoneyManagementOutboundTransferUpdatedEventNotification, V2MoneyManagementPayoutMethodCreatedEventNotification, V2MoneyManagementPayoutMethodUpdatedEventNotification, V2MoneyManagementReceivedCreditAvailableEventNotification, V2MoneyManagementReceivedCreditFailedEventNotification, V2MoneyManagementReceivedCreditReturnedEventNotification, V2MoneyManagementReceivedCreditSucceededEventNotification, V2MoneyManagementReceivedDebitCanceledEventNotification, V2MoneyManagementReceivedDebitFailedEventNotification, V2MoneyManagementReceivedDebitPendingEventNotification, V2MoneyManagementReceivedDebitSucceededEventNotification, V2MoneyManagementReceivedDebitUpdatedEventNotification, V2MoneyManagementTransactionCreatedEventNotification, V2MoneyManagementTransactionUpdatedEventNotification

public abstract class EventNotification extends Object
`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`
  • Field Details

    • id

      @SerializedName("id") public String id
      Unique identifier for the event.
    • type

      @SerializedName("type") public String type
      The type of the event.
    • created

      @SerializedName("created") public Instant created
      Time at which the object was created.
    • livemode

      @SerializedName("livemode") public Boolean livemode
      Livemode indicates if the event is from a production(true) or test(false) account.
    • context

      @SerializedName("context") public StripeContext context
      [Optional] Authentication context needed to fetch the event or related object.
    • reason

      @SerializedName("reason") public EventNotification.Reason reason
      [Optional] Reason for the event.
    • client

      protected transient StripeClient client
  • Constructor Details

    • EventNotification

      public EventNotification()
  • Method Details