OfferOutlet::setId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
c 1
b 0
f 1
nc 1
nop 1
dl 0
loc 5
rs 10
1
<?php
2
3
/*
4
 * This file is part of the Bukashk0zzzYmlGenerator
5
 *
6
 * (c) Denis Golubovskiy <[email protected]>
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
namespace Bukashk0zzz\YmlGenerator\Model\Offer;
13
14
/**
15
 * Class OfferOutlet
16
 */
17
class OfferOutlet
18
{
19
    /**
20
     * @var string
21
     */
22
    private $id;
23
24
    /**
25
     * @var string
26
     */
27
    private $inStock;
28
29
    /**
30
     * @return string
31
     */
32
    public function getId()
33
    {
34
        return $this->id;
35
    }
36
37
    /**
38
     * @param string $id
39
     *
40
     * @return OfferOutlet
41
     */
42
    public function setId($id)
43
    {
44
        $this->id = $id;
45
46
        return $this;
47
    }
48
49
    /**
50
     * @return string
51
     */
52
    public function getInStock()
53
    {
54
        return $this->inStock;
55
    }
56
57
    /**
58
     * @param string $inStock
59
     *
60
     * @return OfferOutlet
61
     */
62
    public function setInStock($inStock)
63
    {
64
        $this->inStock = $inStock;
65
66
        return $this;
67
    }
68
}
69