Passed
Push — master ( 0a093e...5b59e5 )
by Carl
02:51
created

CardRegistration::setPreregistrationData()   A

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
 * 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:    17/01/2017
9
 * Time:    21:28
10
 * File:    Card.php
11
 **/
12
13
namespace PartFire\MangoPayBundle\Models\DTOs;
14
15
class CardRegistration
16
{
17
    private $id;
18
19
    private $creationDate;
20
21
    private $tag;
22
23
    private $currency;
24
25
    private $accessKey;
26
27
    private $preregistrationData;
28
29
    private $cardRegistrationUrl;
30
31
    private $registrationUrl;
32
33
    private $cardType;
34
35
    private $cardId;
36
37
    private $resultCode;
38
39
    private $resultMessage;
40
41
    private $status;
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 getCurrency()
95
    {
96
        return $this->currency;
97
    }
98
99
    /**
100
     * @param mixed $currency
101
     */
102
    public function setCurrency($currency)
103
    {
104
        $this->currency = $currency;
105
    }
106
107
    /**
108
     * @return mixed
109
     */
110
    public function getAccessKey()
111
    {
112
        return $this->accessKey;
113
    }
114
115
    /**
116
     * @param mixed $accessKey
117
     */
118
    public function setAccessKey($accessKey)
119
    {
120
        $this->accessKey = $accessKey;
121
    }
122
123
    /**
124
     * @return mixed
125
     */
126
    public function getPreregistrationData()
127
    {
128
        return $this->preregistrationData;
129
    }
130
131
    /**
132
     * @param mixed $preregistrationData
133
     */
134
    public function setPreregistrationData($preregistrationData)
135
    {
136
        $this->preregistrationData = $preregistrationData;
137
    }
138
139
    /**
140
     * @return mixed
141
     */
142
    public function getCardRegistrationUrl()
143
    {
144
        return $this->cardRegistrationUrl;
145
    }
146
147
    /**
148
     * @param mixed $cardRegistrationUrl
149
     */
150
    public function setCardRegistrationUrl($cardRegistrationUrl)
151
    {
152
        $this->cardRegistrationUrl = $cardRegistrationUrl;
153
    }
154
155
    /**
156
     * @return mixed
157
     */
158
    public function getRegistrationUrl()
159
    {
160
        return $this->registrationUrl;
161
    }
162
163
    /**
164
     * @param mixed $registrationUrl
165
     */
166
    public function setRegistrationUrl($registrationUrl)
167
    {
168
        $this->registrationUrl = $registrationUrl;
169
    }
170
171
    /**
172
     * @return mixed
173
     */
174
    public function getCardType()
175
    {
176
        return $this->cardType;
177
    }
178
179
    /**
180
     * @param mixed $cardType
181
     */
182
    public function setCardType($cardType)
183
    {
184
        $this->cardType = $cardType;
185
    }
186
187
    /**
188
     * @return mixed
189
     */
190
    public function getCardId()
191
    {
192
        return $this->cardId;
193
    }
194
195
    /**
196
     * @param mixed $cardId
197
     */
198
    public function setCardId($cardId)
199
    {
200
        $this->cardId = $cardId;
201
    }
202
203
    /**
204
     * @return mixed
205
     */
206
    public function getResultCode()
207
    {
208
        return $this->resultCode;
209
    }
210
211
    /**
212
     * @param mixed $resultCode
213
     */
214
    public function setResultCode($resultCode)
215
    {
216
        $this->resultCode = $resultCode;
217
    }
218
219
    /**
220
     * @return mixed
221
     */
222
    public function getResultMessage()
223
    {
224
        return $this->resultMessage;
225
    }
226
227
    /**
228
     * @param mixed $resultMessage
229
     */
230
    public function setResultMessage($resultMessage)
231
    {
232
        $this->resultMessage = $resultMessage;
233
    }
234
235
    /**
236
     * @return mixed
237
     */
238
    public function getStatus()
239
    {
240
        return $this->status;
241
    }
242
243
    /**
244
     * @param mixed $status
245
     */
246
    public function setStatus($status)
247
    {
248
        $this->status = $status;
249
    }
250
}
251