Class: MangoModel::BankAccount

Inherits:
EntityBase show all
Extended by:
NonInstantiable
Defined in:
lib/mangopay/model/entity/account/bank_account.rb

Overview

Bank account entity

Instance Attribute Summary collapse

Attributes inherited from EntityBase

#creation_date, #id, #tag

Method Summary

Methods included from NonInstantiable

initialize

Instance Attribute Details

#activeObject

true/false

Whether it’s active or not



24
25
26
# File 'lib/mangopay/model/entity/account/bank_account.rb', line 24

def active
  @active
end

#owner_addressObject

Address

Its owner’s address



21
22
23
# File 'lib/mangopay/model/entity/account/bank_account.rb', line 21

def owner_address
  @owner_address
end

#owner_nameObject

String

Its owner’s name



18
19
20
# File 'lib/mangopay/model/entity/account/bank_account.rb', line 18

def owner_name
  @owner_name
end

#typeObject

AccountType

Its type



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

def type
  @type
end

#user_idObject

String

Its owning user’s ID



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

def user_id
  @user_id
end