Method: Falsify::DiscountApplication#value
- Defined in:
- lib/falsify/models/order/discount_application.rb
#value ⇒ String
The value of the discount application as a decimal.
This represents the intention of the discount application.
For example, if the intent was to apply a 20% discount, then the value will be 20.0.
If the intent was to apply a $15 discount, then the value will be 15.0.
54 55 56 |
# File 'lib/falsify/models/order/discount_application.rb', line 54 def value @value end |