Sha256: 888bdcbac5e007e0464eb39d1b5e192344df6af745204898ccf33cc82f6c0918

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

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

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

1 entries across 1 versions & 1 rubygems

Version Path
braintree-2.103.0 lib/braintree/dispute/transaction.rb