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

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

        return $this->sendConfirmationEmail(
            $recipient,
            $apiOrder,
            $this->templateCustomerConfirmationPath,
            $customerContact
        );
    }
public function sendCustomerConfirmation ( $ recipient , ApiOrderInterface $ apiOrder , ContactInterface $ customerContact = null ) { if ( ! $ this -> sendEmailConfirmationToCustomer ) { return false ; } return $ this -> sendConfirmationEmail ( $ recipient , $ apiOrder , $ this -> templateCustomerConfirmationPath , $ customerContact ) ; }
Sends a confirmation email to the customer.

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

@return bool
Sends a confirmation email to the customer .