Sha256: d0a357b04f6696e5b34fabc08fb6d6ab0deed2d4b74292c821a7b58464b489b2

Contents?: true

Size: 612 Bytes

Versions: 2

Compression:

Stored size: 612 Bytes

Contents

module Braintree
  class Transaction
    class UsBankAccountDetails # :nodoc:
      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

2 entries across 2 versions & 1 rubygems

Version Path
braintree-4.15.0 lib/braintree/transaction/us_bank_account_details.rb
braintree-4.14.0 lib/braintree/transaction/us_bank_account_details.rb