-
Notifications
You must be signed in to change notification settings - Fork 3
/
response.go
72 lines (54 loc) · 1.35 KB
/
response.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package icache
import (
"encoding/xml"
)
type InteractiveResponse struct {
XMLName xml.Name `json:"-" xml:"http://www.uk.experian.com/experian/wbsv/peinteractive/v100 InteractiveResponse"`
Root OutputRoot
}
type OutputRoot struct {
XMLName xml.Name `json:"-" xml:"http://schemas.microsoft.com/BizTalk/2003/Any OutputRoot"`
Output Output
}
type Output struct {
XMLName xml.Name `json:"-" xml:"http://schema.uk.experian.com/experian/cems/msgs/v1.1/ConsumerData Output"`
Control *Control
OneShotFailure *OneShotFailure
Error *ServiceError
BureauMatchKey *BureauMatchKey
Residency *Residency
ConsumerSummary *ConsumerSummary
}
type OneShotFailure struct {
FailedLocation int
Reason string
}
type ServiceError struct {
ErrorCode string
Message string
Severity int
}
type BureauMatchKey struct {
MatchCategory string
}
type ConsumerSummary struct {
PremiumValueData ConsumerSummaryPremiumValueData
Summary ConsumerSummarySummary
}
type ConsumerSummaryPremiumValueData struct {
Scoring Map
AddrLink Map
AgeDOB Map `xml:"AgeDoB"`
CII Map
Mosaic Map
AdditDelphiBlocks AdditDelphiBlocks
}
type AdditDelphiBlocks struct {
Utilisationblock Map
}
type ConsumerSummarySummary struct {
ElectoralRoll Map
PublicInfo Map
CAIS Map
CAPS Map
}