-
Notifications
You must be signed in to change notification settings - Fork 400
Expand file tree
/
Copy pathV2ExtendExtensionRunFailedEvent.java
More file actions
52 lines (47 loc) · 1.51 KB
/
V2ExtendExtensionRunFailedEvent.java
File metadata and controls
52 lines (47 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// File generated from our OpenAPI spec
package com.stripe.events;
import com.google.gson.annotations.SerializedName;
import com.stripe.model.v2.core.Event;
import lombok.Getter;
import lombok.Setter;
@Getter
public final class V2ExtendExtensionRunFailedEvent extends Event {
/** Data for the v2.extend.extension_run.failed event. */
@SerializedName("data")
V2ExtendExtensionRunFailedEvent.EventData data;
@Getter
@Setter
public static final class EventData {
/** Details about the error that occurred. */
@SerializedName("error")
Errors error;
/** Details about the extension that failed. */
@SerializedName("extension")
Extension extension;
/** The ID of the extension run that failed. */
@SerializedName("extension_run_id")
String extensionRunId;
public static final class Errors {
/** URL to the extension run in Workbench for deeper debugging. */
@SerializedName("debug_url")
String debugUrl;
/** Detailed error message. */
@SerializedName("message")
String message;
}
public static final class Extension {
/** The extension's unique identifier. */
@SerializedName("id")
String id;
/** The extension method called where the failure occurred. */
@SerializedName("method")
String method;
/** Human-readable name of the extension. */
@SerializedName("name")
String name;
/** Version of the extension that failed. */
@SerializedName("version")
String version;
}
}
}