1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* This file is part of RussianPost SDK package. |
5
|
|
|
* |
6
|
|
|
* © Appwilio (http://appwilio.com), greabock (https://github.com/greabock), JhaoDa (https://github.com/jhaoda) |
7
|
|
|
* |
8
|
|
|
* For the full copyright and license information, please view the LICENSE |
9
|
|
|
* file that was distributed with this source code. |
10
|
|
|
*/ |
11
|
|
|
|
12
|
|
|
declare(strict_types=1); |
13
|
|
|
|
14
|
|
|
namespace Appwilio\RussianPostSDK\Tracking\Single; |
15
|
|
|
|
16
|
|
|
class TrackingOperationAddressParameters |
17
|
|
|
{ |
18
|
|
|
/** @var TrackingOperationAddress */ |
19
|
|
|
private $DestinationAddress; |
20
|
|
|
|
21
|
|
|
/** @var TrackingOperationAddress */ |
22
|
|
|
private $OperationAddress; |
23
|
|
|
|
24
|
|
|
/** @var TrackingOperationCountry */ |
25
|
|
|
private $MailDirect; |
26
|
|
|
|
27
|
|
|
/** @var TrackingOperationCountry */ |
28
|
|
|
private $CountryOper; |
29
|
|
|
|
30
|
|
|
/** @var TrackingOperationCountry */ |
31
|
|
|
private $CountryFrom; |
32
|
|
|
|
33
|
|
|
/** |
34
|
|
|
* Адресные данные места назначения (DestinationAddress). |
35
|
|
|
* |
36
|
|
|
* @return TrackingOperationAddress |
37
|
|
|
*/ |
38
|
1 |
|
public function getDestinationAddress(): TrackingOperationAddress |
39
|
|
|
{ |
40
|
1 |
|
return $this->DestinationAddress; |
41
|
|
|
} |
42
|
|
|
|
43
|
|
|
/** |
44
|
|
|
* Адресные данные места проведения операции (OperationAddress). |
45
|
|
|
* |
46
|
|
|
* @return TrackingOperationAddress |
47
|
|
|
*/ |
48
|
1 |
|
public function getOperationAddress(): TrackingOperationAddress |
49
|
|
|
{ |
50
|
1 |
|
return $this->OperationAddress; |
51
|
|
|
} |
52
|
|
|
|
53
|
|
|
/** |
54
|
|
|
* Страна места назначения (MailDirect). |
55
|
|
|
* |
56
|
|
|
* @return TrackingOperationCountry |
57
|
|
|
*/ |
58
|
1 |
|
public function getDestinationCountry(): TrackingOperationCountry |
59
|
|
|
{ |
60
|
1 |
|
return $this->MailDirect; |
61
|
|
|
} |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* Страна приема (CountryFrom). |
65
|
|
|
* |
66
|
|
|
* @return TrackingOperationCountry |
67
|
|
|
*/ |
68
|
1 |
|
public function getDepartureCountry(): TrackingOperationCountry |
69
|
|
|
{ |
70
|
1 |
|
return $this->CountryFrom; |
71
|
|
|
} |
72
|
|
|
|
73
|
|
|
/** |
74
|
|
|
* Страна проведения операции (CountryOper). |
75
|
|
|
* |
76
|
|
|
* @return TrackingOperationCountry |
77
|
|
|
*/ |
78
|
1 |
|
public function getOperationCountry(): TrackingOperationCountry |
79
|
|
|
{ |
80
|
1 |
|
return $this->CountryOper; |
81
|
|
|
} |
82
|
|
|
} |
83
|
|
|
|