ActionInterface
interface ActionInterface
Interface ActionInterface contains base methods for action
Constants
| TYPE_FIXED_DISCOUNT |
Action type |
| TYPE_PERCENTAGE_DISCOUNT |
Action type |
Methods
string
getType()
Get type
setType(mixed $type)
Set type
array
getConfiguration()
Get configuration
setConfiguration(array|null $configuration)
Set configuration
PromotionInterface|null
getPromotion()
Get promotion
Details
at line 34
string
getType()
Get type
at line 43
ActionInterface
setType(mixed $type)
Set type
at line 50
array
getConfiguration()
Get configuration
at line 59
ActionInterface
setConfiguration(array|null $configuration)
Set configuration
at line 66
PromotionInterface|null
getPromotion()
Get promotion
at line 75
ActionInterface
setPromotion(PromotionInterface $promotion = null)
Set promotion