Class EventNotification

java.lang.Object
com.stripe.model.v2.core.EventNotification
Direct Known Subclasses:
UnknownEventNotification, V1BillingMeterErrorReportTriggeredEventNotification, V1BillingMeterNoMeterFoundEventNotification, V2CoreEventDestinationPingEventNotification

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