Class: Pokepay::Response::ShopWithAccounts

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ ShopWithAccounts

Returns a new instance of ShopWithAccounts.



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 6

def initialize(row)
  @id = row["id"]
  @name = row["name"]
  @organization_code = row["organization_code"]
  @status = row["status"]
  @postal_code = row["postal_code"]
  @address = row["address"]
  @tel = row["tel"]
  @email = row["email"]
  @external_id = row["external_id"]
  @accounts = row["accounts"]
end

Instance Attribute Details

#accountsObject (readonly)

Returns the value of attribute accounts.



27
28
29
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 27

def accounts
  @accounts
end

#addressObject (readonly)

Returns the value of attribute address.



23
24
25
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 23

def address
  @address
end

#emailObject (readonly)

Returns the value of attribute email.



25
26
27
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 25

def email
  @email
end

#external_idObject (readonly)

Returns the value of attribute external_id.



26
27
28
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 26

def external_id
  @external_id
end

#idObject (readonly)

Returns the value of attribute id.



18
19
20
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 18

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



19
20
21
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 19

def name
  @name
end

#organization_codeObject (readonly)

Returns the value of attribute organization_code.



20
21
22
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 20

def organization_code
  @organization_code
end

#postal_codeObject (readonly)

Returns the value of attribute postal_code.



22
23
24
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 22

def postal_code
  @postal_code
end

#statusObject (readonly)

Returns the value of attribute status.



21
22
23
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 21

def status
  @status
end

#telObject (readonly)

Returns the value of attribute tel.



24
25
26
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb', line 24

def tel
  @tel
end