forked from stripe/stripe-go
/
reporting_reporttype.go
30 lines (26 loc) · 993 Bytes
/
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
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 {
DefaultColumns []string `json:"default_columns"`
Created int64 `json:"created"`
DataAvailableEnd int64 `json:"data_available_end"`
DataAvailableStart int64 `json:"data_available_start"`
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 {
ListMeta
Data []*ReportType `json:"data"`
}