Passed
Push — master ( 5b59e5...6891ea )
by Carl
02:32
created

Card   A

Complexity

Total Complexity 26

Size/Duplication

Total Lines 236
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 26
lcom 0
cbo 0
dl 0
loc 236
rs 10
c 0
b 0
f 0

26 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 4 1
A getCreationDate() 0 4 1
A setCreationDate() 0 4 1
A getTag() 0 4 1
A setTag() 0 4 1
A getExpirationDate() 0 4 1
A setExpirationDate() 0 4 1
A getAlias() 0 4 1
A setAlias() 0 4 1
A getCardProvider() 0 4 1
A setCardProvider() 0 4 1
A getCardType() 0 4 1
A setCardType() 0 4 1
A getCountry() 0 4 1
A setCountry() 0 4 1
A getProduct() 0 4 1
A setProduct() 0 4 1
A getBankCode() 0 4 1
A setBankCode() 0 4 1
A getActive() 0 4 1
A setActive() 0 4 1
A getCurrency() 0 4 1
A setCurrency() 0 4 1
A getValidity() 0 4 1
A setValidity() 0 4 1
1
<?php
2
/**
3
 * Created by Carl Owens ([email protected])
4
 * Company: PartFire Ltd (www.partfire.co.uk)
5
 * Copyright © 2017 PartFire Ltd. All rights reserved.
6
 *
7
 * User:    Carl Owens
8
 * Date:    18/01/2017
9
 * Time:    23:47
10
 * File:    Card.php
11
 **/
12
13
namespace PartFire\MangoPayBundle\Models\DTOs;
14
15
class Card
16
{
17
    private $id;
18
19
    private $creationDate;
20
21
    private $tag;
22
23
    private $expirationDate;
24
25
    private $alias;
26
27
    private $cardProvider;
28
29
    private $cardType;
30
31
    private $country;
32
33
    private $product;
34
35
    private $bankCode;
36
37
    private $active;
38
39
    private $currency;
40
41
    private $validity;
42
43
    /**
44
     * @return mixed
45
     */
46
    public function getId()
47
    {
48
        return $this->id;
49
    }
50
51
    /**
52
     * @param mixed $id
53
     */
54
    public function setId($id)
55
    {
56
        $this->id = $id;
57
    }
58
59
    /**
60
     * @return mixed
61
     */
62
    public function getCreationDate()
63
    {
64
        return $this->creationDate;
65
    }
66
67
    /**
68
     * @param mixed $creationDate
69
     */
70
    public function setCreationDate($creationDate)
71
    {
72
        $this->creationDate = $creationDate;
73
    }
74
75
    /**
76
     * @return mixed
77
     */
78
    public function getTag()
79
    {
80
        return $this->tag;
81
    }
82
83
    /**
84
     * @param mixed $tag
85
     */
86
    public function setTag($tag)
87
    {
88
        $this->tag = $tag;
89
    }
90
91
    /**
92
     * @return mixed
93
     */
94
    public function getExpirationDate()
95
    {
96
        return $this->expirationDate;
97
    }
98
99
    /**
100
     * @param mixed $expirationDate
101
     */
102
    public function setExpirationDate($expirationDate)
103
    {
104
        $this->expirationDate = $expirationDate;
105
    }
106
107
    /**
108
     * @return mixed
109
     */
110
    public function getAlias()
111
    {
112
        return $this->alias;
113
    }
114
115
    /**
116
     * @param mixed $alias
117
     */
118
    public function setAlias($alias)
119
    {
120
        $this->alias = $alias;
121
    }
122
123
    /**
124
     * @return mixed
125
     */
126
    public function getCardProvider()
127
    {
128
        return $this->cardProvider;
129
    }
130
131
    /**
132
     * @param mixed $cardProvider
133
     */
134
    public function setCardProvider($cardProvider)
135
    {
136
        $this->cardProvider = $cardProvider;
137
    }
138
139
    /**
140
     * @return mixed
141
     */
142
    public function getCardType()
143
    {
144
        return $this->cardType;
145
    }
146
147
    /**
148
     * @param mixed $cardType
149
     */
150
    public function setCardType($cardType)
151
    {
152
        $this->cardType = $cardType;
153
    }
154
155
    /**
156
     * @return mixed
157
     */
158
    public function getCountry()
159
    {
160
        return $this->country;
161
    }
162
163
    /**
164
     * @param mixed $country
165
     */
166
    public function setCountry($country)
167
    {
168
        $this->country = $country;
169
    }
170
171
    /**
172
     * @return mixed
173
     */
174
    public function getProduct()
175
    {
176
        return $this->product;
177
    }
178
179
    /**
180
     * @param mixed $product
181
     */
182
    public function setProduct($product)
183
    {
184
        $this->product = $product;
185
    }
186
187
    /**
188
     * @return mixed
189
     */
190
    public function getBankCode()
191
    {
192
        return $this->bankCode;
193
    }
194
195
    /**
196
     * @param mixed $bankCode
197
     */
198
    public function setBankCode($bankCode)
199
    {
200
        $this->bankCode = $bankCode;
201
    }
202
203
    /**
204
     * @return mixed
205
     */
206
    public function getActive()
207
    {
208
        return $this->active;
209
    }
210
211
    /**
212
     * @param mixed $active
213
     */
214
    public function setActive($active)
215
    {
216
        $this->active = $active;
217
    }
218
219
    /**
220
     * @return mixed
221
     */
222
    public function getCurrency()
223
    {
224
        return $this->currency;
225
    }
226
227
    /**
228
     * @param mixed $currency
229
     */
230
    public function setCurrency($currency)
231
    {
232
        $this->currency = $currency;
233
    }
234
235
    /**
236
     * @return mixed
237
     */
238
    public function getValidity()
239
    {
240
        return $this->validity;
241
    }
242
243
    /**
244
     * @param mixed $validity
245
     */
246
    public function setValidity($validity)
247
    {
248
        $this->validity = $validity;
249
    }
250
}
251