Class EventRequest

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.EventRequest
All Implemented Interfaces:
HasId, StripeObjectInterface

public class EventRequest extends StripeObject implements HasId
  • Constructor Details

    • EventRequest

      public EventRequest()
  • Method Details

    • getIdempotencyKey

      public String getIdempotencyKey()
      The idempotency key transmitted during the request, if any. Note: This property is populated only for events on or after May 23, 2017.
    • setId

      public void setId(String id)
      ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the dashboard, but currently not in the API.
    • setIdempotencyKey

      public void setIdempotencyKey(String idempotencyKey)
      The idempotency key transmitted during the request, if any. Note: This property is populated only for events on or after May 23, 2017.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the dashboard, but currently not in the API.
      Specified by:
      getId in interface HasId