Helper/Order.php
private function setPaymentMethod($quote)
    {
        $quote->setPaymentMethod(Payment::METHOD_CODE);
        // Set Sales Order Payment
        $quote->getPayment()->importData(['method' => Payment::METHOD_CODE])->save();
    }
private function setPaymentMethod($quote)
    {
        $quote->setPaymentMethod(Payment::METHOD_CODE);
        // Set Sales Order Payment
        $quote->getPayment()->importData(['method' => Payment::METHOD_CODE])->save();
    }
private function setPaymentMethod ( $ quote ) { $ quote -> setPaymentMethod ( Payment :: METHOD_CODE ) ; // Set Sales Order Payment $ quote -> getPayment ( ) -> importData ( [ 'method' => Payment :: METHOD_CODE ] ) -> save ( ) ; }
Set Quote payment method, 'boltpay'

@param Quote $quote

@throws LocalizedException
@throws \Exception
Set Quote payment method boltpay