@@ -53,6 +53,31 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity
53
53
54
54
public const COLUMN_ROW_SORT = '_custom_option_row_sort ' ;
55
55
56
+ /**
57
+ * Error codes
58
+ */
59
+ public const ERROR_INVALID_STORE = 'optionInvalidStore ' ;
60
+
61
+ public const ERROR_INVALID_TYPE = 'optionInvalidType ' ;
62
+
63
+ public const ERROR_EMPTY_TITLE = 'optionEmptyTitle ' ;
64
+
65
+ public const ERROR_INVALID_PRICE = 'optionInvalidPrice ' ;
66
+
67
+ public const ERROR_INVALID_MAX_CHARACTERS = 'optionInvalidMaxCharacters ' ;
68
+
69
+ public const ERROR_INVALID_SORT_ORDER = 'optionInvalidSortOrder ' ;
70
+
71
+ public const ERROR_INVALID_ROW_PRICE = 'optionInvalidRowPrice ' ;
72
+
73
+ public const ERROR_INVALID_ROW_SORT = 'optionInvalidRowSort ' ;
74
+
75
+ public const ERROR_AMBIGUOUS_NEW_NAMES = 'optionAmbiguousNewNames ' ;
76
+
77
+ public const ERROR_AMBIGUOUS_OLD_NAMES = 'optionAmbiguousOldNames ' ;
78
+
79
+ public const ERROR_AMBIGUOUS_TYPES = 'optionAmbiguousTypes ' ;
80
+
56
81
/**
57
82
* XML path to page size parameter
58
83
*/
@@ -229,31 +254,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity
229
254
*/
230
255
protected $ _optionCollection ;
231
256
232
- /**
233
- * Error codes
234
- */
235
- const ERROR_INVALID_STORE = 'optionInvalidStore ' ;
236
-
237
- const ERROR_INVALID_TYPE = 'optionInvalidType ' ;
238
-
239
- const ERROR_EMPTY_TITLE = 'optionEmptyTitle ' ;
240
-
241
- const ERROR_INVALID_PRICE = 'optionInvalidPrice ' ;
242
-
243
- const ERROR_INVALID_MAX_CHARACTERS = 'optionInvalidMaxCharacters ' ;
244
-
245
- const ERROR_INVALID_SORT_ORDER = 'optionInvalidSortOrder ' ;
246
-
247
- const ERROR_INVALID_ROW_PRICE = 'optionInvalidRowPrice ' ;
248
-
249
- const ERROR_INVALID_ROW_SORT = 'optionInvalidRowSort ' ;
250
-
251
- const ERROR_AMBIGUOUS_NEW_NAMES = 'optionAmbiguousNewNames ' ;
252
-
253
- const ERROR_AMBIGUOUS_OLD_NAMES = 'optionAmbiguousOldNames ' ;
254
-
255
- const ERROR_AMBIGUOUS_TYPES = 'optionAmbiguousTypes ' ;
256
-
257
257
/**
258
258
* @var CollectionByPagesIterator
259
259
*/
0 commit comments