-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaujob.go
43 lines (36 loc) · 1.14 KB
/
aujob.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
39
40
41
42
43
package authorize_net
// -- request --
type GetAUJobSummaryRequest struct {
Payload GetAUJobSummaryPayload `json:"getAUJobSummaryRequest"`
}
type GetAUJobSummaryPayload struct {
ANetApiRequest
Month string `json:"month"`
}
type GetAUJobDetailsRequest struct {
Payload GetAUJobDetailsPayload `json:"getAUJobDetailsRequest"`
}
type GetAUJobDetailsPayload struct {
ANetApiRequest
Month string `json:"month"`
ModifiedTypeFilter string `json:"modifiedTypeFilter,omitempty"`
Paging Paging `json:"paging,omitempty"`
}
// -- response --
type AuResponse struct {
AuReasonCode string `json:"auReasonCode"`
ProfileCount uint `json:"profileCount"`
ReasonDescription string `json:"reasonDescription"`
}
type GetAUJobSummaryResponse struct {
ANetApiResponse
AuSummary []AuResponse `json:"auSummary,omitempty"`
}
type ListOfAUDetails struct {
AuUpdateOrAuDelete []string `json:"auUpdateOrAuDelete,omitempty"` //min=0
}
type GetAUJobDetailsResponse struct {
ANetApiResponse
TotalNumInResultSet int `json:"totalNumInResultSet,omitempty"`
AuDetails *ListOfAUDetails `json:"auDetails,omitempty"`
}