Sha256: cf7caafc4e5168c2c7a05a61a2e14fdde5b7235e9af04f4357ef7ea8787e294d

Contents?: true

Size: 582 Bytes

Versions: 19

Compression:

Stored size: 582 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Refund < Resource
    path '/supplier/refunds'

    require_relative 'payment'
    require_relative 'user'
    require_relative 'transfer'
    require_relative 'charge'

    association :payment, Supplier::Payment
    association :user, Supplier::User
    association :transfer, Supplier::Transfer

    collection :charges, Supplier::Charge

    attribute :amount, type: :money
    attribute :currency, type: :currency

    attribute :created_at, type: :datetime
    attribute :updated_at, type: :datetime
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
tickethub-0.3.40 lib/tickethub/supplier/refund.rb
tickethub-0.3.39 lib/tickethub/supplier/refund.rb
tickethub-0.3.38 lib/tickethub/supplier/refund.rb
tickethub-0.3.37 lib/tickethub/supplier/refund.rb
tickethub-0.3.36 lib/tickethub/supplier/refund.rb
tickethub-0.3.35 lib/tickethub/supplier/refund.rb
tickethub-0.3.34 lib/tickethub/supplier/refund.rb
tickethub-0.3.33 lib/tickethub/supplier/refund.rb
tickethub-0.3.32 lib/tickethub/supplier/refund.rb
tickethub-0.3.31 lib/tickethub/supplier/refund.rb
tickethub-0.3.30 lib/tickethub/supplier/refund.rb
tickethub-0.3.29 lib/tickethub/supplier/refund.rb
tickethub-0.3.28 lib/tickethub/supplier/refund.rb
tickethub-0.3.27 lib/tickethub/supplier/refund.rb
tickethub-0.3.26 lib/tickethub/supplier/refund.rb
tickethub-0.3.25 lib/tickethub/supplier/refund.rb
tickethub-0.3.24 lib/tickethub/supplier/refund.rb
tickethub-0.3.23 lib/tickethub/supplier/refund.rb
tickethub-0.3.22 lib/tickethub/supplier/refund.rb