[ 'id' =>
$ruleId,
'name' => 'LineItemRule',
'priority' => 0,
'conditions' =>
[ [ 'type'
=> (new GoodsPriceRule())->
getName(),
'ruleId' =>
$ruleId,
'children' =>
[ [ 'type'
=> (new LineItemOfTypeRule())->
getName(),
'value' =>
[ 'lineItemType' => 'test',
'operator' => Rule::OPERATOR_EQ,
],
],
],
'value' =>
[ 'amount' => 100,
'operator' => Rule::OPERATOR_GTE,
],
],
],