1 | <?php |
||
11 | class RequestBuilder implements RequestBuilderInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var Request |
||
15 | */ |
||
16 | private $request; |
||
17 | |||
18 | /** |
||
19 | * @param Request $request |
||
20 | * @param boolean $manualCharge |
||
21 | */ |
||
22 | 4 | public function __construct($manualCharge, Request $request = null) |
|
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | 1 | public function setCustomer(Customer $customer) |
|
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | 1 | public function setName($name) |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | 1 | public function setDetails($details) |
|
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | 1 | public function setFinalDate(DateTime $finalDate) |
|
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | 1 | public function setMaxTotalAmount($maxTotalAmount) |
|
80 | |||
81 | /** |
||
82 | * {@inheritdoc} |
||
83 | */ |
||
84 | 1 | public function setPeriod($period) |
|
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | 1 | public function setRedirectTo($redirectTo) |
|
100 | |||
101 | /** |
||
102 | * {@inheritdoc} |
||
103 | */ |
||
104 | 1 | public function setReference($reference) |
|
110 | |||
111 | /** |
||
112 | * {@inheritdoc} |
||
113 | */ |
||
114 | 1 | public function setReviewOn($reviewOn) |
|
120 | |||
121 | /** |
||
122 | * {@inheritdoc} |
||
123 | */ |
||
124 | 1 | public function setAmountPerPayment($amountPerPayment) |
|
130 | |||
131 | /** |
||
132 | * {@inheritdoc} |
||
133 | */ |
||
134 | 1 | public function setMaxAmountPerPayment($maxAmountPerPayment) |
|
140 | |||
141 | /** |
||
142 | * {@inheritdoc} |
||
143 | */ |
||
144 | 1 | public function setMaxPaymentsPerPeriod($maxPaymentsPerPeriod) |
|
150 | |||
151 | /** |
||
152 | * {@inheritdoc} |
||
153 | */ |
||
154 | 1 | public function setMaxAmountPerPeriod($maxAmountPerPeriod) |
|
160 | |||
161 | /** |
||
162 | * {@inheritdoc} |
||
163 | */ |
||
164 | 1 | public function setInitialDate(DateTime $initialDate) |
|
170 | |||
171 | /** |
||
172 | * {@inheritdoc} |
||
173 | */ |
||
174 | 1 | public function getRequest() |
|
178 | } |
||
179 |