Class: MangoModel::UsBankAccount

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

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

#initializeUsBankAccount

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

#abaObject

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_numberObject

String

Its account number (digits only)



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

def 
  @account_number
end

#deposit_account_typeObject

DepositType

Its deposit type



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

def 
  @deposit_account_type
end