Class: Pokepay::Response::AccountWithoutPrivateMoneyDetail
- Inherits:
-
Object
- Object
- Pokepay::Response::AccountWithoutPrivateMoneyDetail
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#is_suspended ⇒ Object
readonly
Returns the value of attribute is_suspended.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#private_money_id ⇒ Object
readonly
Returns the value of attribute private_money_id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(row) ⇒ AccountWithoutPrivateMoneyDetail
constructor
A new instance of AccountWithoutPrivateMoneyDetail.
Constructor Details
#initialize(row) ⇒ AccountWithoutPrivateMoneyDetail
Returns a new instance of AccountWithoutPrivateMoneyDetail.
7 8 9 10 11 12 13 14 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb', line 7 def initialize(row) @id = row["id"] @name = row["name"] @is_suspended = row["is_suspended"] @status = row["status"] @private_money_id = row["private_money_id"] @user = User.new(row["user"]) end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
15 16 17 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb', line 15 def id @id end |
#is_suspended ⇒ Object (readonly)
Returns the value of attribute is_suspended.
17 18 19 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb', line 17 def is_suspended @is_suspended end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
16 17 18 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb', line 16 def name @name end |
#private_money_id ⇒ Object (readonly)
Returns the value of attribute private_money_id.
19 20 21 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb', line 19 def private_money_id @private_money_id end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
18 19 20 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb', line 18 def status @status end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
20 21 22 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb', line 20 def user @user end |