Method: Falsify::DiscountApplication#target_type

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

#target_type:line_item, :shipping_line

The type of line on the order that the discount is applicable on. Valid values:

  • line_item: The discount applies to line items.
  • shipping_line: The discount applies to shipping lines.


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

enumerize :target_selection, in: [:line_item, :shipping_line]