BasketWarningAttributeFactory extends Factory
in package

This class will return the kind of basket warning attribute we need.

Tags
see
Factory::getElement()
see
BasketWarningAttributeFactory::getWarningAttribute()
see
Factory
uses
Factory

Table of Contents

CLASS_PREFIX  = 'BasketWarning'
CLASS_SUFFIX  = 'Attribute'
NAMESPACE  = 'SDK\\Dtos\\Basket\\BasketWarnings'
TYPE  = 'type'
getElement() Returns the needed element.  : Element|null
getWarningAttribute() Returns the needed type of basket warning.  : BasketWarningAttribute|null
defaultReturnValue()  : Element|null
getClassName()  : string
getItem()  : Element|null
prepareClassName()  : string

Constants

Methods

defaultReturnValue()

protected static defaultReturnValue(array<string|int, mixed> $data) : Element|null
Parameters
$data : array<string|int, mixed>
Return values
Element|null

getClassName()

protected static getClassName(string $name) : string
Parameters
$name : string
Return values
string

getItem()

protected static getItem([array<string|int, mixed> $data = [] ]) : Element|null
Parameters
$data : array<string|int, mixed> = []
Return values
Element|null

prepareClassName()

protected static prepareClassName(string $name) : string
Parameters
$name : string
Return values
string

Search results