Class: Pokepay::Response::Bank
- Inherits:
-
Object
- Object
- Pokepay::Response::Bank
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/bank.rb
Instance Attribute Summary collapse
-
#account_name ⇒ Object
readonly
Returns the value of attribute account_name.
-
#bank_code ⇒ Object
readonly
Returns the value of attribute bank_code.
-
#bank_name ⇒ Object
readonly
Returns the value of attribute bank_name.
-
#branch_name ⇒ Object
readonly
Returns the value of attribute branch_name.
-
#branch_number ⇒ Object
readonly
Returns the value of attribute branch_number.
-
#deposit_type ⇒ Object
readonly
Returns the value of attribute deposit_type.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#masked_account_number ⇒ Object
readonly
Returns the value of attribute masked_account_number.
-
#private_money ⇒ Object
readonly
Returns the value of attribute private_money.
Instance Method Summary collapse
-
#initialize(row) ⇒ Bank
constructor
A new instance of Bank.
Constructor Details
#initialize(row) ⇒ Bank
Returns a new instance of Bank.
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 7 def initialize(row) @id = row["id"] @private_money = PrivateMoney.new(row["private_money"]) @bank_name = row["bank_name"] @bank_code = row["bank_code"] @branch_number = row["branch_number"] @branch_name = row["branch_name"] @deposit_type = row["deposit_type"] @masked_account_number = row["masked_account_number"] @account_name = row["account_name"] end |
Instance Attribute Details
#account_name ⇒ Object (readonly)
Returns the value of attribute account_name.
26 27 28 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 26 def account_name @account_name end |
#bank_code ⇒ Object (readonly)
Returns the value of attribute bank_code.
21 22 23 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 21 def bank_code @bank_code end |
#bank_name ⇒ Object (readonly)
Returns the value of attribute bank_name.
20 21 22 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 20 def bank_name @bank_name end |
#branch_name ⇒ Object (readonly)
Returns the value of attribute branch_name.
23 24 25 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 23 def branch_name @branch_name end |
#branch_number ⇒ Object (readonly)
Returns the value of attribute branch_number.
22 23 24 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 22 def branch_number @branch_number end |
#deposit_type ⇒ Object (readonly)
Returns the value of attribute deposit_type.
24 25 26 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 24 def deposit_type @deposit_type end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
18 19 20 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 18 def id @id end |
#masked_account_number ⇒ Object (readonly)
Returns the value of attribute masked_account_number.
25 26 27 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 25 def masked_account_number @masked_account_number end |
#private_money ⇒ Object (readonly)
Returns the value of attribute private_money.
19 20 21 |
# File 'lib/pokepay_partner_ruby_sdk/response/bank.rb', line 19 def private_money @private_money end |