Method: Falsify::DiscountApplication#target_selection
- Defined in:
- lib/falsify/models/order/discount_application.rb
#target_selection ⇒ :all, ...
The lines on the order, of the type defined by target_type, that the discount is allocated over.
all: The discount is allocated onto all lines,entitled: The discount is allocated only onto lines it is entitled for.explicit: The discount is allocated onto explicitly selected lines.
30 |
# File 'lib/falsify/models/order/discount_application.rb', line 30 enumerize :target_selection, in: [:all, :entitled, :explicit] |