Action
class Action implements ActionInterface
Properties
| protected int | $id | ||
| protected string|null | $type | Action type | |
| protected array|null | $configuration | Configuration of the action | |
| protected PromotionInterface|null | $promotion | Associated promotion |
Methods
integer
getId()
Get id
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 71
integer
getId()
Get id
at line 79
string
getType()
Get type
at line 87
ActionInterface
setType(mixed $type)
Set type
at line 97
array
getConfiguration()
Get configuration
at line 105
ActionInterface
setConfiguration(array|null $configuration)
Set configuration
at line 115
PromotionInterface|null
getPromotion()
Get promotion
at line 123
ActionInterface
setPromotion(PromotionInterface $promotion = null)
Set promotion