class MatchForTotalAmount extends ConditionAbstract

Condition AvailableForTotalAmount Check if a Checkout total amount match criteria

Constants

CART_TOTAL

Condition 1st parameter : price

CART_CURRENCY

Condition 1st parameter : currency

Methods

__construct( FacadeInterface $facade)

Constructor

array
getValidators()

Return all validators

string
getServiceId()

No description

getSerializableCondition()

Return a serializable Condition

$this
setValidatorsFromForm( array $operators, array $values)

No description

bool
isMatching()

Test if Customer meets conditions

string
getName()

No description

string
getToolTip()

No description

string
getSummary()

No description

string
drawBackOfficeInputs()

No description

Details

at line 36
__construct( FacadeInterface $facade)

Constructor

Parameters

FacadeInterface $facade Service Facade

in ConditionAbstract at line 98
array getValidators()

Return all validators

Return Value

array

at line 58
string getServiceId()

Return Value

string

in ConditionAbstract at line 173
SerializableCondition getSerializableCondition()

Return a serializable Condition

Return Value

SerializableCondition

at line 66
$this setValidatorsFromForm( array $operators, array $values)

Parameters

array $operators an array of operators (greater than, less than, etc.) entered in the condition parameter input form, one for each condition defined by the Condition
array $values an array of values entered in in the condition parameter input form, one for each condition defined by the Condition

Return Value

$this

at line 93
bool isMatching()

Test if Customer meets conditions

Return Value

bool

at line 119
string getName()

Return Value

string

at line 130
string getToolTip()

Return Value

string

at line 143
string getSummary()

Return Value

string

at line 195
string drawBackOfficeInputs()

Return Value

string HTML string