~evanj/cms

ref: 99a3bb7fc511e3f448a358691896ba1300f73a93 cms/vendor/github.com/stripe/stripe-go/v71/reporting_reporttype.go -rw-r--r-- 1019 bytes
99a3bb7fEvan M Jones WIP(rbac): Decorator object complete. TODO: Specify role in invite. 1 year, 1 month ago
                                                                                
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
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
	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 {
	APIResource
	ListMeta
	Data []*ReportType `json:"data"`
}