phpDocumentor

WarrantyNoticeConfigurationService

Interface WarrantyNoticeConfigurationService

Table of Contents

deleteStoredConfiguration()  : void
Deletes all stored module configurations.
disableWarrantyNotice()  : void
Disables the product warranty notice in the checkout.
enableWarrantyNotice()  : void
Enables the product warranty notice in the checkout.
getAllWarrantyNoticeTexts()  : array<string|int, string>
Returns all product warranty notice texts.
getWarrantyNoticeText()  : string
Returns the product warranty notice text shown in the checkout process.
isWarrantyNoticeEnabled()  : bool
Returns the "product warranty notice is enabled" state.
isWarrantyNoticeMandatory()  : bool
Returns the "product warranty notice is mandatory" state.
setWarrantyNoticeAsMandatory()  : void
Marks the product warranty notice as mandatory.
setWarrantyNoticeAsNotMandatory()  : void
Marks the product warranty notice as not mandatory.
setWarrantyNoticeText()  : void
Sets the product warranty notice text shown in the checkout process.
setWarrantyNoticeTexts()  : void
Sets the product warranty notice texts shown in the checkout process.

Methods

getAllWarrantyNoticeTexts()

Returns all product warranty notice texts.

public getAllWarrantyNoticeTexts() : array<string|int, string>
Return values
array<string|int, string>

getWarrantyNoticeText()

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

public getWarrantyNoticeText(string $languageCode) : string
Parameters
$languageCode : string
Return values
string

isWarrantyNoticeEnabled()

Returns the "product warranty notice is enabled" state.

public isWarrantyNoticeEnabled() : bool
Return values
bool

isWarrantyNoticeMandatory()

Returns the "product warranty notice is mandatory" state.

public isWarrantyNoticeMandatory() : bool
Return values
bool

setWarrantyNoticeAsMandatory()

Marks the product warranty notice as mandatory.

public setWarrantyNoticeAsMandatory() : void
Return values
void

setWarrantyNoticeAsNotMandatory()

Marks the product warranty notice as not mandatory.

public setWarrantyNoticeAsNotMandatory() : void
Return values
void

setWarrantyNoticeText()

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

public setWarrantyNoticeText(string $languageCode, string $text) : void
Parameters
$languageCode : string
$text : string
Return values
void

setWarrantyNoticeTexts()

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

public setWarrantyNoticeTexts(array<string, string> $texts) : void

The provided array keys need to be language codes.

Parameters
$texts : array<string, string>
Return values
void

Search results