1 | <?php |
||
11 | class Action extends AbstractModel |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | * @JMS\Type("string") |
||
16 | */ |
||
17 | private $actionCode; |
||
18 | /** |
||
19 | * @var Item |
||
20 | * @JMS\Type("\Wonnova\SDK\Model\Item") |
||
21 | */ |
||
22 | private $item; |
||
23 | /** |
||
24 | * @var array |
||
25 | * @JMS\Type("array<string>") |
||
26 | */ |
||
27 | private $categories; |
||
28 | |||
29 | /** |
||
30 | * Get actionCode |
||
31 | * @return string |
||
32 | */ |
||
33 | 1 | public function getActionCode() |
|
37 | |||
38 | /** |
||
39 | * Set actionCode |
||
40 | * @param string $actionCode |
||
41 | * @return $this |
||
42 | */ |
||
43 | 6 | public function setActionCode($actionCode) |
|
48 | |||
49 | /** |
||
50 | * Get item |
||
51 | * @return Item |
||
52 | */ |
||
53 | 1 | public function getItem() |
|
57 | |||
58 | /** |
||
59 | * Set item |
||
60 | * @param Item $item |
||
61 | * @return $this |
||
62 | */ |
||
63 | 4 | public function setItem($item) |
|
68 | |||
69 | /** |
||
70 | * Get categories |
||
71 | * @return array |
||
72 | */ |
||
73 | 1 | public function getCategories() |
|
77 | |||
78 | /** |
||
79 | * Set categories |
||
80 | * @param array $categories |
||
81 | * @return $this |
||
82 | */ |
||
83 | 3 | public function setCategories($categories) |
|
88 | |||
89 | /** |
||
90 | * @return array |
||
91 | */ |
||
92 | 5 | public function toArray() |
|
107 | } |
||
108 |