Completed
Push — master ( 625726...2d7b6e )
by Aleksander
04:53
created

Balance::getBalance()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

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 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Yandex\Market\Partner\Models;
4
5
use Yandex\Common\Model;
6
7
class Balance extends Model
8
{
9
    protected $balance = null;
10
11
    protected $daysLeft = null;
12
13
    protected $recommendedPayment = null;
14
15
    /**
16
     * Retrieve the balance property
17
     *
18
     * @return float|null
19
     */
20 1
    public function getBalance()
21
    {
22 1
        return $this->balance;
23
    }
24
25
    /**
26
     * @return  int|null
27
     */
28 1
    public function getDaysLeft()
29
    {
30 1
        return $this->daysLeft;
31
    }
32
33
    /**
34
     * @return  float|null
35
     */
36 1
    public function getRecommendedPayment()
37
    {
38 1
        return $this->recommendedPayment;
39
    }
40
}
41