VerificationRow::setTxs()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace PimpayBundle\Model;
4
5
/**
6
 * Class VerificationRow
7
 * @package PimpayBundle\Model
8
 */
9
class VerificationRow
10
{
11
    /**
12
     * @var string
13
     */
14
    private $oid;
15
16
    /**
17
     * @var float
18
     */
19
    private $pfr;
20
21
    /**
22
     * @var float
23
     */
24
    private $ptp;
25
26
    /**
27
     * @var float
28
     */
29
    private $dc;
30
31
    /**
32
     * @var float
33
     */
34
    private $cs;
35
36
    /**
37
     * @var float
38
     */
39
    private $ins;
40
41
    /**
42
     * @var CustomTransaction[]
43
     */
44
    private $txs = [];
45
46
    /**
47
     * @return string
48
     */
49
    public function getOid(): string
50
    {
51
        return $this->oid;
52
    }
53
54
    /**
55
     * @param string $oid
56
     */
57
    public function setOid(string $oid)
58
    {
59
        $this->oid = $oid;
60
    }
61
62
    /**
63
     * @return float
64
     */
65
    public function getPfr(): float
66
    {
67
        return $this->pfr;
68
    }
69
70
    /**
71
     * @param float $pfr
72
     */
73
    public function setPfr(float $pfr)
74
    {
75
        $this->pfr = $pfr;
76
    }
77
78
    /**
79
     * @return float
80
     */
81
    public function getPtp(): float
82
    {
83
        return $this->ptp;
84
    }
85
86
    /**
87
     * @param float $ptp
88
     */
89
    public function setPtp(float $ptp)
90
    {
91
        $this->ptp = $ptp;
92
    }
93
94
    /**
95
     * @return float
96
     */
97
    public function getDc(): float
98
    {
99
        return $this->dc;
100
    }
101
102
    /**
103
     * @param float $dc
104
     */
105
    public function setDc(float $dc)
106
    {
107
        $this->dc = $dc;
108
    }
109
110
    /**
111
     * @return float
112
     */
113
    public function getCs(): float
114
    {
115
        return $this->cs;
116
    }
117
118
    /**
119
     * @param float $cs
120
     */
121
    public function setCs(float $cs)
122
    {
123
        $this->cs = $cs;
124
    }
125
126
    /**
127
     * @return float
128
     */
129
    public function getIns(): float
130
    {
131
        return $this->ins;
132
    }
133
134
    /**
135
     * @param float $ins
136
     */
137
    public function setIns(float $ins)
138
    {
139
        $this->ins = $ins;
140
    }
141
142
    /**
143
     * @return CustomTransaction[]
144
     */
145
    public function getTxs(): array
146
    {
147
        return $this->txs;
148
    }
149
150
    /**
151
     * @param CustomTransaction[] $txs
152
     */
153
    public function setTxs(array $txs)
154
    {
155
        $this->txs = $txs;
156
    }
157
}
158