Class: PostcodeAnywhere::BankAccountValidation::BankBranch

Inherits:
ModelBase
  • Object
show all
Defined in:
lib/postcode_anywhere/bank_account_validation/bank_branch.rb

Instance Attribute Summary collapse

Attributes inherited from ModelBase

#attrs

Method Summary

Methods inherited from ModelBase

attr_reader, define_attribute_method, define_predicate_method, #initialize, object_attr_reader, predicate_attr_reader

Constructor Details

This class inherits a constructor from PostcodeAnywhere::ModelBase

Instance Attribute Details

#bankObject (readonly)

The name of the banking institution.



7
8
9
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 7

def bank
  @bank
end

#bank_bicObject (readonly)

The banking institution’s BIC, also know as the SWIFT BIC.



10
11
12
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 10

def bank_bic
  @bank_bic
end

#branchObject (readonly)

The name of the account holding branch.



13
14
15
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 13

def branch
  @branch
end

#branch_bicObject (readonly)

The branch’s BIC.



16
17
18
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 16

def branch_bic
  @branch_bic
end

#chaps_supportedObject (readonly)

Indicates that the account supports the CHAPS service.



42
43
44
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 42

def chaps_supported
  @chaps_supported
end

#contact_address_line1Object (readonly)

Line 1 of the branch’s contact address. NB: This is the address to be used for BACs enquiries and may be a contact centre rather than the branch’s address.



21
22
23
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 21

def contact_address_line1
  @contact_address_line1
end

#contact_address_line2Object (readonly)

Line 2 of the branch’s contact address.



24
25
26
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 24

def contact_address_line2
  @contact_address_line2
end

#contact_faxObject (readonly)

The branch’s contact fax number.



36
37
38
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 36

def contact_fax
  @contact_fax
end

#contact_phoneObject (readonly)

The branch’s contact phone number.



33
34
35
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 33

def contact_phone
  @contact_phone
end

#contact_post_townObject (readonly)

The branch’s contact post town.



27
28
29
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 27

def contact_post_town
  @contact_post_town
end

#contact_postcodeObject (readonly)

The branch’s contact postcode.



30
31
32
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 30

def contact_postcode
  @contact_postcode
end

#faster_payments_supportedObject (readonly)

Indicates that the account supports the faster payments service.



39
40
41
# File 'lib/postcode_anywhere/bank_account_validation/bank_branch.rb', line 39

def faster_payments_supported
  @faster_payments_supported
end