settings.go raw
1 package account
2
3 // Setting represents an accounts' contact info.
4 type Setting struct {
5 CustomerID int `json:"customerid,omitempty"`
6 FirstName string `json:"firstname,omitempty"`
7 LastName string `json:"lastname,omitempty"`
8 Company string `json:"company,omitempty"`
9 Phone string `json:"phone,omitempty"`
10 Email string `json:"email,omitempty"`
11 Address Address `json:"address,omitempty"`
12 }
13
14 // Address for Setting struct.
15 type Address struct {
16 Country string `json:"country,omitempty"`
17 Street string `json:"street,omitempty"`
18 State string `json:"state,omitempty"`
19 City string `json:"city,omitempty"`
20 Postal string `json:"postalcode,omitempty"`
21 }
22