Class ThinEvent

java.lang.Object
com.stripe.model.ThinEvent

public class ThinEvent extends Object
ThinEvent represents the json that's delivered from an Event Destination. It's a basic class with no additional methods or properties. Use it to check basic information about a delivered event. If you want more details, use `stripeClient.v2().core().events().retrieve(thin_event.id)` to fetch the full event object.
  • 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 String context
      [Optional] Authentication context needed to fetch the event or related object.
    • relatedObject

      @SerializedName("related_object") public ThinEventRelatedObject relatedObject
      [Optional] Object containing the reference to API resource relevant to the event.
    • reason

      @SerializedName("reason") public Event.Reason reason
      [Optional] Reason for the event.
  • Constructor Details

    • ThinEvent

      public ThinEvent()
  • Method Details

    • getId

      public String getId()
      Unique identifier for the event.
    • getType

      public String getType()
      The type of the event.
    • getCreated

      public Instant getCreated()
      Time at which the object was created.
    • getLivemode

      public Boolean getLivemode()
      Livemode indicates if the event is from a production(true) or test(false) account.
    • getContext

      public String getContext()
      [Optional] Authentication context needed to fetch the event or related object.
    • getRelatedObject

      public ThinEventRelatedObject getRelatedObject()
      [Optional] Object containing the reference to API resource relevant to the event.
    • getReason

      public Event.Reason getReason()
      [Optional] Reason for the event.