public function sendShopownerConfirmation(
        $recipient,
        ApiOrderInterface $apiOrder,
        ContactInterface $customerContact = null
    ) {
        if (!$this->sendEmailConfirmationToShopowner) {
            return false;
        }

        if (empty($recipient)) {
            // fallback address for shop-owner order confirmations
            $recipient = $this->confirmationRecipientEmailAddress;
        }

        return $this->sendConfirmationEmail(
            $recipient,
            $apiOrder,
            $this->templateShopownerConfirmationPath,
            $customerContact
        );
    }
public function sendShopownerConfirmation(
        $recipient,
        ApiOrderInterface $apiOrder,
        ContactInterface $customerContact = null
    ) {
        if (!$this->sendEmailConfirmationToShopowner) {
            return false;
        }

        if (empty($recipient)) {
            // fallback address for shop-owner order confirmations
            $recipient = $this->confirmationRecipientEmailAddress;
        }

        return $this->sendConfirmationEmail(
            $recipient,
            $apiOrder,
            $this->templateShopownerConfirmationPath,
            $customerContact
        );
    }
public function sendShopownerConfirmation ( $ recipient , ApiOrderInterface $ apiOrder , ContactInterface $ customerContact = null ) { if ( ! $ this -> sendEmailConfirmationToShopowner ) { return false ; } if ( empty ( $ recipient ) ) { // fallback address for shop-owner order confirmations $ recipient = $ this -> confirmationRecipientEmailAddress ; } return $ this -> sendConfirmationEmail ( $ recipient , $ apiOrder , $ this -> templateShopownerConfirmationPath , $ customerContact ) ; }
Sends a confirmation email to the shop-owner.

@param null|string $recipient
@param ApiOrderInterface $apiOrder
@param ContactInterface $customerContact

@return bool
Sends a confirmation email to the shop - owner .