@@ -31,7 +31,7 @@ |
||
| 31 | 31 | private $divider = 90; |
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | - *@return SQLQuery |
|
| 34 | + *@return DataQuery |
|
| 35 | 35 | **/ |
| 36 | 36 | public function applyOne(DataQuery $query) |
| 37 | 37 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class OrderEmailRecordFilters_MultiOptionsetStatusIDFilter extends ExactMatchFilter |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - *@return SQLQuery |
|
| 15 | + *@return DataQuery |
|
| 16 | 16 | **/ |
| 17 | 17 | public function apply(DataQuery $query) |
| 18 | 18 | { |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | private $divider = 3; |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - *@return SQLQuery |
|
| 31 | + *@return DataQuery |
|
| 32 | 32 | **/ |
| 33 | 33 | public function apply(DataQuery $query) |
| 34 | 34 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | class OrderFilters_MemberAndAddress extends ExactMatchFilter |
| 74 | 74 | { |
| 75 | 75 | /** |
| 76 | - *@return SQLQuery |
|
| 76 | + *@return DataQuery |
|
| 77 | 77 | **/ |
| 78 | 78 | public function apply(DataQuery $query) |
| 79 | 79 | { |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | class OrderFilters_MultiOptionsetStatusIDFilter extends ExactMatchFilter |
| 147 | 147 | { |
| 148 | 148 | /** |
| 149 | - *@return SQLQuery |
|
| 149 | + *@return DataQuery |
|
| 150 | 150 | **/ |
| 151 | 151 | public function apply(DataQuery $query) |
| 152 | 152 | { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | class OrderFilters_HasBeenCancelled extends ExactMatchFilter |
| 182 | 182 | { |
| 183 | 183 | /** |
| 184 | - *@return SQLQuery |
|
| 184 | + *@return DataQuery |
|
| 185 | 185 | **/ |
| 186 | 186 | public function apply(DataQuery $query) |
| 187 | 187 | { |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | class OrderFilters_MustHaveAtLeastOnePayment extends ExactMatchFilter |
| 217 | 217 | { |
| 218 | 218 | /** |
| 219 | - *@return SQLQuery |
|
| 219 | + *@return DataQuery |
|
| 220 | 220 | **/ |
| 221 | 221 | public function apply(DataQuery $query) |
| 222 | 222 | { |
@@ -90,6 +90,11 @@ |
||
| 90 | 90 | } |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | + /** |
|
| 94 | + * @param DataObject|null $lastOrderStep |
|
| 95 | + * @param string $orderStatusLogClassName |
|
| 96 | + * @param integer $offset |
|
| 97 | + */ |
|
| 93 | 98 | public function getOrdersForCreateSubmissionLogForArchivedOrders($lastOrderStep, $orderStatusLogClassName, $offset) |
| 94 | 99 | { |
| 95 | 100 | return Order::get() |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | |
| 20 | 20 | protected $deleteFirst = true; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param boolean $b |
|
| 24 | + */ |
|
| 22 | 25 | public function setDeleteFirst($b) |
| 23 | 26 | { |
| 24 | 27 | $this->deleteFirst = $b; |
@@ -196,8 +196,10 @@ |
||
| 196 | 196 | * |
| 197 | 197 | * @param string - $field - name of the field to be tested |
| 198 | 198 | * @param string - $table - name of the table to be tested |
| 199 | + * @param string $table |
|
| 200 | + * @param string $field |
|
| 199 | 201 | * |
| 200 | - * @return bool |
|
| 202 | + * @return boolean|null |
|
| 201 | 203 | */ |
| 202 | 204 | protected function makeFieldObsolete($table, $field, $format = '') |
| 203 | 205 | { |
@@ -69,6 +69,9 @@ |
||
| 69 | 69 | } |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param DataList $orderItems |
|
| 74 | + */ |
|
| 72 | 75 | public function generateExportFileData($email, $date, $orderItems) |
| 73 | 76 | { |
| 74 | 77 | $separator = ','; |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | * If the order already exists, it will update the seconds and the creation time. |
| 152 | 152 | * |
| 153 | 153 | * @param Order $order [description] |
| 154 | - * @param Int $deferInSeconds [description] |
|
| 154 | + * @param Int $deferTimeInSeconds [description] |
|
| 155 | 155 | */ |
| 156 | 156 | public function AddOrderToQueue($order, $deferTimeInSeconds) |
| 157 | 157 | { |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | /** |
| 113 | 113 | * You can set an alternative class name for order item using this method. |
| 114 | 114 | * |
| 115 | - * @param string $ClassName |
|
| 115 | + * @param string $className |
|
| 116 | 116 | **/ |
| 117 | 117 | public function setAlternativeClassNameForOrderItem($className); |
| 118 | 118 | |
@@ -240,6 +240,10 @@ discard block |
||
| 240 | 240 | * @return float (casted variable) |
| 241 | 241 | */ |
| 242 | 242 | public function CalculatedPrice(); |
| 243 | + |
|
| 244 | + /** |
|
| 245 | + * @return double |
|
| 246 | + */ |
|
| 243 | 247 | public function getCalculatedPrice(); |
| 244 | 248 | |
| 245 | 249 | /** |
@@ -248,6 +252,10 @@ discard block |
||
| 248 | 252 | * @return Money |
| 249 | 253 | */ |
| 250 | 254 | public function CalculatedPriceAsMoney(); |
| 255 | + |
|
| 256 | + /** |
|
| 257 | + * @return Money |
|
| 258 | + */ |
|
| 251 | 259 | public function getCalculatedPriceAsMoney(); |
| 252 | 260 | |
| 253 | 261 | //CRUD SETTINGS |