Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getPaymentPaidPartiallyHTMLTemplateDe example
$this
->
getPaymentRefundedHTMLTemplateDe
(
)
,
$this
->
getPaymentRefundedPlainTemplateDe
(
)
)
;
$this
->
updateMailTemplate
(
MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_TRANSACTION_STATE_PAID_PARTIALLY,
$connection
,
$defaultLangId
,
$deLangId
,
$this
->
getPaymentPaidPartiallyHtmlTemplateEn
(
)
,
$this
->
getPaymentPaidPartiallyPlainTemplateEn
(
)
,
$this
->
getPaymentPaidPartiallyHTMLTemplateDe
(
)
,
$this
->
getPaymentPaidPartiallyPlainTemplateDe
(
)
)
;
}
public
function
updateDestructive
(
Connection
$connection
)
: void
{
}
private
function
updateMailTemplate
(
string
$mailTemplateType
,
Connection
$connection
,
?
$this
->
getPaymentRefundedHTMLTemplateDe
(
)
,
$this
->
getPaymentRefundedPlainTemplateDe
(
)
)
;
$this
->
updateMailTemplate
(
MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_TRANSACTION_STATE_PAID_PARTIALLY,
$connection
,
$defaultLangId
,
$deLangId
,
$this
->
getPaymentPaidPartiallyHtmlTemplateEn
(
)
,
$this
->
getPaymentPaidPartiallyPlainTemplateEn
(
)
,
$this
->
getPaymentPaidPartiallyHTMLTemplateDe
(
)
,
$this
->
getPaymentPaidPartiallyPlainTemplateDe
(
)
)
;
}
public
function
updateDestructive
(
Connection
$connection
)
: void
{
}
private
function
fetchLanguageId
(
string
$code
, Connection
$connection
)
: ?string
{
/** @var string|null $langId */
MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_TRANSACTION_STATE_REFUNDED,
$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 */