-
Notifications
You must be signed in to change notification settings - Fork 9
/
Address.go
76 lines (32 loc) · 1.62 KB
/
Address.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
package icbudropshipping
// Address
type Address struct {
// Specific address
Address string `json:"address,omitempty" xml:"address,omitempty"`
// Secondary address
AlternateAddress string `json:"alternate_address,omitempty" xml:"alternate_address,omitempty"`
// Name of the city where the order is completed
City string `json:"city,omitempty" xml:"city,omitempty"`
// City abbreviation
CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
// Name of contact person
ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"`
// Country name
Country string `json:"country,omitempty" xml:"country,omitempty"`
// Country code,ISO3166 standard and has two letters.
CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
// Fax
Fax *Phone `json:"fax,omitempty" xml:"fax,omitempty"`
// Port name
Port string `json:"port,omitempty" xml:"port,omitempty"`
// Port code
PortCode string `json:"port_code,omitempty" xml:"port_code,omitempty"`
// Name of state/province
Province string `json:"province,omitempty" xml:"province,omitempty"`
// Province/state abbreviation
ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
// telephone
Telephone *Phone `json:"telephone,omitempty" xml:"telephone,omitempty"`
// zip
Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
}