Sha256: 348b9b056d98eafac6937376913a901d80bc833bd02c39ab00d04caf34e803de

Contents?: true

Size: 210 Bytes

Versions: 100

Compression:

Stored size: 210 Bytes

Contents

module Spree
  class PaymentCaptureEvent < Spree::Base
    belongs_to :payment, class_name: 'Spree::Payment'

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

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
spree_core-4.0.9 app/models/spree/payment_capture_event.rb
spree_core-4.1.15 app/models/spree/payment_capture_event.rb
spree_core-4.2.7 app/models/spree/payment_capture_event.rb
spree_core-4.3.3 app/models/spree/payment_capture_event.rb
spree_core-4.4.1 app/models/spree/payment_capture_event.rb
spree_core-4.2.6 app/models/spree/payment_capture_event.rb
spree_core-4.3.2 app/models/spree/payment_capture_event.rb
spree_core-4.4.0 app/models/spree/payment_capture_event.rb
spree_core-4.4.0.rc2 app/models/spree/payment_capture_event.rb
spree_core-4.3.1 app/models/spree/payment_capture_event.rb
spree_core-4.4.0.rc1 app/models/spree/payment_capture_event.rb
spree_core-4.3.0 app/models/spree/payment_capture_event.rb
spree_core-4.3.0.rc3 app/models/spree/payment_capture_event.rb
spree_core-4.3.0.rc2 app/models/spree/payment_capture_event.rb
spree_core-4.3.0.rc1 app/models/spree/payment_capture_event.rb
spree_core-4.2.5 app/models/spree/payment_capture_event.rb
spree_core-4.1.14 app/models/spree/payment_capture_event.rb
spree_core-4.0.8 app/models/spree/payment_capture_event.rb
spree_core-4.2.4 app/models/spree/payment_capture_event.rb
spree_core-3.7.14.1 app/models/spree/payment_capture_event.rb