Passed
Push — master ( 5665a9...08a82c )
by Carl
03:34
created

Wallet::getBalance()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Created by Carl Owens ([email protected])
4
 * Company: PartFire Ltd (www.partfire.co.uk)
5
 * Copyright © 2016 PartFire Ltd. All rights reserved.
6
 *
7
 * User:    Carl Owens
8
 * Date:    28/11/2016
9
 * Time:    16:47
10
 * File:    Wallet.php
11
 **/
12
13
namespace PartFire\MangoPayBundle\Models\DTOs;
14
15
class Wallet
16
{
17
    protected $owenerIds = [];
18
19
    protected $id;
20
21
    protected $currency;
22
23
    protected $description;
24
25
    protected $tag;
26
27
    protected $balance;
28
29
    /**
30
     * @return mixed
31
     */
32
    public function getOwenerIds()
33
    {
34
        return $this->owenerIds;
35
    }
36
37
    /**
38
     * @param mixed $owenerIds
39
     */
40
    public function setOwenerIds(array $owenerIds)
41
    {
42
        $this->owenerIds = $owenerIds;
43
    }
44
45
    /**
46
     * @param $owenerId
47
     */
48
    public function setOwenerId($owenerId)
49
    {
50
        $this->owenerIds[] = $owenerId;
51
    }
52
53
    /**
54
     * @return mixed
55
     */
56
    public function getId()
57
    {
58
        return $this->id;
59
    }
60
61
    /**
62
     * @param mixed $id
63
     */
64
    public function setId($id)
65
    {
66
        $this->id = $id;
67
    }
68
69
    /**
70
     * @return mixed
71
     */
72
    public function getCurrency()
73
    {
74
        return $this->currency;
75
    }
76
77
    /**
78
     * @param mixed $currency
79
     */
80
    public function setCurrency($currency)
81
    {
82
        $this->currency = $currency;
83
    }
84
85
    /**
86
     * @return mixed
87
     */
88
    public function getDescription()
89
    {
90
        return $this->description;
91
    }
92
93
    /**
94
     * @param mixed $description
95
     */
96
    public function setDescription($description)
97
    {
98
        $this->description = $description;
99
    }
100
101
    /**
102
     * @return mixed
103
     */
104
    public function getTag()
105
    {
106
        return $this->tag;
107
    }
108
109
    /**
110
     * @param mixed $tag
111
     */
112
    public function setTag($tag)
113
    {
114
        $this->tag = $tag;
115
    }
116
117
    /**
118
     * @return mixed
119
     */
120
    public function getBalance()
121
    {
122
        return $this->balance;
123
    }
124
125
    /**
126
     * @param mixed $balance
127
     */
128
    public function setBalance($balance)
129
    {
130
        $this->balance = $balance;
131
    }
132
}
133