Completed
Pull Request — master (#188)
by
unknown
06:13
created

Balance::getBalance()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
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 int|null
19
     */
20
    public function getBalance()
21
    {
22
        return $this->balance;
23
    }
24
25
    /**
26
     * Set the balance property
27
     *
28
     * @param int $balance
29
     * @return $this
30
     */
31
    public function setBalance($balance)
32
    {
33
        $this->balance = $balance;
34
        return $this;
35
    }
36
37
    /**
38
     * @return  int|null
39
     */
40
    public function getDaysLeft()
41
    {
42
        return $this->daysLeft;
43
    }
44
45
    /**
46
     *
47
     */
48
    public function setDaysLeft($daysLeft)
49
    {
50
        $this->daysLeft = $daysLeft;
51
        return $this;
52
    }
53
54
    /**
55
     * @return  int|null
56
     */
57
    public function getRecommendedPayment()
58
    {
59
        return $this->recommendedPayment;
60
    }
61
62
    /**
63
     *
64
     */
65
    public function setRecommendedPayment($recommendedPayment)
66
    {
67
        $this->recommendedPayment = $recommendedPayment;
68
        return $this;
69
    }
70
}