Class: MangoModel::BankAccount
- Inherits:
-
EntityBase
- Object
- EntityBase
- MangoModel::BankAccount
- Extended by:
- NonInstantiable
- Defined in:
- lib/mangopay/model/entity/account/bank_account.rb
Overview
Bank account entity
Direct Known Subclasses
CaBankAccount, GbBankAccount, IbanBankAccount, OtherBankAccount, UsBankAccount
Instance Attribute Summary collapse
-
#active ⇒ Object
- true/false
-
Whether it’s active or not.
-
#owner_address ⇒ Object
- Address
-
Its owner’s address.
-
#owner_name ⇒ Object
- String
-
Its owner’s name.
-
#type ⇒ Object
- AccountType
-
Its type.
-
#user_id ⇒ Object
- String
-
Its owning user’s ID.
Attributes inherited from EntityBase
Method Summary
Methods included from NonInstantiable
Instance Attribute Details
#active ⇒ Object
- 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_address ⇒ Object
- 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_name ⇒ Object
- 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 |
#type ⇒ Object
- AccountType
-
Its type
15 16 17 |
# File 'lib/mangopay/model/entity/account/bank_account.rb', line 15 def type @type end |
#user_id ⇒ Object
- 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 |