RecurringApplicationCharge::getTrialEndsOn()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Slince\Shopify\Manager\RecurringApplicationCharge;
13
14
use Slince\Shopify\Common\Model\Model;
15
16
class RecurringApplicationCharge extends Model
17
{
18
    /**
19
     * @var string
20
     */
21
    protected $activatedOn;
22
23
    /**
24
     * @var string
25
     */
26
    protected $billingOn;
27
28
    /**
29
     * @var string
30
     */
31
    protected $canceledOn;
32
33
    /**
34
     * @var int
35
     */
36
    protected $cappedAmount;
37
38
    /**
39
     * @var string
40
     */
41
    protected $confirmationUrl;
42
43
    /**
44
     * @var \DateTimeInterface
45
     */
46
    protected $createdAt;
47
48
    /**
49
     * @var string
50
     */
51
    protected $decoratedReturnUrl;
52
53
    /**
54
     * @var string
55
     */
56
    protected $name;
57
58
    /**
59
     * @var float
60
     */
61
    protected $price;
62
63
    /**
64
     * @var string
65
     */
66
    protected $returnUrl;
67
68
    /**
69
     * @var string
70
     */
71
    protected $status;
72
73
    /**
74
     * @var string
75
     */
76
    protected $terms;
77
78
    /**
79
     * @var bool
80
     */
81
    protected $test;
82
83
    /**
84
     * @var int
85
     */
86
    protected $trialDays;
87
88
    /**
89
     * @var bool
90
     */
91
    protected $trialEndsOn;
92
93
    /**
94
     * @var \DateTimeInterface
95
     */
96
    protected $updatedAt;
97
98
    /**
99
     * @return string
100
     */
101
    public function getActivatedOn()
102
    {
103
        return $this->activatedOn;
104
    }
105
106
    /**
107
     * @param string $activatedOn
108
     *                                                                
109
     * @return RecurringApplicationCharge
110
     */
111
    public function setActivatedOn($activatedOn)
112
    {
113
        $this->activatedOn = $activatedOn;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @return string
120
     */
121
    public function getBillingOn()
122
    {
123
        return $this->billingOn;
124
    }
125
126
    /**
127
     * @param string $billingOn
128
     *                                                                
129
     * @return RecurringApplicationCharge
130
     */
131
    public function setBillingOn($billingOn)
132
    {
133
        $this->billingOn = $billingOn;
134
135
        return $this;
136
    }
137
138
    /**
139
     * @return string
140
     */
141
    public function getCanceledOn()
142
    {
143
        return $this->canceledOn;
144
    }
145
146
    /**
147
     * @param string $canceledOn
148
     *                                                                
149
     * @return RecurringApplicationCharge
150
     */
151
    public function setCanceledOn($canceledOn)
152
    {
153
        $this->canceledOn = $canceledOn;
154
155
        return $this;
156
    }
157
158
    /**
159
     * @return int
160
     */
161
    public function getCappedAmount()
162
    {
163
        return $this->cappedAmount;
164
    }
165
166
    /**
167
     * @param int $cappedAmount
168
     *                                                                
169
     * @return RecurringApplicationCharge
170
     */
171
    public function setCappedAmount($cappedAmount)
172
    {
173
        $this->cappedAmount = $cappedAmount;
174
175
        return $this;
176
    }
177
178
    /**
179
     * @return string
180
     */
181
    public function getConfirmationUrl()
182
    {
183
        return $this->confirmationUrl;
184
    }
185
186
    /**
187
     * @param string $confirmationUrl
188
     *                                                                
189
     * @return RecurringApplicationCharge
190
     */
191
    public function setConfirmationUrl($confirmationUrl)
192
    {
193
        $this->confirmationUrl = $confirmationUrl;
194
195
        return $this;
196
    }
197
198
    /**
199
     * @return \DateTimeInterface
200
     */
201
    public function getCreatedAt()
202
    {
203
        return $this->createdAt;
204
    }
205
206
    /**
207
     * @param \DateTimeInterface $createdAt
208
     *                                                                
209
     * @return RecurringApplicationCharge
210
     */
211
    public function setCreatedAt($createdAt)
212
    {
213
        $this->createdAt = $createdAt;
214
215
        return $this;
216
    }
217
218
    /**
219
     * @return string
220
     */
221
    public function getDecoratedReturnUrl()
222
    {
223
        return $this->decoratedReturnUrl;
224
    }
225
226
    /**
227
     * @param string $decoratedReturnUrl
228
     *                                                                
229
     * @return RecurringApplicationCharge
230
     */
231
    public function setDecoratedReturnUrl($decoratedReturnUrl)
232
    {
233
        $this->decoratedReturnUrl = $decoratedReturnUrl;
234
235
        return $this;
236
    }
237
238
    /**
239
     * @return string
240
     */
241
    public function getName()
242
    {
243
        return $this->name;
244
    }
245
246
    /**
247
     * @param string $name
248
     *                                                                
249
     * @return RecurringApplicationCharge
250
     */
251
    public function setName($name)
252
    {
253
        $this->name = $name;
254
255
        return $this;
256
    }
257
258
    /**
259
     * @return float
260
     */
261
    public function getPrice()
262
    {
263
        return $this->price;
264
    }
265
266
    /**
267
     * @param float $price
268
     *                                                                
269
     * @return RecurringApplicationCharge
270
     */
271
    public function setPrice($price)
272
    {
273
        $this->price = $price;
274
275
        return $this;
276
    }
277
278
    /**
279
     * @return string
280
     */
281
    public function getReturnUrl()
282
    {
283
        return $this->returnUrl;
284
    }
285
286
    /**
287
     * @param string $returnUrl
288
     *                                                                
289
     * @return RecurringApplicationCharge
290
     */
291
    public function setReturnUrl($returnUrl)
292
    {
293
        $this->returnUrl = $returnUrl;
294
295
        return $this;
296
    }
297
298
    /**
299
     * @return string
300
     */
301
    public function getStatus()
302
    {
303
        return $this->status;
304
    }
305
306
    /**
307
     * @param string $status
308
     *                                                                
309
     * @return RecurringApplicationCharge
310
     */
311
    public function setStatus($status)
312
    {
313
        $this->status = $status;
314
315
        return $this;
316
    }
317
318
    /**
319
     * @return string
320
     */
321
    public function getTerms()
322
    {
323
        return $this->terms;
324
    }
325
326
    /**
327
     * @param string $terms
328
     *                                                                
329
     * @return RecurringApplicationCharge
330
     */
331
    public function setTerms($terms)
332
    {
333
        $this->terms = $terms;
334
335
        return $this;
336
    }
337
338
    /**
339
     * @return bool
340
     */
341
    public function getTest()
342
    {
343
        return $this->test;
344
    }
345
346
    /**
347
     * @param bool $test
348
     *                                                                
349
     * @return RecurringApplicationCharge
350
     */
351
    public function setTest($test)
352
    {
353
        $this->test = $test;
354
355
        return $this;
356
    }
357
358
    /**
359
     * @return int
360
     */
361
    public function getTrialDays()
362
    {
363
        return $this->trialDays;
364
    }
365
366
    /**
367
     * @param int $trialDays
368
     *                                                                
369
     * @return RecurringApplicationCharge
370
     */
371
    public function setTrialDays($trialDays)
372
    {
373
        $this->trialDays = $trialDays;
374
375
        return $this;
376
    }
377
378
    /**
379
     * @return bool
380
     */
381
    public function getTrialEndsOn()
382
    {
383
        return $this->trialEndsOn;
384
    }
385
386
    /**
387
     * @param bool $trialEndsOn
388
     *                                                                
389
     * @return RecurringApplicationCharge
390
     */
391
    public function setTrialEndsOn($trialEndsOn)
392
    {
393
        $this->trialEndsOn = $trialEndsOn;
394
395
        return $this;
396
    }
397
398
    /**
399
     * @return \DateTimeInterface
400
     */
401
    public function getUpdatedAt()
402
    {
403
        return $this->updatedAt;
404
    }
405
406
    /**
407
     * @param \DateTimeInterface $updatedAt
408
     *                                                                
409
     * @return RecurringApplicationCharge
410
     */
411
    public function setUpdatedAt($updatedAt)
412
    {
413
        $this->updatedAt = $updatedAt;
414
415
        return $this;
416
    }
417
    
418
}