@@ -333,7 +333,7 @@ |
||
333 | 333 | * |
334 | 334 | * @param string $currencyCode - the code of the currency, e.g. nzd |
335 | 335 | * |
336 | - * @return EcommerceCurrency | Null |
|
336 | + * @return DataList | Null |
|
337 | 337 | */ |
338 | 338 | public static function get_one_from_code($currencyCode) |
339 | 339 | { |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | * META METHOD: Add an order to the job list if it does not exist already. |
153 | 153 | * |
154 | 154 | * @param Order $order |
155 | - * @param Int $deferInSeconds |
|
155 | + * @param Int $deferTimeInSeconds |
|
156 | 156 | */ |
157 | 157 | public function AddOrderToQueue($order, $deferTimeInSeconds) |
158 | 158 | { |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * |
185 | 185 | * |
186 | 186 | * @param Order $order optional |
187 | - * @return boolean | string |
|
187 | + * @return boolean|string | string |
|
188 | 188 | */ |
189 | 189 | public function process($order = null) |
190 | 190 | { |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | * |
245 | 245 | * @param Order $order |
246 | 246 | * |
247 | - * @return null | OrderProcessQueue |
|
247 | + * @return DataObject | OrderProcessQueue |
|
248 | 248 | */ |
249 | 249 | public function getQueueObject($order) |
250 | 250 | { |
@@ -301,7 +301,6 @@ discard block |
||
301 | 301 | |
302 | 302 | /** |
303 | 303 | * META METHOD: all orders with a queue object |
304 | - * @param int $id force this Order to be processed |
|
305 | 304 | * @param int $limit total number of orders that can be retrieved at any one time |
306 | 305 | * |
307 | 306 | * @return DataList (of orders) |
@@ -467,7 +466,7 @@ discard block |
||
467 | 466 | |
468 | 467 | /** |
469 | 468 | * sort phrase for orders, based in order IDs... |
470 | - * @param array $orderIds |
|
469 | + * @param array $orderIDs |
|
471 | 470 | * @return string |
472 | 471 | */ |
473 | 472 | protected function sortPhraseForOrderIDs($orderIDs) |
@@ -100,6 +100,11 @@ |
||
100 | 100 | } |
101 | 101 | } |
102 | 102 | |
103 | + /** |
|
104 | + * @param DataObject $lastOrderStep |
|
105 | + * @param string $orderStatusLogClassName |
|
106 | + * @param integer $offset |
|
107 | + */ |
|
103 | 108 | public function getOrdersForCreateSubmissionLogForArchivedOrders($lastOrderStep, $orderStatusLogClassName, $offset) |
104 | 109 | { |
105 | 110 | return Order::get() |