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