Sha256: 7e71c561dda11397df2c7b671482544d958b59160b5f2c78d0872c950deea3a1

Contents?: true

Size: 619 Bytes

Versions: 25

Compression:

Stored size: 619 Bytes

Contents

module Braintree
  class EuropeBankAccount
    include BaseModule

    module MandateType
      Business = 'business'
      Consumer = 'consumer'
    end

    attr_reader :customer_id
    attr_reader :image_url
    attr_reader :token

    def initialize(gateway, attributes) # :nodoc:
      @gateway = gateway
      set_instance_variables_from_hash(attributes)
    end

    class << self
      protected :new
    end

    def self._new(*args)
      self.new(*args)
    end

    def self.find(token)
      Configuration.gateway.europe_bank_account.find(token)
    end

    def default?
      @default
    end

  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
braintree-2.85.0 lib/braintree/europe_bank_account.rb
braintree-2.84.0 lib/braintree/europe_bank_account.rb
braintree-2.83.0 lib/braintree/europe_bank_account.rb
braintree-2.82.0 lib/braintree/europe_bank_account.rb
braintree-2.81.0 lib/braintree/europe_bank_account.rb