$connection,
$deLangId,
$this->
getOrderStateCompletedHTMLTemplateDe(),
$this->
getOrderStateCompletedPlainTemplateDe() );
// update payment email template
$this->
updateMailTemplate( MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_TRANSACTION_STATE_REFUNDED_PARTIALLY,
$connection,
$deLangId,
$this->
getPaymentRefundPartiallyHTMLTemplateDe(),
$this->
getPaymentRefundPartiallyPlainTemplateDe() );
$this->
updateMailTemplate( MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_TRANSACTION_STATE_REMINDED,
$connection,
$deLangId,
$this->
getPaymentRemindedHTMLTemplateDe(),
$this->
getPaymentRemindedPlainTemplateDe() );