Completed
Push — master ( 82e3be...acf0da )
by
unknown
02:19
created

Tariff   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 1
dl 0
loc 65
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getDescription() 0 4 1
A setDescription() 0 4 1
A getPeriod() 0 4 1
A setPeriod() 0 4 1
A getStartPeriod() 0 4 1
A setStartPeriod() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AcquiroPay\Models\Entities;
6
7
class Tariff extends Entity
8
{
9
    /**
10
     * @var string
11
     */
12
    private $description;
13
14
    /**
15
     * @var string
16
     */
17
    private $period;
18
19
    /**
20
     * @var string
21
     */
22
    private $startPeriod;
23
24
    /**
25
     * @return string
26
     */
27
    public function getDescription(): string
28
    {
29
        return $this->description;
30
    }
31
32
    /**
33
     * @param string $description
34
     */
35
    public function setDescription(string $description)
36
    {
37
        $this->description = $description;
38
    }
39
40
    /**
41
     * @return string
42
     */
43
    public function getPeriod(): string
44
    {
45
        return $this->period;
46
    }
47
48
    /**
49
     * @param string $period
50
     */
51
    public function setPeriod(string $period)
52
    {
53
        $this->period = $period;
54
    }
55
56
    /**
57
     * @return string
58
     */
59
    public function getStartPeriod(): string
60
    {
61
        return $this->startPeriod;
62
    }
63
64
    /**
65
     * @param string $startPeriod
66
     */
67
    public function setStartPeriod(string $startPeriod)
68
    {
69
        $this->startPeriod = $startPeriod;
70
    }
71
}
72