class Amount extends AbstractCondition

Class Amount

Properties

static string $elementType from AbstractCondition
static string $type
float $minAmount
float $maxAmount

Methods

setValues( array $values)

No description

string
__toString()

No description

static  string
getElementType()

No description

static  string
getType()

No description

boolean
checkCondition( Carrier $carrier, Cart $cart, Address $address, ShippingRule $shippingRule)

Check if Cart is Valid for Condition.

string
getCacheKey()

get cache key for Condition. Use this method to invalidate a condition

float
getMinAmount()

No description

setMinAmount( float $minAmount)

No description

float
getMaxAmount()

No description

setMaxAmount( float $maxAmount)

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 51
boolean checkCondition( Carrier $carrier, Cart $cart, Address $address, ShippingRule $shippingRule)

Check if Cart is Valid for Condition.

Parameters

Carrier $carrier
Cart $cart
Address $address
ShippingRule $shippingRule

Return Value

boolean

in AbstractCondition at line line 43
string getCacheKey()

get cache key for Condition. Use this method to invalidate a condition

Return Value

string

at line line 73
float getMinAmount()

Return Value

float

at line line 81
setMinAmount( float $minAmount)

Parameters

float $minAmount

at line line 89
float getMaxAmount()

Return Value

float

at line line 97
setMaxAmount( float $maxAmount)

Parameters

float $maxAmount