Completed
Push — master ( 674111...7ff602 )
by Fabian
02:10
created

LedgerInfoModel::getAclass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
/**
3
 * @author Fabian Hanisch
4
 * @since: 2017-08-27
5
 * @version 1.0.0
6
 */
7
8
namespace HanischIt\KrakenApi\Calls\Shared\Model;
9
10
/**
11
 * Class LedgerInfoModel
12
 * @package HanischIt\KrakenApi\Calls\Shared\Model
13
 */
14
class LedgerInfoModel
15
{
16
    /**
17
     * @var string
18
     */
19
    private $ledgerId;
20
    /**
21
     * @var string
22
     */
23
    private $refid;
24
    /**
25
     * @var string
26
     */
27
    private $time;
28
    /**
29
     * @var string
30
     */
31
    private $type;
32
    /**
33
     * @var string
34
     */
35
    private $aclass;
36
    /**
37
     * @var string
38
     */
39
    private $asset;
40
    /**
41
     * @var float
42
     */
43
    private $amount;
44
    /**
45
     * @var float
46
     */
47
    private $fee;
48
    /**
49
     * @var float
50
     */
51
    private $balance;
52
53
    /**
54
     * LedgerInfoModel constructor.
55
     * @param string $ledgerId
56
     * @param string $refid
57
     * @param string $time
58
     * @param string $type
59
     * @param string $aclass
60
     * @param string $asset
61
     * @param float $amount
62
     * @param float $fee
63
     * @param float $balance
64
     */
65 1
    public function __construct($ledgerId, $refid, $time, $type, $aclass, $asset, $amount, $fee, $balance)
66
    {
67 1
        $this->ledgerId = $ledgerId;
68 1
        $this->refid = $refid;
69 1
        $this->time = $time;
70 1
        $this->type = $type;
71 1
        $this->aclass = $aclass;
72 1
        $this->asset = $asset;
73 1
        $this->amount = $amount;
74 1
        $this->fee = $fee;
75 1
        $this->balance = $balance;
76 1
    }
77
78
    /**
79
     * @return string
80
     */
81 1
    public function getLedgerId()
82
    {
83 1
        return $this->ledgerId;
84
    }
85
86
    /**
87
     * @return string
88
     */
89 1
    public function getRefid()
90
    {
91 1
        return $this->refid;
92
    }
93
94
    /**
95
     * @return string
96
     */
97 1
    public function getTime()
98
    {
99 1
        return $this->time;
100
    }
101
102
    /**
103
     * @return string
104
     */
105 1
    public function getType()
106
    {
107 1
        return $this->type;
108
    }
109
110
    /**
111
     * @return string
112
     */
113
    public function getAclass()
114
    {
115
        return $this->aclass;
116
    }
117
118
    /**
119
     * @return string
120
     */
121 1
    public function getAsset()
122
    {
123 1
        return $this->asset;
124
    }
125
126
    /**
127
     * @return float
128
     */
129 1
    public function getAmount()
130
    {
131 1
        return $this->amount;
132
    }
133
134
    /**
135
     * @return float
136
     */
137 1
    public function getFee()
138
    {
139 1
        return $this->fee;
140
    }
141
142
    /**
143
     * @return float
144
     */
145 1
    public function getBalance()
146
    {
147 1
        return $this->balance;
148
    }
149
150
151
}