Completed
Push — master ( cdb73e...fb348d )
by Mathew
02:04
created

Account::getId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Thepixeldeveloper\Mondo\Response\Accounts;
4
5
/**
6
 * Class Account
7
 *
8
 * @package Thepixeldeveloper\Mondo\Response\Accounts
9
 */
10
class Account
11
{
12
    /**
13
     * Account id.
14
     *
15
     * @var string
16
     */
17
    protected $id;
18
19
    /**
20
     * Account number.
21
     *
22
     * @var string
23
     */
24
    protected $accountNumber;
25
26
    /**
27
     * Sort code.
28
     *
29
     * @var integer
30
     */
31
    protected $sortCode;
32
33
    /**
34
     * Created date.
35
     *
36
     * @var \DateTime
37
     */
38
    protected $created;
39
40
    /**
41
     * Description.
42
     *
43
     * @var string
44
     */
45
    protected $description;
46
47
    /**
48
     * @return string
49
     */
50
    public function getId()
51
    {
52
        return $this->id;
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function getAccountNumber()
59
    {
60
        return $this->accountNumber;
61
    }
62
63
    /**
64
     * @return int
65
     */
66
    public function getSortCode()
67
    {
68
        return $this->sortCode;
69
    }
70
71
    /**
72
     * @return \DateTime
73
     */
74
    public function getCreated()
75
    {
76
        return new \DateTime();
77
    }
78
79
    /**
80
     * @return string
81
     */
82
    public function getDescription()
83
    {
84
        return $this->description;
85
    }
86
}
87