Sha256: c17a3f321939f78b9627ae7ca28f0a83a0169f34bccf1e73a3f6362fd68c8bf5

Contents?: true

Size: 612 Bytes

Versions: 18

Compression:

Stored size: 612 Bytes

Contents

require_relative '../payment'

module Tickethub
  class Supplier::Payment::Stripe < Supplier::Payment
    polymorphic 'stripe'

    require_relative '../source'
    require_relative '../dispute'
    require_relative '../../address'
    require_relative '../charge/gateway'
    require_relative '../charge/service'

    association :dispute, Supplier::Dispute
    association :source, Supplier::Source
    association :address, Tickethub::Address

    association :gateway_charge, Supplier::Charge::Gateway
    association :service_charge, Supplier::Charge::Service

    attribute :charges, type: :money
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
tickethub-0.3.21 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.20 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.18 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.17 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.16 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.15 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.14 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.13 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.12 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.11 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.9 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.7 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.6 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.4 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.3 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.2 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.1 lib/tickethub/supplier/payment/stripe.rb
tickethub-0.3.0 lib/tickethub/supplier/payment/stripe.rb