Class: Pokepay::Response::AccountWithoutPrivateMoneyDetail

Inherits:
Object
  • Object
show all
Defined in:
lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject (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_suspendedObject (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

#nameObject (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_idObject (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

#statusObject (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

#userObject (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