1 | <?php |
||
28 | final class RecurringResponse implements ObjectInitializedInterface { |
||
29 | /** |
||
30 | * @var int minimal number of days between recurring payments |
||
31 | */ |
||
32 | private $frequency = 0; |
||
33 | |||
34 | /** |
||
35 | * @var int last date timestamp when recurring payments will work |
||
36 | */ |
||
37 | private $endsAt = 0; |
||
38 | |||
39 | /** |
||
40 | * @return int minimal number of days between recurring payments |
||
41 | */ |
||
42 | 2 | public function getFrequency() { |
|
45 | |||
46 | /** |
||
47 | * @return int last date timestamp when recurring payments will work |
||
48 | */ |
||
49 | 2 | public function getEndsAt() { |
|
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | * @return RecurringResponse transaction recurrent data instance |
||
56 | */ |
||
57 | 2 | public static function initializeByObject(stdClass $Object) { |
|
63 | |||
64 | /** |
||
65 | * @inheritdoc |
||
66 | */ |
||
67 | 2 | public function __toString() { |
|
76 | } |
||
77 |