-
Notifications
You must be signed in to change notification settings - Fork 0
/
order_address.go
28 lines (27 loc) · 1.44 KB
/
order_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
package shopware
// OrderAddress see:
// https://github.com/shopware/platform/blob/6.2/src/Core/Checkout/Order/Aggregate/OrderAddress/OrderAddressEntity.php
type OrderAddress struct {
Entity
CountryID string `json:"countryId"`
CountryStateID string `json:"countryStateId"`
SalutationID string `json:"salutationId"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Street string `json:"street"`
Zipcode string `json:"zipcode"`
City string `json:"city"`
Company string `json:"company"`
Department string `json:"department"`
Title string `json:"title"`
VatID string `json:"vatId"`
PhoneNumber string `json:"phoneNumber"`
AdditionalAddressLine1 string `json:"additionalAddressLine1"`
AdditionalAddressLine2 string `json:"additionalAddressLine2"`
Country *Country `json:"country"`
CountryState *CountryState `json:"countryState"`
Order *Order `json:"order"`
Salutation *Salutation `json:"salutation"`
OrderDeliveries []*OrderDelivery `json:"orderDeliveries"`
OrderID string `json:"orderId"`
}