Class: PostcodeAnywhere::BankAccountValidation::BankBranch
- Defined in:
- lib/postcode_anywhere/bank_account_validation/bank_branch.rb
Instance Attribute Summary collapse
-
#bank ⇒ Object
readonly
The name of the banking institution.
-
#bank_bic ⇒ Object
readonly
The banking institution’s BIC, also know as the SWIFT BIC.
-
#branch ⇒ Object
readonly
The name of the account holding branch.
-
#branch_bic ⇒ Object
readonly
The branch’s BIC.
-
#chaps_supported ⇒ Object
readonly
Indicates that the account supports the CHAPS service.
-
#contact_address_line1 ⇒ Object
readonly
Line 1 of the branch’s contact address.
-
#contact_address_line2 ⇒ Object
readonly
Line 2 of the branch’s contact address.
-
#contact_fax ⇒ Object
readonly
The branch’s contact fax number.
-
#contact_phone ⇒ Object
readonly
The branch’s contact phone number.
-
#contact_post_town ⇒ Object
readonly
The branch’s contact post town.
-
#contact_postcode ⇒ Object
readonly
The branch’s contact postcode.
-
#faster_payments_supported ⇒ Object
readonly
Indicates that the account supports the faster payments service.
Attributes inherited from ModelBase
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
#bank ⇒ Object (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_bic ⇒ Object (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 |
#branch ⇒ Object (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_bic ⇒ Object (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_supported ⇒ Object (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_line1 ⇒ Object (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_line2 ⇒ Object (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_fax ⇒ Object (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_phone ⇒ Object (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_town ⇒ Object (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_postcode ⇒ Object (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_supported ⇒ Object (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 |