use Shopware\Core\Checkout\Payment\Cart\SyncPaymentTransactionStruct;
use Shopware\Core\Framework\Log\Package;
use Shopware\Core\Framework\Validation\DataBag\RequestDataBag;
use Shopware\Core\System\SalesChannel\SalesChannelContext;
#[Package('checkout')]
class DebitPayment extends DefaultPayment
{ public function pay(SyncPaymentTransactionStruct
$transaction, RequestDataBag
$dataBag, SalesChannelContext
$salesChannelContext): void
{ $this->transactionStateHandler->
process($transaction->
getOrderTransaction()->
getId(),
$salesChannelContext->
getContext());
}}