forked from rwestlund/quickbooks-go
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaddress.go
More file actions
22 lines (20 loc) · 794 Bytes
/
address.go
File metadata and controls
22 lines (20 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2018, Randy Westlund. All rights reserved.
// This code is under the BSD-2-Clause license.
package quickbooks
// PhysicalAddress represents a QuickBooks address.
type PhysicalAddress struct {
ID string `json:"Id,omitempty"`
// These lines are context-dependent! Read the QuickBooks API carefully.
Line1 string `json:",omitempty"`
Line2 string `json:",omitempty"`
Line3 string `json:",omitempty"`
Line4 string `json:",omitempty"`
Line5 string `json:",omitempty"`
City string `json:",omitempty"`
Country string `json:",omitempty"`
// A.K.A. State.
CountrySubDivisionCode string `json:",omitempty"`
PostalCode string `json:",omitempty"`
Lat string `json:",omitempty"`
Long string `json:",omitempty"`
}