Sha256: 2c92f8ac60a286cf84ba596aafa2d36a42894e53fea350b0da0ac9254a8fda54
Contents?: true
Size: 308 Bytes
Versions: 5
Compression:
Stored size: 308 Bytes
Contents
module Spree class PaymentCaptureEvent < Spree::Base if defined?(Spree::Webhooks::HasWebhooks) 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
5 entries across 5 versions & 1 rubygems