Method: Falsify::DiscountApplication#allocation_method

Defined in:
lib/falsify/models/order/discount_application.rb

#allocation_method:across, ...

The method by which the discount application value has been allocated to entitled lines.

  • across: The value is spread across all entitled lines.
  • each: The value is applied onto every entitled line.
  • one: The value is applied onto a single line.

Returns:



15
# File 'lib/falsify/models/order/discount_application.rb', line 15

enumerize :allocation_method, in: [:across, :each, :one]