public function capture(Transaction $transaction)
    {
        $captureTransactionService = new CaptureTransactionService($this->store, $transaction, $this->logger);
        $captureTransactionService->platform($this->platform, $this->platformVersion);

        return $captureTransactionService->execute();
    }
public function capture(Transaction $transaction)
    {
        $captureTransactionService = new CaptureTransactionService($this->store, $transaction, $this->logger);
        $captureTransactionService->platform($this->platform, $this->platformVersion);

        return $captureTransactionService->execute();
    }
public function capture ( Transaction $ transaction ) { $ captureTransactionService = new CaptureTransactionService ( $ this -> store , $ transaction , $ this -> logger ) ; $ captureTransactionService -> platform ( $ this -> platform , $ this -> platformVersion ) ; return $ captureTransactionService -> execute ( ) ; }
@param Transaction $transaction

@return Transaction
@param Transaction $transaction