-
Notifications
You must be signed in to change notification settings - Fork 12
/
Request.php
233 lines (199 loc) · 4.41 KB
/
Request.php
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?php
declare(strict_types=1);
namespace Inspirum\Balikobot\Definitions;
final class Request
{
/**
* Add a package
*
* @var string
*/
public const ADD = 'add';
/**
* Drop a package
*
* @var string
*/
public const DROP = 'drop';
/**
* Track a package
*
* @var string
*/
public const TRACK = 'track';
/**
* Track a package; get the last brief info
*
* @var string
*/
public const TRACK_STATUS = 'trackstatus';
/**
* List of packages
*
* @var string
*/
public const OVERVIEW = 'overview';
/**
* Get labels
*
* @var string
*/
public const LABELS = 'labels';
/**
* Get the package info
*
* @var string
*/
public const PACKAGE = 'package';
/**
* Order shipment
*
* @var string
*/
public const ORDER = 'order';
/**
* Get the shipment details
*
* @var string
*/
public const ORDER_VIEW = 'orderview';
/**
* Get the shipment pickup details
*
* @var string
*/
public const ORDER_PICKUP = 'orderpickup';
/**
* List of offered services
*
* @var string
*/
public const SERVICES = 'services';
/**
* List of units for palette shipping
*
* @var string
*/
public const MANIPULATION_UNITS = 'manipulationunits';
/**
* List of activated units for palette shipping
*
* @var string
*/
public const ACTIVATED_MANIPULATION_UNITS = 'activatedmanipulationunits';
/**
* List of available branches
*
* @var string
*/
public const BRANCHES = 'branches';
/**
* List of available branches with details
*
* @var string
*/
public const FULL_BRANCHES = 'fullbranches';
/**
* List of available branches with details for given location
*
* @var string
*/
public const BRANCH_LOCATOR = 'branchlocator';
/**
* List of services with countries which support cash-on-delivery payment type
*
* @var string
*/
public const CASH_ON_DELIVERY_COUNTRIES = 'cod4services';
/**
* List of available countries
*
* @var string
*/
public const COUNTRIES = 'countries4service';
/**
* List of available zip codes
*
* @var string
*/
public const ZIP_CODES = 'zipcodes';
/**
* Check add-package data
*
* @var string
*/
public const CHECK = 'check';
/**
* List of ADR units
*
* @var string
*/
public const ADR_UNITS = 'adrunits';
/**
* Detailed list of ADR units
*
* @var string
*/
public const FULL_ADR_UNITS = 'fulladrunits';
/**
* List of activated services for production API keys
*
* @var string
*/
public const ACTIVATED_SERVICES = 'activatedservices';
/**
* Order shipments from place B (typically supplier / previous consignee) to place A (shipping point)
*
* @var string
*/
public const B2A = 'b2a';
/**
* Get PDF with signed consignment delivery document by the recipient
*
* @var string
*/
public const PROOF_OF_DELIVERY = 'pod';
/**
* Method for obtaining the price of carriage at consignment level
*
* @var string
*/
public const TRANSPORT_COSTS = 'transportcosts';
/**
* Method for obtaining information on individual countries of the world
*
* @var string
*/
public const GET_COUNTRIES_DATA = 'getCountriesData';
/**
* Method for obtaining news in the Balikobot API
*
* @var string
*/
public const CHANGELOG = 'changelog';
/**
* Method for obtaining a list of additional services by individual transport services
*
* @var string
*/
public const ADD_SERVICE_OPTIONS = 'addserviceoptions';
/**
* Experimental method for easier carrier integration
* List of available input attributes for the ADD method of the selected carrier
*
* @var string
*/
public const ADD_ATTRIBUTES = 'addattributes';
/**
* Method for obtaining info about used API keys
*
* @var string
*/
public const INFO_WHO_AM_I = 'info/whoami';
/**
* Method for obtaining a list of active carriers.
*
* @var string
*/
public const CARRIER_MY = 'carriers/my';
}