Class: Spree::PaymentCaptureEvent
- Defined in:
- app/models/spree/payment_capture_event.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Spree::Preferences::Preferable
#clear_preferences, #default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference
Instance Method Details
#display_amount ⇒ Object
5 6 7 |
# File 'app/models/spree/payment_capture_event.rb', line 5 def display_amount Spree::Money.new(amount, { currency: payment.currency }) end |