ProductConditionNoticeConfigurationService
in
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
deleteStoredConfiguration()
Deletes all stored module configurations.
public
deleteStoredConfiguration() : void
Return values
void —disableModule()
Disables this module and hides the product condition notice in the checkout.
public
disableModule() : void
Return values
void —enableModule()
Enables this module and shows the product condition notice in the checkout.
public
enableModule() : void
Return values
void —getAllNoticeTexts()
Returns all product condition notice texts.
public
getAllNoticeTexts() : array<string|int, string>
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
Return values
string —isConfirmationMandatory()
Returns the confirmation-is-mandatory state.
public
isConfirmationMandatory() : bool
Return values
bool —isModuleEnabled()
Returns the module-is-enabled state.
public
isModuleEnabled() : bool
Return values
bool —setConfirmationAsMandatory()
Marks the confirmation of the product condition notice as mandatory.
public
setConfirmationAsMandatory() : void
Return values
void —setConfirmationAsNotMandatory()
Marks the confirmation of the product condition notice as not mandatory.
public
setConfirmationAsNotMandatory() : void
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
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>