ConditionNoticeConfigurationService
in
Interface ConditionNoticeConfigurationService
Table of Contents
- 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.
Methods
deleteStoredConfiguration()
Deletes all stored module configurations.
public
deleteStoredConfiguration() : void
Return values
void —disableConditionNotice()
Disables the product condition notice in the checkout.
public
disableConditionNotice() : void
Return values
void —enableConditionNotice()
Enables the product condition notice in the checkout.
public
enableConditionNotice() : void
Return values
void —getAllConditionNoticeTexts()
Returns all product condition notice texts.
public
getAllConditionNoticeTexts() : array<string|int, string>
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
Return values
string —isConditionNoticeEnabled()
Returns the "product condition notice is enabled" state.
public
isConditionNoticeEnabled() : bool
Return values
bool —isConditionNoticeMandatory()
Returns the "product condition notice is mandatory" state.
public
isConditionNoticeMandatory() : bool
Return values
bool —setConditionNoticeAsMandatory()
Marks the product condition notice as mandatory.
public
setConditionNoticeAsMandatory() : void
Return values
void —setConditionNoticeAsNotMandatory()
Marks the product condition notice as not mandatory.
public
setConditionNoticeAsNotMandatory() : void
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
Return values
void —setConditionNoticeTexts()
Sets the product condition notice texts shown in the checkout process.
public
setConditionNoticeTexts(array<string, string> $texts) : void
The provided array keys need to be language codes.
Parameters
- $texts : array<string, string>