Class: Pokepay::Response::ShopWithAccounts
- Inherits:
-
Object
- Object
- Pokepay::Response::ShopWithAccounts
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/shop_with_accounts.rb
Instance Attribute Summary collapse
-
#accounts ⇒ Object
readonly
Returns the value of attribute accounts.
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#external_id ⇒ Object
readonly
Returns the value of attribute external_id.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#organization_code ⇒ Object
readonly
Returns the value of attribute organization_code.
-
#postal_code ⇒ Object
readonly
Returns the value of attribute postal_code.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#tel ⇒ Object
readonly
Returns the value of attribute tel.
Instance Method Summary collapse
-
#initialize(row) ⇒ ShopWithAccounts
constructor
A new instance of ShopWithAccounts.
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
#accounts ⇒ Object (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 |
#address ⇒ Object (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 |
#email ⇒ Object (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_id ⇒ Object (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 |
#id ⇒ Object (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 |
#name ⇒ Object (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_code ⇒ Object (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_code ⇒ Object (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 |
#status ⇒ Object (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 |
#tel ⇒ Object (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 |