Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Courier ¶
type Courier struct {
ID int `json:"id"`
Name string `json:"name"`
Limits struct {
Weight int `json:"weight"`
Volume int `json:"volume"`
Orders string `json:"orders"`
} `json:"limits"`
WorkingTime struct {
Start string `json:"start"`
End string `json:"end"`
} `json:"workingTime"`
IsCycle bool `json:"isCycle"`
Geom string `json:"geom"`
Center interface{} `json:"center"`
ZoneID string `json:"zoneId"`
Tags []struct {
ID string `json:"id"`
Name string `json:"name"`
Code string `json:"code"`
} `json:"tags"`
Wave string `json:"wave"`
PhoneNumber string `json:"phoneNumber"`
Type string `json:"type"`
WarehouseID string `json:"warehouseId"`
ExtID string `json:"extId"`
CourierType interface{} `json:"courierType"`
ContractNumber string `json:"contractNumber"`
OrganizationID string `json:"organizationId"`
}
type Order ¶
type Order struct {
ID string `json:"id"`
GUID string `json:"guid"`
Day time.Time `json:"day"`
CreatedAt time.Time `json:"createdAt"`
Address string `json:"address"`
Lat float64 `json:"lat"`
Long float64 `json:"long"`
State string `json:"state"`
TimeStart time.Time `json:"timeStart"`
Weight float64 `json:"weight"`
Volume float64 `json:"volume"`
Tags []int `json:"tags"`
Warehouse string `json:"warehouse"`
Wave string `json:"wave"`
Route string `json:"route"`
Courier string `json:"courier"`
TimeEnd time.Time `json:"timeEnd"`
AddressFixed string `json:"addressFixed"`
ClearingWaveID string `json:"clearingWaveId"`
ZoneID string `json:"zoneId"`
ErrorReason string `json:"error_reason"`
}
Click to show internal directories.
Click to hide internal directories.