Class: Spree::PaymentCaptureEvent

Inherits:
Base
  • Object
show all
Defined in:
app/models/spree/payment_capture_event.rb

Instance Method Summary collapse

Methods inherited from Base

display_includes, #initialize_preference_defaults, page, preference

Methods included from Spree::Preferences::Preferable

#admin_form_preference_names, #default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference

Instance Method Details

#display_amountObject



7
8
9
# File 'app/models/spree/payment_capture_event.rb', line 7

def display_amount
  Spree::Money.new(amount, { currency: payment.currency })
end