phpDocumentor

ProductConditionNoticeConfigurationService implements ProductConditionNoticeConfigurationService

Class ConfigurationService

Interfaces, Classes and Traits

ProductConditionNoticeConfigurationService
Interface ProductConditionNoticeConfigurationService

Table of Contents

PRODUCT_CONDITION_NOTICE_IS_MANDATORY  = 'product_condition_notice_is_mandatory'
PRODUCT_CONDITION_NOTICE_TEXT  = 'product_condition_notice_text/'
SHOW_PRODUCT_CONDITION_NOTICE  = 'show_product_condition_notice'
$configurationStorage  : ConfigurationStorage
__construct()  : mixed
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.

Constants

Properties

Methods

getAllNoticeTexts()

Returns all product condition notice texts.

public getAllNoticeTexts() : array<string|int, string>
Tags
inheritDoc
Return values
array<string|int, string>

getNoticeText()

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

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

setConfirmationAsMandatory()

Marks the confirmation of the product condition notice as mandatory.

public setConfirmationAsMandatory() : void
Tags
inheritDoc
Return values
void

setConfirmationAsNotMandatory()

Marks the confirmation of the product condition notice as not mandatory.

public setConfirmationAsNotMandatory() : void
Tags
inheritDoc
Return values
void

setNoticeText()

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

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

setNoticeTexts()

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

public setNoticeTexts(array<string|int, mixed> $texts) : void
Parameters
$texts : array<string|int, mixed>
Tags
inheritDoc
Return values
void

Search results