->
variant( (new ProductBuilder($ids, 'v.4.2'
)) ->
price(70, null, 'default', 77
) ->
price(101, null, 'currency'
) ->
build() ) ->
build(),
// no rule = 110€ || rule-a = 130€
(new ProductBuilder($ids, 'p.5'
)) ->
price(110
) ->
prices('rule-a', 130, 'default'
) ->
prices('rule-a', 120, 'default', null, 3, false, 150
) ->
visibility(TestDefaults::SALES_CHANNEL
) ->
build(),
// no rule = 120€ || rule-a = 130€
(new ProductBuilder($ids, 'p.6'
)) ->
price(120
) ->
prices('rule-a', 150
) ->
prices('rule-a', 140, 'default', null, 3
) ->
prices('rule-a', 199, 'currency'
) ->
prices('rule-a', 188, 'currency', null, 3
)