Sha256: 08a84452852920d1c8e610401aa5e247c1febc9319440a85321f9237f5b76db6

Contents?: true

Size: 437 Bytes

Versions: 27

Compression:

Stored size: 437 Bytes

Contents

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

      attr_reader :amount
      attr_reader :id
      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

27 entries across 27 versions & 1 rubygems

Version Path
braintree-2.82.0 lib/braintree/dispute/transaction.rb
braintree-2.81.0 lib/braintree/dispute/transaction.rb
braintree-2.80.1 lib/braintree/dispute/transaction.rb
braintree-2.80.0 lib/braintree/dispute/transaction.rb
braintree-2.79.0 lib/braintree/dispute/transaction.rb
braintree-2.78.0 lib/braintree/dispute/transaction.rb
braintree-2.77.0 lib/braintree/dispute/transaction.rb