Sha256: 6be56f9ac628584ef65b76c670a7f809230df4b608529ede5f50d4c302ed8416

Contents?: true

Size: 602 Bytes

Versions: 8

Compression:

Stored size: 602 Bytes

Contents

module Braintree
  class Transaction
    class UsBankAccountDetails
      include BaseModule

      attr_reader :account_holder_name
      attr_reader :account_type
      attr_reader :ach_mandate
      attr_reader :bank_name
      attr_reader :global_id
      attr_reader :image_url
      attr_reader :last_4
      attr_reader :routing_number
      attr_reader :token

      def initialize(attributes)
        set_instance_variables_from_hash attributes unless attributes.nil?
        @ach_mandate = attributes[:ach_mandate] ? AchMandate.new(attributes[:ach_mandate]) : nil
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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