Method: Falsify::DiscountApplication#value_type

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

#value_type:fixed_amount, :percentage

The type of the value.

  • fixed_amount: A fixed amount discount value in the currency of the order.
  • percentage: A percentage discount value.

Returns:

  • (:fixed_amount, :percentage)


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

enumerize :value_type, in: [:fixed_amount, :percentage]