Refactor SolidusPromotions benefit DSL to per-type discount methods
Refactor SolidusPromotions benefit DSL to per-type discount methods: a task in bird-critic-1.5-full-300 (Harbor dataset). Benefits in SolidusPromotions currently require subclasses to implement can discount? and discount separately per discountable type. This PR mirrors the condition refactor from…
The task
Benefits in SolidusPromotions currently require subclasses to implement `can_discount?` and `discount` separately per discountable type. This PR mirrors the condition refactor from PR 6360: `SolidusPromotions::Benefit` dispatches to `discount_line_item`, `discount_shipment`, or `discount_shipping_rate` based on the…
Part of kochsnow/bird-critic-1.5-full-300.