1 | <?php |
||
16 | class DiscountApplication extends Model |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $type; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $value; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $valueType; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $allocationMethod; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $targetSelection; |
||
42 | |||
43 | /** |
||
44 | * @var string |
||
45 | */ |
||
46 | protected $targetType; |
||
47 | |||
48 | /** |
||
49 | * @var string |
||
50 | */ |
||
51 | protected $code; |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function getType() |
||
60 | |||
61 | /** |
||
62 | * @param string $type |
||
63 | * |
||
64 | * @return DiscountApplication |
||
65 | */ |
||
66 | public function setType($type) |
||
72 | |||
73 | /** |
||
74 | * @return string |
||
75 | */ |
||
76 | public function getValue() |
||
80 | |||
81 | /** |
||
82 | * @param string $value |
||
83 | * |
||
84 | * @return DiscountApplication |
||
85 | */ |
||
86 | public function setValue($value) |
||
92 | |||
93 | /** |
||
94 | * @return string |
||
95 | */ |
||
96 | public function getValueType() |
||
100 | |||
101 | /** |
||
102 | * @param string $valueType |
||
103 | * |
||
104 | * @return DiscountApplication |
||
105 | */ |
||
106 | public function setValueType($valueType) |
||
112 | |||
113 | /** |
||
114 | * @return string |
||
115 | */ |
||
116 | public function getAllocationMethod() |
||
120 | |||
121 | /** |
||
122 | * @param string $allocationMethod |
||
123 | * |
||
124 | * @return DiscountApplication |
||
125 | */ |
||
126 | public function setAllocationMethod($allocationMethod) |
||
132 | |||
133 | /** |
||
134 | * @return string |
||
135 | */ |
||
136 | public function getTargetSelection() |
||
140 | |||
141 | /** |
||
142 | * @param string $targetSelection |
||
143 | * |
||
144 | * @return DiscountApplication |
||
145 | */ |
||
146 | public function setTargetSelection($targetSelection) |
||
152 | |||
153 | /** |
||
154 | * @return string |
||
155 | */ |
||
156 | public function getTargetType() |
||
160 | |||
161 | /** |
||
162 | * @param string $targetType |
||
163 | * |
||
164 | * @return DiscountApplication |
||
165 | */ |
||
166 | public function setTargetType($targetType) |
||
172 | |||
173 | /** |
||
174 | * @return string |
||
175 | */ |
||
176 | public function getCode() |
||
180 | |||
181 | /** |
||
182 | * @param string $code |
||
183 | * |
||
184 | * @return DiscountApplication |
||
185 | */ |
||
186 | public function setCode($code) |
||
192 | } |