Passed
Push — master ( b1e93f...10cd5c )
by Jhao
02:12
created

getDestinationAddress()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 1
b 0
f 0
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