Sha256: e68b64e65b89b1a3d49a051b8aa5d53994263bc1758cbb09fe4785d26ff30bbf

Contents?: true

Size: 504 Bytes

Versions: 23

Compression:

Stored size: 504 Bytes

Contents

module Braintree
  class Dispute
    class Transaction # :nodoc:
      include BaseModule

      attr_reader :amount
      attr_reader :created_at
      attr_reader :id
      attr_reader :installment_count
      attr_reader :order_id
      attr_reader :purchase_order_number
      attr_reader :payment_instrument_subtype

      def initialize(attributes)
        set_instance_variables_from_hash attributes unless attributes.nil?
        @amount = Util.to_big_decimal(amount)
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
braintree-4.15.0 lib/braintree/dispute/transaction.rb
braintree-4.14.0 lib/braintree/dispute/transaction.rb
braintree-4.13.0 lib/braintree/dispute/transaction.rb
braintree-4.12.0 lib/braintree/dispute/transaction.rb
braintree-4.11.0 lib/braintree/dispute/transaction.rb
braintree-4.10.0 lib/braintree/dispute/transaction.rb
braintree-4.9.0 lib/braintree/dispute/transaction.rb
braintree-4.8.0 lib/braintree/dispute/transaction.rb
braintree-4.7.0 lib/braintree/dispute/transaction.rb
braintree-4.6.0 lib/braintree/dispute/transaction.rb
braintree-4.5.0 lib/braintree/dispute/transaction.rb
braintree-4.4.0 lib/braintree/dispute/transaction.rb
braintree-4.3.0 lib/braintree/dispute/transaction.rb
braintree-4.2.0 lib/braintree/dispute/transaction.rb
braintree-4.1.0 lib/braintree/dispute/transaction.rb
braintree-4.0.0 lib/braintree/dispute/transaction.rb
braintree-3.4.0 lib/braintree/dispute/transaction.rb
braintree-3.3.0 lib/braintree/dispute/transaction.rb
braintree-3.2.0 lib/braintree/dispute/transaction.rb
braintree-3.1.0 lib/braintree/dispute/transaction.rb