$connection,
$deLangId,
$this->
getPaymentRefundedHTMLTemplateDe(),
$this->
getPaymentRefundedPlainTemplateDe() );
$this->
updateMailTemplate( MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_TRANSACTION_STATE_PAID_PARTIALLY,
$connection,
$deLangId,
$this->
getPaymentPaidPartiallyHTMLTemplateDe(),
$this->
getPaymentPaidPartiallyPlainTemplateDe() );
} public function updateDestructive(Connection
$connection): void
{ } private function fetchLanguageId(string
$code, Connection
$connection): ?string
{ /** @var string|null $langId */
$langId =
$connection->
fetchOne('
SELECT `language`.`id` FROM `language` INNER JOIN `locale` ON `language`.`locale_id` = `locale`.`id` WHERE `code` = :code LIMIT 1
',