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-3.0.1 lib/braintree/dispute/transaction.rb
braintree-2.104.1 lib/braintree/dispute/transaction.rb
braintree-2.104.0 lib/braintree/dispute/transaction.rb