Completed
Push — master ( 4017fe...b1c493 )
by Taosikai
13:54
created

Fulfillment::getLocationId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Slince\Shopify\Manager\Fulfillment;
13
14
use Slince\Shopify\Common\Model\Model;
15
use Slince\Shopify\Common\Model\AdminGraphqlApiId;
16
use Slince\Shopify\Manager\Order\LineItem;
17
18
class Fulfillment extends Model
19
{
20
    use AdminGraphqlApiId;
21
22
    /**
23
     * @var int
24
     */
25
    protected $orderId;
26
27
    /**
28
     * @var string
29
     */
30
    protected $status;
31
32
    /**
33
     * @var string
34
     */
35
    protected $createdAt;
36
37
    /**
38
     * @var string
39
     */
40
    protected $updatedAt;
41
42
    /**
43
     * @var string
44
     */
45
    protected $service;
46
47
    /**
48
     * @var string
49
     */
50
    protected $shipmentStatus;
51
52
    /**
53
     * @var string
54
     */
55
    protected $trackingCompany;
56
57
    /**
58
     * @var string
59
     */
60
    protected $trackingNumber;
61
62
    /**
63
     * @var array
64
     */
65
    protected $trackingNumbers;
66
67
    /**
68
     * @var string
69
     */
70
    protected $trackingUrl;
71
72
    /**
73
     * @var array
74
     */
75
    protected $trackingUrls;
76
77
    /**
78
     * @var array
79
     */
80
    protected $receipt;
81
82
    /**
83
     * @var LineItem[]
84
     */
85
    protected $lineItems;
86
87
    /**
88
     * @var integer
89
     */
90
    protected $locationId;
91
92
    /**
93
     * @return int
94
     */
95
    public function getLocationId()
96
    {
97
        return $this->locationId;
98
    }
99
100
    /**
101
     * @param int $locationId
102
     *
103
     * @return Fulfillment
104
     */
105
    public function setLocationId($locationId)
106
    {
107
        $this->locationId = $locationId;
108
109
        return $this;
110
    }
111
112
    /**
113
     * @return string
114
     */
115
    public function getService()
116
    {
117
        return $this->service;
118
    }
119
120
    /**
121
     * @param string $service
122
     *
123
     * @return Fulfillment
124
     */
125
    public function setService($service)
126
    {
127
        $this->service = $service;
128
129
        return $this;
130
    }
131
132
    /**
133
     * @return string
134
     */
135
    public function getShipmentStatus()
136
    {
137
        return $this->shipmentStatus;
138
    }
139
140
    /**
141
     * @param string $shipmentStatus
142
     *
143
     * @return Fulfillment
144
     */
145
    public function setShipmentStatus($shipmentStatus)
146
    {
147
        $this->shipmentStatus = $shipmentStatus;
148
149
        return $this;
150
    }
151
152
    /**
153
     * @return string
154
     */
155
    public function getTrackingUrl()
156
    {
157
        return $this->trackingUrl;
158
    }
159
160
    /**
161
     * @param string $trackingUrl
162
     *
163
     * @return Fulfillment
164
     */
165
    public function setTrackingUrl($trackingUrl)
166
    {
167
        $this->trackingUrl = $trackingUrl;
168
169
        return $this;
170
    }
171
172
    /**
173
     * @return array
174
     */
175
    public function getTrackingUrls()
176
    {
177
        return $this->trackingUrls;
178
    }
179
180
    /**
181
     * @param array $trackingUrls
182
     *
183
     * @return Fulfillment
184
     */
185
    public function setTrackingUrls($trackingUrls)
186
    {
187
        $this->trackingUrls = $trackingUrls;
188
189
        return $this;
190
    }
191
192
    /**
193
     * @return array
194
     */
195
    public function getReceipt()
196
    {
197
        return $this->receipt;
198
    }
199
200
    /**
201
     * @param array $receipt
202
     *
203
     * @return Fulfillment
204
     */
205
    public function setReceipt($receipt)
206
    {
207
        $this->receipt = $receipt;
208
209
        return $this;
210
    }
211
212
    /**
213
     * @return string
214
     */
215
    public function getCreatedAt()
216
    {
217
        return $this->createdAt;
218
    }
219
220
    /**
221
     * @param string $createdAt
222
     *
223
     * @return Fulfillment
224
     */
225
    public function setCreatedAt($createdAt)
226
    {
227
        $this->createdAt = $createdAt;
228
229
        return $this;
230
    }
231
232
    /**
233
     * @return string
234
     */
235
    public function getUpdatedAt()
236
    {
237
        return $this->updatedAt;
238
    }
239
240
    /**
241
     * @param string $updatedAt
242
     *
243
     * @return Fulfillment
244
     */
245
    public function setUpdatedAt($updatedAt)
246
    {
247
        $this->updatedAt = $updatedAt;
248
249
        return $this;
250
    }
251
252
    /**
253
     * @return int
254
     */
255
    public function getOrderId()
256
    {
257
        return $this->orderId;
258
    }
259
260
    /**
261
     * @param int $orderId
262
     *
263
     * @return Fulfillment
264
     */
265
    public function setOrderId($orderId)
266
    {
267
        $this->orderId = $orderId;
268
269
        return $this;
270
    }
271
272
    /**
273
     * @return string
274
     */
275
    public function getStatus()
276
    {
277
        return $this->status;
278
    }
279
280
    /**
281
     * @param string $status
282
     *
283
     * @return Fulfillment
284
     */
285
    public function setStatus($status)
286
    {
287
        $this->status = $status;
288
289
        return $this;
290
    }
291
292
    /**
293
     * @return string
294
     */
295
    public function getTrackingCompany()
296
    {
297
        return $this->trackingCompany;
298
    }
299
300
    /**
301
     * @param string $trackingCompany
302
     *
303
     * @return Fulfillment
304
     */
305
    public function setTrackingCompany($trackingCompany)
306
    {
307
        $this->trackingCompany = $trackingCompany;
308
309
        return $this;
310
    }
311
312
    /**
313
     * @return string
314
     */
315
    public function getTrackingNumber()
316
    {
317
        return $this->trackingNumber;
318
    }
319
320
    /**
321
     * @param string $trackingNumber
322
     *
323
     * @return Fulfillment
324
     */
325
    public function setTrackingNumber($trackingNumber)
326
    {
327
        $this->trackingNumber = $trackingNumber;
328
329
        return $this;
330
    }
331
332
    /**
333
     * @return LineItem[]
334
     */
335
    public function getLineItems()
336
    {
337
        return $this->lineItems;
338
    }
339
340
    /**
341
     * @param LineItem[] $lineItems
342
     *
343
     * @return Fulfillment
344
     */
345
    public function setLineItems($lineItems)
346
    {
347
        $this->lineItems = $lineItems;
348
349
        return $this;
350
    }
351
352
    /**
353
     * @return array
354
     */
355
    public function getTrackingNumbers()
356
    {
357
        return $this->trackingNumbers;
358
    }
359
360
    /**
361
     * @param array $trackingNumbers
362
     *
363
     * @return Fulfillment
364
     */
365
    public function setTrackingNumbers($trackingNumbers)
366
    {
367
        $this->trackingNumbers = $trackingNumbers;
368
369
        return $this;
370
    }
371
}
372