Completed
Push — master ( eec90d...2946e6 )
by Dmitriy
11s
created

GetOrdersResponse::getPager()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
namespace Yandex\Market\Partner\Models;
4
5
use Yandex\Market\Partner\Models\Pager;
6
use Yandex\Market\Partner\Models\Orders;
7
use Yandex\Common\Model;
8
9
class GetOrdersResponse extends Model
10
{
11
12
    protected $pager = null;
13
14
    protected $orders = null;
15
16
    protected $mappingClasses = [
17
        'pager' => 'Yandex\Market\Partner\Models\Pager',
18
        'orders' => 'Yandex\Market\Partner\Models\Orders'
19
    ];
20
21
    protected $propNameMap = [];
22
23
    /**
24
     * Retrieve the pager property
25
     *
26
     * @return Pager|null
27
     */
28
    public function getPager()
29
    {
30
        return $this->pager;
31
    }
32
33
    /**
34
     * Set the pager property
35
     *
36
     * @param Pager $pager
37
     * @return $this
38
     */
39
    public function setPager($pager)
40
    {
41
        $this->pager = $pager;
42
        return $this;
43
    }
44
45
    /**
46
     * Retrieve the orders property
47
     *
48
     * @return Orders|null
49
     */
50 1
    public function getOrders()
51
    {
52 1
        return $this->orders;
53
    }
54
55
    /**
56
     * Set the orders property
57
     *
58
     * @param Orders $orders
59
     * @return $this
60
     */
61
    public function setOrders($orders)
62
    {
63
        $this->orders = $orders;
64
        return $this;
65
    }
66
}
67