Completed
Push — master ( caad37...82c5ce )
by Dmitriy
06:13
created

Delivery::getMethods()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Yandex\Market\Content\Models;
4
5
use Yandex\Common\Model;
6
7
class Delivery extends Model
8
{
9
    protected $priorityRegionId = null;
10
11
    protected $regionName = null;
12
13
    protected $userRegionName = null;
14
15
    protected $pickup = null;
16
17
    protected $delivery = null;
18
19
    protected $free = null;
20
21
    protected $deliveryIncluded = null;
22
23
    protected $priority = null;
24
25
    protected $store = null;
26
27
    protected $downloadable = null;
28
29
    protected $price = null;
30
31
    protected $description = null;
32
33
    protected $methods = null;
34
35
    protected $full = null;
36
37
    protected $brief = null;
38
39
    protected $mappingClasses = [
40
        'price' => 'Yandex\Market\Content\Models\Base\Price',
41
        'methods' => 'Yandex\Market\Content\Models\DeliveryMethods',
42
    ];
43
44
    protected $propNameMap = [
45
        'priorityRegion' => 'priorityRegionId',
46
    ];
47
48
    /**
49
     * Retrieve the priorityRegionId property
50
     *
51
     * @return int|null
52
     */
53 5
    public function getPriorityRegionId()
54
    {
55 5
        return $this->priorityRegionId;
56
    }
57
58
    /**
59
     * Retrieve the regionName property
60
     *
61
     * @return string|null
62
     */
63 5
    public function getRegionName()
64
    {
65 5
        return $this->regionName;
66
    }
67
68
    /**
69
     * Retrieve the userRegionName property
70
     *
71
     * @return string|null
72
     */
73 5
    public function getUserRegionName()
74
    {
75 5
        return $this->userRegionName;
76
    }
77
78
    /**
79
     * Retrieve the pickup property
80
     *
81
     * @return bool|null
82
     */
83 5
    public function getPickup()
84
    {
85 5
        return $this->pickup;
86
    }
87
88
    /**
89
     * Retrieve the delivery property
90
     *
91
     * @return bool|null
92
     */
93 5
    public function getDelivery()
94
    {
95 5
        return $this->delivery;
96
    }
97
98
    /**
99
     * Retrieve the free property
100
     *
101
     * @return bool|null
102
     */
103 5
    public function getFree()
104
    {
105 5
        return $this->free;
106
    }
107
108
    /**
109
     * Retrieve the deliveryIncluded property
110
     *
111
     * @return bool|null
112
     */
113 5
    public function getDeliveryIncluded()
114
    {
115 5
        return $this->deliveryIncluded;
116
    }
117
118
    /**
119
     * Retrieve the priority property
120
     *
121
     * @return bool|null
122
     */
123 5
    public function getPriority()
124
    {
125 5
        return $this->priority;
126
    }
127
128
    /**
129
     * Retrieve the store property
130
     *
131
     * @return bool|null
132
     */
133 5
    public function getStore()
134
    {
135 5
        return $this->store;
136
    }
137
138
    /**
139
     * Retrieve the downloadable property
140
     *
141
     * @return bool|null
142
     */
143 5
    public function getDownloadable()
144
    {
145 5
        return $this->downloadable;
146
    }
147
148
    /**
149
     * Retrieve the description property
150
     *
151
     * @return string|null
152
     */
153 4
    public function getDescription()
154
    {
155 4
        return $this->description;
156
    }
157
158
    /**
159
     * Retrieve the full property
160
     *
161
     * @return string|null
162
     */
163 5
    public function getFull()
164
    {
165 5
        return $this->full;
166
    }
167
168
    /**
169
     * Retrieve the brief property
170
     *
171
     * @return string|null
172
     */
173 5
    public function getBrief()
174
    {
175 5
        return $this->brief;
176
    }
177
178
    /**
179
     * Retrieve the price property
180
     *
181
     * @return Price|null
182
     */
183 3
    public function getPrice()
184
    {
185 3
        return $this->price;
186
    }
187
188
    /**
189
     * Retrieve the methods property
190
     *
191
     * @return DeliveryMethods|null
192
     */
193 3
    public function getMethods()
194
    {
195 3
        return $this->methods;
196
    }
197
}
198