Sha256: 530633a6f1489a77da20bf26666e3fc462b9a90a0a6f3bdc3c76f4d2e4ab9b00

Contents?: true

Size: 494 Bytes

Versions: 10

Compression:

Stored size: 494 Bytes

Contents

module Braintree
  class Dispute
    class Transaction
      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

10 entries across 10 versions & 1 rubygems

Version Path
braintree-4.25.0 lib/braintree/dispute/transaction.rb
braintree-4.24.0 lib/braintree/dispute/transaction.rb
braintree-4.23.0 lib/braintree/dispute/transaction.rb
braintree-4.22.0 lib/braintree/dispute/transaction.rb
braintree-4.21.0 lib/braintree/dispute/transaction.rb
braintree-4.20.0 lib/braintree/dispute/transaction.rb
braintree-4.19.0 lib/braintree/dispute/transaction.rb
braintree-4.18.0 lib/braintree/dispute/transaction.rb
braintree-4.17.0 lib/braintree/dispute/transaction.rb
braintree-4.16.0 lib/braintree/dispute/transaction.rb