GenericPaymentContainer::setWalletType()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Payone\Business\Api\Request\Container;
9
10
use SprykerEco\Shared\Payone\PayoneApiConstants;
11
12
class GenericPaymentContainer extends AbstractRequestContainer
13
{
14
    /**
15
     * @var string
16
     */
17
    protected $request = PayoneApiConstants::REQUEST_TYPE_GENERICPAYMENT;
18
19
    /**
20
     * @var string
21
     */
22
    protected $clearingtype;
23
24
    /**
25
     * @var int
26
     */
27
    protected $amount;
28
29
    /**
30
     * @var string
31
     */
32
    protected $currency;
33
34
    /**
35
     * @var string
36
     */
37
    protected $narrative_text;
38
39
    /**
40
     * @var \SprykerEco\Zed\Payone\Business\Api\Request\Container\GenericPayment\PaydataContainer
41
     */
42
    protected $paydata;
43
44
    /**
45
     * @var string
46
     */
47
    protected $workorderid;
48
49
    /**
50
     * @var string
51
     */
52
    protected $shipping_firstname;
53
54
    /**
55
     * @var string
56
     */
57
    protected $shipping_lastname;
58
59
    /**
60
     * @var string
61
     */
62
    protected $shipping_company;
63
64
    /**
65
     * @var string
66
     */
67
    protected $shipping_street;
68
69
    /**
70
     * @var int
71
     */
72
    protected $shipping_zip;
73
74
    /**
75
     * @var string
76
     */
77
    protected $shipping_city;
78
79
    /**
80
     * @var string
81
     */
82
    protected $shipping_state;
83
84
    /**
85
     * @var string
86
     */
87
    protected $shipping_country;
88
89
    /**
90
     * @var string
91
     */
92
    protected $wallettype;
93
94
    /**
95
     * @var string
96
     */
97
    protected $successurl;
98
99
    /**
100
     * @var string
101
     */
102
    protected $errorurl;
103
104
    /**
105
     * @var string
106
     */
107
    protected $backurl;
108
109
    /**
110
     * @return string
111
     */
112
    public function getClearingType()
113
    {
114
        return $this->clearingtype;
115
    }
116
117
    /**
118
     * @param string $clearingType
119
     *
120
     * @return void
121
     */
122
    public function setClearingType($clearingType)
123
    {
124
        $this->clearingtype = $clearingType;
125
    }
126
127
    /**
128
     * @return int
129
     */
130
    public function getAmount()
131
    {
132
        return $this->amount;
133
    }
134
135
    /**
136
     * @param int $amount
137
     *
138
     * @return void
139
     */
140
    public function setAmount($amount)
141
    {
142
        $this->amount = $amount;
143
    }
144
145
    /**
146
     * @return string
147
     */
148
    public function getCurrency()
149
    {
150
        return $this->currency;
151
    }
152
153
    /**
154
     * @param string $currency
155
     *
156
     * @return void
157
     */
158
    public function setCurrency($currency)
159
    {
160
        $this->currency = $currency;
161
    }
162
163
    /**
164
     * @return string
165
     */
166
    public function getNarrativeText()
167
    {
168
        return $this->narrative_text;
169
    }
170
171
    /**
172
     * @param string $narrativeText
173
     *
174
     * @return void
175
     */
176
    public function setNarrativeText($narrativeText)
177
    {
178
        $this->narrative_text = $narrativeText;
179
    }
180
181
    /**
182
     * @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\GenericPayment\PaydataContainer
183
     */
184
    public function getPaydata()
185
    {
186
        return $this->paydata;
187
    }
188
189
    /**
190
     * @param \SprykerEco\Zed\Payone\Business\Api\Request\Container\GenericPayment\PaydataContainer $paydata
191
     *
192
     * @return void
193
     */
194
    public function setPaydata($paydata)
195
    {
196
        $this->paydata = $paydata;
197
    }
198
199
    /**
200
     * @return string
201
     */
202
    public function getWorkOrderId()
203
    {
204
        return $this->workorderid;
205
    }
206
207
    /**
208
     * @param string $workOrderId
209
     *
210
     * @return void
211
     */
212
    public function setWorkOrderId($workOrderId)
213
    {
214
        $this->workorderid = $workOrderId;
215
    }
216
217
    /**
218
     * @return string
219
     */
220
    public function getShippingFirstName()
221
    {
222
        return $this->shipping_firstname;
223
    }
224
225
    /**
226
     * @param string $shippingFirstName
227
     *
228
     * @return void
229
     */
230
    public function setShippingFirstName($shippingFirstName)
231
    {
232
        $this->shipping_firstname = $shippingFirstName;
233
    }
234
235
    /**
236
     * @return string
237
     */
238
    public function getShippingLastName()
239
    {
240
        return $this->shipping_lastname;
241
    }
242
243
    /**
244
     * @param string $shippingLastName
245
     *
246
     * @return void
247
     */
248
    public function setShippingLastName($shippingLastName)
249
    {
250
        $this->shipping_lastname = $shippingLastName;
251
    }
252
253
    /**
254
     * @return string
255
     */
256
    public function getShippingCompany()
257
    {
258
        return $this->shipping_company;
259
    }
260
261
    /**
262
     * @param string $shippingCompany
263
     *
264
     * @return void
265
     */
266
    public function setShippingCompany($shippingCompany)
267
    {
268
        $this->shipping_company = $shippingCompany;
269
    }
270
271
    /**
272
     * @return string
273
     */
274
    public function getShippingStreet()
275
    {
276
        return $this->shipping_street;
277
    }
278
279
    /**
280
     * @param string $shippingStreet
281
     *
282
     * @return void
283
     */
284
    public function setShippingStreet($shippingStreet)
285
    {
286
        $this->shipping_street = $shippingStreet;
287
    }
288
289
    /**
290
     * @return int
291
     */
292
    public function getShippingZip()
293
    {
294
        return $this->shipping_zip;
295
    }
296
297
    /**
298
     * @param int $shippingZip
299
     *
300
     * @return void
301
     */
302
    public function setShippingZip($shippingZip)
303
    {
304
        $this->shipping_zip = $shippingZip;
305
    }
306
307
    /**
308
     * @return string
309
     */
310
    public function getShippingCity()
311
    {
312
        return $this->shipping_city;
313
    }
314
315
    /**
316
     * @param string $shippingCity
317
     *
318
     * @return void
319
     */
320
    public function setShippingCity($shippingCity)
321
    {
322
        $this->shipping_city = $shippingCity;
323
    }
324
325
    /**
326
     * @return string
327
     */
328
    public function getShippingState()
329
    {
330
        return $this->shipping_state;
331
    }
332
333
    /**
334
     * @param string $shippingState
335
     *
336
     * @return void
337
     */
338
    public function setShippingState($shippingState)
339
    {
340
        $this->shipping_state = $shippingState;
341
    }
342
343
    /**
344
     * @return string
345
     */
346
    public function getShippingCountry()
347
    {
348
        return $this->shipping_country;
349
    }
350
351
    /**
352
     * @param string $shippingCountry
353
     *
354
     * @return void
355
     */
356
    public function setShippingCountry($shippingCountry)
357
    {
358
        $this->shipping_country = $shippingCountry;
359
    }
360
361
    /**
362
     * @return string
363
     */
364
    public function getWalletType()
365
    {
366
        return $this->wallettype;
367
    }
368
369
    /**
370
     * @param string $walletType
371
     *
372
     * @return void
373
     */
374
    public function setWalletType($walletType)
375
    {
376
        $this->wallettype = $walletType;
377
    }
378
}
379