Completed
Pull Request — master (#55)
by
unknown
11:51
created

GiftCard::getMaskedCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Slince\Shopify\Manager\Order;
13
14
use Slince\Shopify\Common\Model\Model;
15
16
class GiftCard extends Model
17
{
18
19
    /**
20
     * @var int
21
     */
22
    protected $id;
23
24
    /**
25
     * @var int
26
     */
27
    protected $linnItemId;
28
29
    /**
30
     * @var string
31
     */
32
    protected $maskedCode;
33
34
    /**
35
     * @return int
36
     */
37
    public function getId()
38
    {
39
        return $this->id;
40
    }
41
42
    /**
43
     * @param int $id
44
     */
45
    public function setId($id)
46
    {
47
        $this->id = $id;
48
    }
49
50
    /**
51
     * @return int
52
     */
53
    public function getLinnItemId()
54
    {
55
        return $this->linnItemId;
56
    }
57
58
    /**
59
     * @param int $linnItemId
60
     */
61
    public function setLinnItemId($linnItemId)
62
    {
63
        $this->linnItemId = $linnItemId;
64
    }
65
66
    /**
67
     * @return string
68
     */
69
    public function getMaskedCode()
70
    {
71
        return $this->maskedCode;
72
    }
73
74
    /**
75
     * @param string $maskedCode
76
     */
77
    public function setMaskedCode($maskedCode)
78
    {
79
        $this->maskedCode = $maskedCode;
80
    }
81
82
}