Package com.stripe.events
Class UnknownEventNotification
java.lang.Object
com.stripe.model.v2.core.EventNotification
com.stripe.events.UnknownEventNotification
Represents a valid EventNotification that the SDK doesn't have a type for. May have a
`relatedObject` property.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stripe.model.v2.core.EventNotification
EventNotification.Reason, EventNotification.Request
-
Field Summary
FieldsModifier and TypeFieldDescription[Optional] Object containing the reference to API resource relevant to the event. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWill make the API call to fetch a related object, if possible.Will make the API call to fetch a related object, if possible.[Optional] Object containing the reference to API resource relevant to the event.Methods inherited from class com.stripe.model.v2.core.EventNotification
fetchRelatedObject, fromJson, getContext, getCreated, getId, getLivemode, getReason, getType
-
Field Details
-
Constructor Details
-
UnknownEventNotification
public UnknownEventNotification()
-
-
Method Details
-
fetchRelatedObject
Will make the API call to fetch a related object, if possible. The returned object will have the correct type at runtime, but type information about it isn't known at compile time.- Throws:
StripeException
-
fetchEvent
Will make the API call to fetch a related object, if possible. The returned object will have the correct type at runtime, but type information about it isn't known at compile time.- Overrides:
fetchEvent
in classEventNotification
- Throws:
StripeException
-
getRelatedObject
[Optional] Object containing the reference to API resource relevant to the event.
-