Balance   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 50
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 3
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 50
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getBalance() 0 4 1
A getCurrency() 0 4 1
A getSpendToday() 0 4 1
1
<?php
2
3
namespace Thepixeldeveloper\Mondo\Response;
4
5
use JMS\Serializer\Annotation as JMS;
6
7
/**
8
 * Class Balance
9
 *
10
 * @package Thepixeldeveloper\Mondo\Response
11
 */
12
class Balance
13
{
14
    /**
15
     * Balance.
16
     *
17
     * @var integer
18
     * @JMS\Type("integer")
19
     */
20
    protected $balance;
21
22
    /**
23
     * Currency.
24
     *
25
     * @var string
26
     * @JMS\Type("string")
27
     */
28
    protected $currency;
29
30
    /**
31
     * Spend today.
32
     *
33
     * @var integer
34
     * @JMS\Type("integer")
35
     */
36
    protected $spendToday;
37
38
    /**
39
     * @return int
40
     */
41
    public function getBalance()
42
    {
43
        return $this->balance;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getCurrency()
50
    {
51
        return $this->currency;
52
    }
53
54
    /**
55
     * @return int
56
     */
57
    public function getSpendToday()
58
    {
59
        return $this->spendToday;
60
    }
61
}
62