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

Balance   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 34
ccs 6
cts 6
cp 1
rs 10
c 1
b 0
f 0
wmc 3
lcom 0
cbo 1

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getBalance() 0 4 1
A getDaysLeft() 0 4 1
A getRecommendedPayment() 0 4 1
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