-
Notifications
You must be signed in to change notification settings - Fork 2
/
EventResponse.java
63 lines (45 loc) · 1.1 KB
/
EventResponse.java
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
53
54
55
56
57
58
59
60
61
62
63
package net.joelinn.stripe.response.events;
import net.joelinn.stripe.json.StripeObjectDeserializer;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import java.util.Date;
import java.util.Map;
/**
* User: Joe Linn
* Date: 5/24/2014
* Time: 3:28 PM
*/
public class EventResponse {
protected String id;
protected String object;
protected boolean livemode;
protected Date created;
@JsonDeserialize(using = StripeObjectDeserializer.class)
protected Map<String, Object> data;
protected int pendingWebhooks;
protected String type;
protected String request;
public String getId() {
return id;
}
public String getObject() {
return object;
}
public boolean isLivemode() {
return livemode;
}
public Date getCreated() {
return created;
}
public Map<String, Object> getData() {
return data;
}
public int getPendingWebhooks() {
return pendingWebhooks;
}
public String getType() {
return type;
}
public String getRequest() {
return request;
}
}