-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathuser_company.go
80 lines (73 loc) · 3.39 KB
/
user_company.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
73
74
75
76
77
78
79
80
package bunq
type Alias struct {
Type string `json:"type"`
Value string `json:"value"`
Name string `json:"name"`
}
type AvatarImage struct {
AttachmentPublicUUID string `json:"attachment_public_uuid"`
ContentType string `json:"content_type"`
Height int `json:"height"`
Width int `json:"width"`
}
type UBO struct {
Name string `json:"name"`
DateOfBirth Time `json:"date_of_birth"`
Nationality string `json:"nationality"`
}
type NotificationFilter struct {
NotificationDeliveryMethod string `json:"notification_delivery_method"`
NotificationTarget string `json:"notification_target"`
Category string `json:"category"`
}
type Address struct {
Street string `json:"street"`
HouseNumber string `json:"house_number"`
POBox string `json:"po_box"`
PostalCode string `json:"postal_code"`
City string `json:"city"`
Country string `json:"country"`
}
type Avatar struct {
UUID string `json:"uuid"`
AnchorUUID string `json:"anchor_uuid"`
Image []AvatarImage `json:"image"`
}
type DirectorAlias struct {
UUID string `json:"uuid"`
Avatar Avatar `json:"avatar"`
PublicNickName string `json:"public_nick_name"`
DisplayName string `json:"display_name"`
Country string `json:"country"`
}
type Limit struct {
Value string `json:"value"`
Currency string `json:"currency"`
}
type UserCompany struct {
ID int `json:"id"`
CreatedAt Time `json:"created"`
UpdatedAt Time `json:"updated"`
PublicUUID string `json:"public_uuid"`
Name string `json:"name"`
DisplayName string `json:"display_name"`
PublicNickName string `json:"public_nick_name"`
Alias []Alias `json:"alias"`
ChamberOfCommerceNumber string `json:"chamber_of_commerce_number"`
TypeOfBusinessEntity string `json:"type_of_business_entity"`
SectorOfIndustry string `json:"sector_of_industry"`
CounterBankIBAN string `json:"counter_bank_IBAN"`
Avatar Avatar `json:"avatar"`
AddressMain Address `json:"address_main"`
AddressPostal Address `json:"address_postal"`
VersionTermsOfService string `json:"version_terms_of_service"`
DirectorAlias DirectorAlias `json:"director_alias"`
Language string `json:"language"`
Region string `json:"region"`
UBO []UBO `json:"UBO"`
Status string `json:"status"`
SubStatus string `json:"sub_status"`
SessionTimeout int `json:"session_timeout"`
DailyLimitWithoutConfirmationLogin Limit `json:"daily_limit_without_confirmation_login"`
NotificationFilters []NotificationFilter `json:"notification_filters"`
}