Sha256: c7ec52370339485f9c935e29146e36a8d1a3315e1a960b371e7ddb43db387c67

Contents?: true

Size: 314 Bytes

Versions: 36

Compression:

Stored size: 314 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Charge < Resource
    path '/supplier/charges'

    require_relative 'charge/gateway'
    require_relative 'charge/service'

    attribute :amount, type: :money
    attribute :vat, type: :money

    attribute :created_at, type: :datetime
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
tickethub-0.2.12 lib/tickethub/supplier/charge.rb
tickethub-0.2.11 lib/tickethub/supplier/charge.rb
tickethub-0.2.10 lib/tickethub/supplier/charge.rb
tickethub-0.2.9 lib/tickethub/supplier/charge.rb
tickethub-0.2.8 lib/tickethub/supplier/charge.rb
tickethub-0.2.7 lib/tickethub/supplier/charge.rb
tickethub-0.2.6 lib/tickethub/supplier/charge.rb
tickethub-0.2.5 lib/tickethub/supplier/charge.rb
tickethub-0.2.4 lib/tickethub/supplier/charge.rb
tickethub-0.2.3 lib/tickethub/supplier/charge.rb
tickethub-0.2.2 lib/tickethub/supplier/charge.rb
tickethub-0.2.1 lib/tickethub/supplier/charge.rb
tickethub-0.2.0 lib/tickethub/supplier/charge.rb
tickethub-0.1.4 lib/tickethub/supplier/charge.rb
tickethub-0.1.3 lib/tickethub/supplier/charge.rb
tickethub-0.1.2 lib/tickethub/supplier/charge.rb