File tree Expand file tree Collapse file tree 2 files changed +0
-93
lines changed
app/code/Magento/CatalogRule Expand file tree Collapse file tree 2 files changed +0
-93
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,6 @@ interface RuleInterface extends \Magento\Framework\Api\CustomAttributesDataInter
31
31
32
32
const SIMPLE_ACTION = 'simple_action ' ;
33
33
34
- const SUB_IS_ENABLED = 'sub_is_enabled ' ;
35
-
36
- const SUB_SIMPLE_ACTION = 'sub_simple_action ' ;
37
-
38
- const SUB_DISCOUNT_AMOUNT = 'sub_discount_amount ' ;
39
-
40
34
const DISCOUNT_AMOUNT = 'discount_amount ' ;
41
35
42
36
/**#@-*/
@@ -171,45 +165,6 @@ public function getDiscountAmount();
171
165
*/
172
166
public function setDiscountAmount ($ amount );
173
167
174
- /**
175
- * Returns sub enabled flag
176
- *
177
- * @return int
178
- */
179
- public function getSubIsEnabled ();
180
-
181
- /**
182
- * @param int $subIsEnabled
183
- * @return $this
184
- */
185
- public function setSubIsEnabled ($ subIsEnabled );
186
-
187
- /**
188
- * Returns sub simple action
189
- *
190
- * @return string
191
- */
192
- public function getSubSimpleAction ();
193
-
194
- /**
195
- * @param string $subSimpleAction
196
- * @return $this
197
- */
198
- public function setSubSimpleAction ($ subSimpleAction );
199
-
200
- /**
201
- * Returns sub discount amount
202
- *
203
- * @return float
204
- */
205
- public function getSubDiscountAmount ();
206
-
207
- /**
208
- * @param float $subDiscountAmount
209
- * @return $this
210
- */
211
- public function setSubDiscountAmount ($ subDiscountAmount );
212
-
213
168
/**
214
169
* Retrieve existing extension attributes object or create a new one.
215
170
*
Original file line number Diff line number Diff line change @@ -737,54 +737,6 @@ public function setDiscountAmount($amount)
737
737
return $ this ->setData (self ::DISCOUNT_AMOUNT , $ amount );
738
738
}
739
739
740
- /**
741
- * {@inheritdoc}
742
- */
743
- public function getSubIsEnabled ()
744
- {
745
- return $ this ->getData (self ::SUB_IS_ENABLED );
746
- }
747
-
748
- /**
749
- * {@inheritdoc}
750
- */
751
- public function setSubIsEnabled ($ subIsEnabled )
752
- {
753
- return $ this ->setData (self ::SUB_IS_ENABLED , $ subIsEnabled );
754
- }
755
-
756
- /**
757
- * {@inheritdoc}
758
- */
759
- public function getSubSimpleAction ()
760
- {
761
- return $ this ->getData (self ::SUB_SIMPLE_ACTION );
762
- }
763
-
764
- /**
765
- * {@inheritdoc}
766
- */
767
- public function setSubSimpleAction ($ subSimpleAction )
768
- {
769
- return $ this ->setData (self ::SUB_SIMPLE_ACTION , $ subSimpleAction );
770
- }
771
-
772
- /**
773
- * {@inheritdoc}
774
- */
775
- public function getSubDiscountAmount ()
776
- {
777
- return $ this ->getData (self ::SUB_DISCOUNT_AMOUNT );
778
- }
779
-
780
- /**
781
- * {@inheritdoc}
782
- */
783
- public function setSubDiscountAmount ($ subDiscountAmount )
784
- {
785
- return $ this ->setData (self ::SUB_DISCOUNT_AMOUNT , $ subDiscountAmount );
786
- }
787
-
788
740
/**
789
741
* @return string
790
742
*/
You can’t perform that action at this time.
0 commit comments