Class: MangoModel::UsBankAccount
- Inherits:
-
BankAccount
- Object
- EntityBase
- BankAccount
- MangoModel::UsBankAccount
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/entity/account/us_bank_account.rb
Overview
Bank account of AccountType::US
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#aba ⇒ Object
- String
-
Its ABA (9 digits ).
-
#account_number ⇒ Object
- String
-
Its account number (digits only).
-
#deposit_account_type ⇒ Object
- DepositType
-
Its deposit type.
Attributes inherited from BankAccount
#active, #owner_address, #owner_name, #type, #user_id
Attributes inherited from EntityBase
Instance Method Summary collapse
-
#initialize ⇒ UsBankAccount
constructor
A new instance of UsBankAccount.
Methods included from MangoPay::Jsonifier
Constructor Details
#initialize ⇒ UsBankAccount
Returns a new instance of UsBankAccount.
20 21 22 |
# File 'lib/mangopay/model/entity/account/us_bank_account.rb', line 20 def initialize self.type = MangoModel::AccountType::US end |
Instance Attribute Details
#aba ⇒ Object
- String
-
Its ABA (9 digits )
15 16 17 |
# File 'lib/mangopay/model/entity/account/us_bank_account.rb', line 15 def aba @aba end |
#account_number ⇒ Object
- String
-
Its account number (digits only)
12 13 14 |
# File 'lib/mangopay/model/entity/account/us_bank_account.rb', line 12 def account_number @account_number end |
#deposit_account_type ⇒ Object
- DepositType
-
Its deposit type
18 19 20 |
# File 'lib/mangopay/model/entity/account/us_bank_account.rb', line 18 def deposit_account_type @deposit_account_type end |