Account Model
Account Model - is a base model for show platform account parameters. The fields of the Account model are presented in the table (Table 4.1), with an example below (Listing 4.1). There are the following types of this model (Table 4.2).
Table 4.1 - Fields of Account Model
1
uuid
uuid v4, string
required
Main identifier of account
2
name
string
required
Public name of account
3
status
Status Model
optional
Platform Account Status
4
currency_code
string
optional
"EUR" , "USD" , etc.
5
email_for_notification
string
optional
If account has this parameter
6
vat_number
string
optional
Unique identifier of taxable person
7
address
Account Address Model
optional
If account has any of address parameters
Listing 4.1 – Example of Account Model (JSON)
Table 4.2 - Account Type
1
Admin
Has highest rules
2
Organisation
Has more rules than Companies and End Users and manages them
3
Company
Has more rules than End Users and manages them
4
End User
Main account of user with basic rules
Last updated