Class: MangoModel::OtherBankAccount
- Inherits:
-
BankAccount
- Object
- EntityBase
- BankAccount
- MangoModel::OtherBankAccount
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/entity/account/other_bank_account.rb
Overview
Bank account of AccountType::OTHER
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#account_number ⇒ Object
- String
-
Its account number.
-
#bic ⇒ Object
- String
-
Its BIC code.
-
#country ⇒ Object
- CountryIso
-
Its country.
Attributes inherited from BankAccount
#active, #owner_address, #owner_name, #type, #user_id
Attributes inherited from EntityBase
Instance Method Summary collapse
-
#initialize ⇒ OtherBankAccount
constructor
A new instance of OtherBankAccount.
Methods included from MangoPay::Jsonifier
Constructor Details
#initialize ⇒ OtherBankAccount
Returns a new instance of OtherBankAccount.
20 21 22 |
# File 'lib/mangopay/model/entity/account/other_bank_account.rb', line 20 def initialize self.type = MangoModel::AccountType::OTHER end |
Instance Attribute Details
#account_number ⇒ Object
- String
-
Its account number
15 16 17 |
# File 'lib/mangopay/model/entity/account/other_bank_account.rb', line 15 def account_number @account_number end |
#bic ⇒ Object
- String
-
Its BIC code
12 13 14 |
# File 'lib/mangopay/model/entity/account/other_bank_account.rb', line 12 def bic @bic end |
#country ⇒ Object
- CountryIso
-
Its country
18 19 20 |
# File 'lib/mangopay/model/entity/account/other_bank_account.rb', line 18 def country @country end |