AuthorizeResponse::setDelayed()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Getnet\API;
4
5
/**
6
 * Class AuthorizeResponse
7
 *
8
 * @package Getnet\API
9
 */
10
class AuthorizeResponse extends BaseResponse
11
{
12
    /** @var */
13
    protected $delayed;
14
15
    /** @var */
16
    protected $authorization_code;
17
18
    /** @var */
19
    protected $authorized_at;
20
21
    /** @var */
22
    protected $reason_code;
23
24
    /** @var */
25
    protected $reason_message;
26
27
    /** @var */
28
    protected $acquirer;
29
30
    /** @var */
31
    protected $soft_descriptor;
32
33
    /** @var */
34
    protected $brand;
35
36
    /** @var */
37
    protected $terminal_nsu;
38
39
    /** @var */
40
    protected $acquirer_transaction_id;
41
42
    /** @var */
43
    protected $redirect_url;
44
45
    /** @var */
46
    protected $issuer_payment_id;
47
48
    /** @var */
49
    protected $payer_authentication_request;
50
51
    /**
52
     * @return mixed
53
     */
54
    public function getRedirectUrl()
55
    {
56
        return $this->redirect_url;
57
    }
58
59
    /**
60
     * @param $redirect_url
61
     * @return $this
62
     */
63
    public function setRedirectUrl($redirect_url)
64
    {
65
        $this->redirect_url = $redirect_url;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return mixed
72
     */
73
    public function getIssuerPaymentId()
74
    {
75
        return $this->issuer_payment_id;
76
    }
77
78
    /**
79
     * @param $issuer_payment_id
80
     * @return $this
81
     */
82
    public function setIssuerPaymentId($issuer_payment_id)
83
    {
84
        $this->issuer_payment_id = $issuer_payment_id;
85
86
        return $this;
87
    }
88
89
    /**
90
     * @return mixed
91
     */
92
    public function getPayerAuthenticationRequest()
93
    {
94
        return $this->payer_authentication_request;
95
    }
96
97
    /**
98
     * @param $payer_authentication_request
99
     * @return $this
100
     */
101
    public function setPayerAuthenticationRequest($payer_authentication_request)
102
    {
103
        $this->payer_authentication_request = $payer_authentication_request;
104
105
        return $this;
106
    }
107
108
    /**
109
     * @return mixed
110
     */
111
    public function getDelayed()
112
    {
113
        return $this->delayed;
114
    }
115
116
    /**
117
     * @param $delayed
118
     * @return $this
119
     */
120
    public function setDelayed($delayed)
121
    {
122
        $this->delayed = $delayed;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @return mixed
129
     */
130
    public function getAuthorizationCode()
131
    {
132
        return $this->authorization_code;
133
    }
134
135
    /**
136
     * @param $authorization_code
137
     * @return $this
138
     */
139
    public function setAuthorizationCode($authorization_code)
140
    {
141
        $this->authorization_code = $authorization_code;
142
143
        return $this;
144
    }
145
146
    /**
147
     * @return mixed
148
     */
149
    public function getAuthorizedAt()
150
    {
151
        return $this->authorized_at;
152
    }
153
154
    /**
155
     * @param $authorized_at
156
     * @return $this
157
     */
158
    public function setAuthorizedAt($authorized_at)
159
    {
160
        $this->authorized_at = $authorized_at;
161
162
        return $this;
163
    }
164
165
    /**
166
     * @return mixed
167
     */
168
    public function getReasonCode()
169
    {
170
        return $this->reason_code;
171
    }
172
173
    /**
174
     * @param $reason_code
175
     * @return $this
176
     */
177
    public function setReasonCode($reason_code)
178
    {
179
        $this->reason_code = $reason_code;
180
181
        return $this;
182
    }
183
184
    /**
185
     * @return mixed
186
     */
187
    public function getReasonMessage()
188
    {
189
        return $this->reason_message;
190
    }
191
192
    /**
193
     * @param $reason_message
194
     * @return $this
195
     */
196
    public function setReasonMessage($reason_message)
197
    {
198
        $this->reason_message = $reason_message;
199
200
        return $this;
201
    }
202
203
    /**
204
     * @return mixed
205
     */
206
    public function getAcquirer()
207
    {
208
        return $this->acquirer;
209
    }
210
211
    /**
212
     * @param $acquirer
213
     * @return $this
214
     */
215
    public function setAcquirer($acquirer)
216
    {
217
        $this->acquirer = $acquirer;
218
219
        return $this;
220
    }
221
222
    /**
223
     * @return mixed
224
     */
225
    public function getSoftDescriptor()
226
    {
227
        return $this->soft_descriptor;
228
    }
229
230
    /**
231
     * @param $soft_descriptor
232
     * @return $this
233
     */
234
    public function setSoftDescriptor($soft_descriptor)
235
    {
236
        $this->soft_descriptor = $soft_descriptor;
237
238
        return $this;
239
    }
240
241
    /**
242
     * @return mixed
243
     */
244
    public function getBrand()
245
    {
246
        return $this->brand;
247
    }
248
249
    /**
250
     * @param $brand
251
     * @return $this
252
     */
253
    public function setBrand($brand)
254
    {
255
        $this->brand = $brand;
256
257
        return $this;
258
    }
259
260
    /**
261
     * @return mixed
262
     */
263
    public function getTerminalNsu()
264
    {
265
        return $this->terminal_nsu;
266
    }
267
268
    /**
269
     * @param $terminal_nsu
270
     * @return $this
271
     */
272
    public function setTerminalNsu($terminal_nsu)
273
    {
274
        $this->terminal_nsu = $terminal_nsu;
275
276
        return $this;
277
    }
278
279
    /**
280
     * @return mixed
281
     */
282
    public function getAcquirerTransactionId()
283
    {
284
        return $this->acquirer_transaction_id;
285
    }
286
287
    /**
288
     * @param $acquirer_transaction_id
289
     * @return $this
290
     */
291
    public function setAcquirerTransactionId($acquirer_transaction_id)
292
    {
293
        $this->acquirer_transaction_id = $acquirer_transaction_id;
294
295
        return $this;
296
    }
297
}
298