'key' => 'considerAdvancedRules', 'mappedKey' => 'consider_advanced_rules', 'position' => 5
],
['key' => 'maxValue', 'mappedKey' => 'max_value', 'position' => 6
],
['key' => 'sorterKey', 'mappedKey' => 'sorter_key', 'position' => 7, 'useDefaultValue' => true, 'defaultValue' => 'PRICE_ASC'
],
['key' => 'applierKey', 'mappedKey' => 'applier_key', 'position' => 8, 'useDefaultValue' => true, 'defaultValue' => 'ALL'
],
['key' => 'usageKey', 'mappedKey' => 'usage_key', 'position' => 9, 'useDefaultValue' => true, 'defaultValue' => 'ALL'
],
['key' => 'pickerKey', 'mappedKey' => 'picker_key', 'position' => 10
],
['key' => 'discountRules', 'mappedKey' => 'discount_rules', 'position' => 11
],
]),
'created_at'
=> (new \
DateTime())->
format(Defaults::STORAGE_DATE_TIME_FORMAT
),
]);
$translations =
new Translations( [ 'import_export_profile_id' =>
$id,
'label' => 'Standardprofil Aktionsrabatte',
],
[ 'import_export_profile_id' =>
$id,
'label' => 'Default promotion discounts',
] );
$this->
importTranslation(ImportExportProfileTranslationDefinition::ENTITY_NAME,
$translations,
$connection);
}