-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_account.go
86 lines (58 loc) · 2.49 KB
/
model_account.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
81
82
83
84
85
86
/*
* Cloud API
*
* The public facing API through which connectors are exposed as a single abstract API
*
* API version: v1.5
* Contact: support@trexis.net
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package finite
// Account - Account object
type Account struct {
// Unique composite identifier of the account in the system of record
Id string `json:"id"`
// The type of account as enumerated by the system of record
Type string `json:"type,omitempty"`
// The account number as represented in the system of record (masked if mask=true)
Number string `json:"number,omitempty"`
// Unique identifier of the parent account, in the case of a sub account
ParentId string `json:"parentId,omitempty"`
// List of entities this account is associated with
Entities []Entity `json:"entities,omitempty"`
// The name of the primary account holder
Name string `json:"name,omitempty"`
// The given title of an account
Title string `json:"title,omitempty"`
// The international bank account number
Iban string `json:"iban,omitempty"`
// The routing numbers of this account
Routingnumbers []RoutingNumber `json:"routingnumbers,omitempty"`
Balances Balances `json:"balances,omitempty"`
// ISO 6801 date when the account was created
DateCreated string `json:"dateCreated,omitempty"`
// ISO 6801 date when the account was opened or activated
DateOpened string `json:"dateOpened,omitempty"`
// ISO 6801 date when the account was last updated
DateLastUpdated string `json:"dateLastUpdated,omitempty"`
// ISO 6801 date when the account was closed or deactivated
DateClosed string `json:"dateClosed,omitempty"`
// The currency code of the account
CurrencyCode string `json:"currencyCode,omitempty"`
// The current status of the account
Status string `json:"status,omitempty"`
// The source of the account, where the account is located
Source string `json:"source,omitempty"`
// Indicates if interest is reportable on this account.
InterestReporting bool `json:"interestReporting,omitempty"`
CreditInformation CreditInformation `json:"creditInformation,omitempty"`
LoanInterest Interest `json:"loanInterest,omitempty"`
CreditInterest Interest `json:"creditInterest,omitempty"`
// Unique preferences of the account
Preferences []Attribute `json:"preferences,omitempty"`
Bank Bank `json:"bank,omitempty"`
// List of owners of the account
Owners []Relationship `json:"owners,omitempty"`
Product Product `json:"product,omitempty"`
URI FiniteUri `json:"URI,omitempty"`
}