class TotalPerCustomer extends AbstractCondition

Class TotalPerCustomer

Properties

static string $elementType from AbstractCondition
static string $type
int $total

Methods

setValues( array $values)

No description

string
__toString()

No description

static  string
getElementType()

No description

static  string
getType()

No description

mixed
checkConditionCart( Cart $cart, PriceRule $priceRule, bool|false $throwException = false)

Check if Cart is Valid for Condition.

bool
checkConditionProduct( Product $product, AbstractProductPriceRule $priceRule)

Check if Product is Valid for Condition.

int
getTotal()

No description

setTotal( int $total)

No description

Details

in AbstractActionCondition at line line 36
setValues( array $values)

Parameters

array $values

in AbstractActionCondition at line line 54
string __toString()

Return Value

string

in AbstractActionCondition at line line 62
static string getElementType()

Return Value

string

in AbstractActionCondition at line line 70
static string getType()

Return Value

string

at line line 68
mixed checkConditionCart( Cart $cart, PriceRule $priceRule, bool|false $throwException = false)

Check if Cart is Valid for Condition.

Parameters

Cart $cart
PriceRule $priceRule
bool|false $throwException

Return Value

mixed

Exceptions

Exception

at line line 119
bool checkConditionProduct( Product $product, AbstractProductPriceRule $priceRule)

Check if Product is Valid for Condition.

Parameters

Product $product
AbstractProductPriceRule $priceRule

Return Value

bool

at line line 44
int getTotal()

Return Value

int

at line line 52
setTotal( int $total)

Parameters

int $total