Package com.stripe.model
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
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description EventRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetId()ID of the API request that caused the event.java.lang.StringgetIdempotencyKey()The idempotency key transmitted during the request, if any.inthashCode()voidsetId(java.lang.String id)ID of the API request that caused the event.voidsetIdempotencyKey(java.lang.String idempotencyKey)The idempotency key transmitted during the request, if any.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getIdempotencyKey
public java.lang.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(java.lang.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(java.lang.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(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-