Class: MangoModel::IbanBankAccount

Inherits:
BankAccount show all
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

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Attributes inherited from BankAccount

#active, #owner_address, #owner_name, #type, #user_id

Attributes inherited from EntityBase

#creation_date, #id, #tag

Instance Method Summary collapse

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

Constructor Details

#initializeIbanBankAccount

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

#bicObject

String

Its BIC code



15
16
17
# File 'lib/mangopay/model/entity/account/iban_bank_account.rb', line 15

def bic
  @bic
end

#ibanObject

String

Its IBAN code



12
13
14
# File 'lib/mangopay/model/entity/account/iban_bank_account.rb', line 12

def iban
  @iban
end