ConditionNoticeConfigurationService
in package
implements
ConditionNoticeConfigurationService
Class ConfigurationService
Interfaces, Classes and Traits
- ConditionNoticeConfigurationService
- Interface ConditionNoticeConfigurationService
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.
- disableConditionNotice() : void
- Disables the product condition notice in the checkout.
- enableConditionNotice() : void
- Enables the product condition notice in the checkout.
- getAllConditionNoticeTexts() : array<string|int, string>
- Returns all product condition notice texts.
- getConditionNoticeText() : string
- Returns the product condition notice text shown in the checkout process.
- isConditionNoticeEnabled() : bool
- Returns the "product condition notice is enabled" state.
- isConditionNoticeMandatory() : bool
- Returns the "product condition notice is mandatory" state.
- setConditionNoticeAsMandatory() : void
- Marks the product condition notice as mandatory.
- setConditionNoticeAsNotMandatory() : void
- Marks the product condition notice as not mandatory.
- setConditionNoticeText() : void
- Sets the product condition notice text shown in the checkout process.
- setConditionNoticeTexts() : void
- Sets the product condition notice texts shown in the checkout process.
Constants
PRODUCT_CONDITION_NOTICE_IS_MANDATORY
private
mixed
PRODUCT_CONDITION_NOTICE_IS_MANDATORY
= 'product_condition_notice_is_mandatory'
PRODUCT_CONDITION_NOTICE_TEXT
private
mixed
PRODUCT_CONDITION_NOTICE_TEXT
= 'product_condition_notice_text/'
SHOW_PRODUCT_CONDITION_NOTICE
private
mixed
SHOW_PRODUCT_CONDITION_NOTICE
= 'show_product_condition_notice'
Properties
$configurationStorage
private
ConfigurationStorage
$configurationStorage
Methods
__construct()
public
__construct(ConfigurationStorage $configurationStorage) : mixed
Parameters
- $configurationStorage : ConfigurationStorage
Return values
mixed —deleteStoredConfiguration()
Deletes all stored module configurations.
public
deleteStoredConfiguration() : void
Tags
Return values
void —disableConditionNotice()
Disables the product condition notice in the checkout.
public
disableConditionNotice() : void
Tags
Return values
void —enableConditionNotice()
Enables the product condition notice in the checkout.
public
enableConditionNotice() : void
Tags
Return values
void —getAllConditionNoticeTexts()
Returns all product condition notice texts.
public
getAllConditionNoticeTexts() : array<string|int, string>
Tags
Return values
array<string|int, string> —getConditionNoticeText()
Returns the product condition notice text shown in the checkout process.
public
getConditionNoticeText(string $languageCode) : string
Parameters
- $languageCode : string
Tags
Return values
string —isConditionNoticeEnabled()
Returns the "product condition notice is enabled" state.
public
isConditionNoticeEnabled() : bool
Tags
Return values
bool —isConditionNoticeMandatory()
Returns the "product condition notice is mandatory" state.
public
isConditionNoticeMandatory() : bool
Tags
Return values
bool —setConditionNoticeAsMandatory()
Marks the product condition notice as mandatory.
public
setConditionNoticeAsMandatory() : void
Tags
Return values
void —setConditionNoticeAsNotMandatory()
Marks the product condition notice as not mandatory.
public
setConditionNoticeAsNotMandatory() : void
Tags
Return values
void —setConditionNoticeText()
Sets the product condition notice text shown in the checkout process.
public
setConditionNoticeText(string $languageCode, string $text) : void
Parameters
- $languageCode : string
- $text : string
Tags
Return values
void —setConditionNoticeTexts()
Sets the product condition notice texts shown in the checkout process.
public
setConditionNoticeTexts(array<string|int, mixed> $texts) : void
Parameters
- $texts : array<string|int, mixed>