Sha256: 38e2e53a489a1b52aaa93d54b934405adfbc454173693c8f963ba7b9d9efc7ea
Contents?: true
Size: 295 Bytes
Versions: 17
Compression:
Stored size: 295 Bytes
Contents
module Spree class PaymentCaptureEvent < Spree::Base if defined?(Spree::Webhooks) include Spree::Webhooks::HasWebhooks end belongs_to :payment, class_name: 'Spree::Payment' def display_amount Spree::Money.new(amount, currency: payment.currency) end end end
Version data entries
17 entries across 17 versions & 1 rubygems