phpDocumentor

ProductConditionNoticeConfigurationService

Interface ProductConditionNoticeConfigurationService

Table of Contents

deleteStoredConfiguration()  : void
Deletes all stored module configurations.
disableModule()  : void
Disables this module and hides the product condition notice in the checkout.
enableModule()  : void
Enables this module and shows the product condition notice in the checkout.
getAllNoticeTexts()  : array<string|int, string>
Returns all product condition notice texts.
getNoticeText()  : string
Returns the product condition notice text shown in the checkout process.
isConfirmationMandatory()  : bool
Returns the confirmation-is-mandatory state.
isModuleEnabled()  : bool
Returns the module-is-enabled state.
setConfirmationAsMandatory()  : void
Marks the confirmation of the product condition notice as mandatory.
setConfirmationAsNotMandatory()  : void
Marks the confirmation of the product condition notice as not mandatory.
setNoticeText()  : void
Sets the product condition notice text shown in the checkout process.
setNoticeTexts()  : void
Sets the product condition notice texts shown in the checkout process.

Methods

getNoticeText()

Returns the product condition notice text shown in the checkout process.

public getNoticeText(string $languageCode) : string
Parameters
$languageCode : string
Return values
string

setNoticeText()

Sets the product condition notice text shown in the checkout process.

public setNoticeText(string $languageCode, string $text) : void
Parameters
$languageCode : string
$text : string
Return values
void

setNoticeTexts()

Sets the product condition notice texts shown in the checkout process.

public setNoticeTexts(array<string, string> $texts) : void

The provided array keys need to be language codes.

Parameters
$texts : array<string, string>
Return values
void

Search results