-
Notifications
You must be signed in to change notification settings - Fork 448
/
reporting_reporttype.go
38 lines (33 loc) · 1.05 KB
/
reporting_reporttype.go
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
//
//
// File generated from our OpenAPI spec
//
//
package stripe
// ReportTypeListParams is the set of parameters that can be used when listing report types.
type ReportTypeListParams struct {
ListParams `form:"*"`
}
// ReportTypeParams is the set of parameters that can be used when retrieving a report type.
type ReportTypeParams struct {
Params `form:"*"`
}
// ReportType is the resource representing a report type.
type ReportType struct {
APIResource
Created int64 `json:"created"`
DataAvailableEnd int64 `json:"data_available_end"`
DataAvailableStart int64 `json:"data_available_start"`
DefaultColumns []string `json:"default_columns"`
ID string `json:"id"`
Name string `json:"name"`
Object string `json:"object"`
Updated int64 `json:"updated"`
Version int64 `json:"version"`
}
// ReportTypeList is a list of report types as retrieved from a list endpoint.
type ReportTypeList struct {
APIResource
ListMeta
Data []*ReportType `json:"data"`
}