1 | <?php |
||
10 | class ShopPayment extends DataExtension |
||
11 | { |
||
12 | private static $has_one = array( |
||
13 | 'Order' => 'Order', |
||
14 | ); |
||
15 | |||
16 | public function onAwaitingAuthorized(ServiceResponse $response) |
||
20 | |||
21 | public function onAwaitingCaptured(ServiceResponse $response) |
||
25 | |||
26 | public function onAuthorized(ServiceResponse $response) |
||
30 | |||
31 | public function onCaptured(ServiceResponse $response) |
||
38 | |||
39 | protected function placeOrder() |
||
46 | } |
||
47 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.