phpDocumentor

ConditionNoticeConfigurationService

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

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

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>
Return values
void

Search results