18 lines
370 B
Go
18 lines
370 B
Go
|
package models
|
||
|
|
||
|
type Wk24order struct {
|
||
|
Orderid string `json:"orderid"`
|
||
|
Items []Item `json:"items"`
|
||
|
Name string `json:"name"`
|
||
|
Street string `json:"street"`
|
||
|
Zip string `json:"zip"`
|
||
|
City string `json:"city"`
|
||
|
Country string `json:"country"`
|
||
|
Phone string `json:"phone"`
|
||
|
}
|
||
|
|
||
|
type Item struct {
|
||
|
Sku string `json:"sku"`
|
||
|
Quantity int `json:"quantity"`
|
||
|
}
|