@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace PayumTW\Collect\Action\Api; |
4 | 4 | |
5 | 5 | use PayumTW\Collect\Api; |
6 | -use Payum\Core\ApiAwareInterface; |
|
7 | 6 | use Payum\Core\Action\ActionInterface; |
7 | +use Payum\Core\ApiAwareInterface; |
|
8 | 8 | use Payum\Core\Exception\UnsupportedApiException; |
9 | 9 | |
10 | 10 | abstract class BaseApiAwareAction implements ActionInterface, ApiAwareInterface |
@@ -2,17 +2,17 @@ |
||
2 | 2 | |
3 | 3 | namespace PayumTW\Collect\Action; |
4 | 4 | |
5 | -use Payum\Core\Request\Capture; |
|
6 | -use Payum\Core\GatewayAwareTrait; |
|
7 | -use Payum\Core\GatewayAwareInterface; |
|
8 | -use Payum\Core\Action\ActionInterface; |
|
9 | -use Payum\Core\Bridge\Spl\ArrayObject; |
|
10 | -use Payum\Core\Request\GetHttpRequest; |
|
11 | 5 | use PayumTW\Collect\Action\Api\BaseApiAwareAction; |
12 | 6 | use PayumTW\Collect\Request\Api\CreateTransaction; |
7 | +use Payum\Core\Action\ActionInterface; |
|
8 | +use Payum\Core\Bridge\Spl\ArrayObject; |
|
13 | 9 | use Payum\Core\Exception\RequestNotSupportedException; |
14 | -use Payum\Core\Security\GenericTokenFactoryAwareTrait; |
|
10 | +use Payum\Core\GatewayAwareInterface; |
|
11 | +use Payum\Core\GatewayAwareTrait; |
|
12 | +use Payum\Core\Request\Capture; |
|
13 | +use Payum\Core\Request\GetHttpRequest; |
|
15 | 14 | use Payum\Core\Security\GenericTokenFactoryAwareInterface; |
15 | +use Payum\Core\Security\GenericTokenFactoryAwareTrait; |
|
16 | 16 | |
17 | 17 | class CaptureAction extends BaseApiAwareAction implements ActionInterface, GatewayAwareInterface, GenericTokenFactoryAwareInterface |
18 | 18 | { |