Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class CaptureOrderTransaction extends AbstractTransaction |
||
14 | { |
||
15 | /** |
||
16 | * @return string |
||
17 | */ |
||
18 | protected function getTransactionType(): string |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return string |
||
25 | */ |
||
26 | protected function getTransactionCode(): string |
||
27 | { |
||
28 | return ApiConstants::TRANSACTION_CODE_CAPTURE; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return \Braintree\Result\Error|\Braintree\Result\Successful |
||
33 | */ |
||
34 | protected function doTransaction() |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return \Braintree\Result\Error|\Braintree\Result\Successful |
||
41 | */ |
||
42 | protected function capture() |
||
47 |