Class: Pokepay::Response::PrivateMoney
- Inherits:
-
Object
- Object
- Pokepay::Response::PrivateMoney
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/private_money.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#display_money_and_point ⇒ Object
readonly
Returns the value of attribute display_money_and_point.
-
#enable_topup_by_member ⇒ Object
readonly
Returns the value of attribute enable_topup_by_member.
-
#expiration_type ⇒ Object
readonly
Returns the value of attribute expiration_type.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#is_exclusive ⇒ Object
readonly
Returns the value of attribute is_exclusive.
-
#max_balance ⇒ Object
readonly
Returns the value of attribute max_balance.
-
#money_topup_transfer_limit ⇒ Object
readonly
Returns the value of attribute money_topup_transfer_limit.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#oneline_message ⇒ Object
readonly
Returns the value of attribute oneline_message.
-
#organization ⇒ Object
readonly
Returns the value of attribute organization.
-
#transfer_limit ⇒ Object
readonly
Returns the value of attribute transfer_limit.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#unit ⇒ Object
readonly
Returns the value of attribute unit.
Instance Method Summary collapse
-
#initialize(row) ⇒ PrivateMoney
constructor
A new instance of PrivateMoney.
Constructor Details
#initialize(row) ⇒ PrivateMoney
Returns a new instance of PrivateMoney.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 7 def initialize(row) @id = row["id"] @name = row["name"] @unit = row["unit"] @is_exclusive = row["is_exclusive"] @description = row["description"] @oneline_message = row["oneline_message"] @organization = Organization.new(row["organization"]) @max_balance = row["max_balance"] @transfer_limit = row["transfer_limit"] @money_topup_transfer_limit = row["money_topup_transfer_limit"] @type = row["type"] @expiration_type = row["expiration_type"] @enable_topup_by_member = row["enable_topup_by_member"] @display_money_and_point = row["display_money_and_point"] end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
27 28 29 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 27 def description @description end |
#display_money_and_point ⇒ Object (readonly)
Returns the value of attribute display_money_and_point.
36 37 38 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 36 def display_money_and_point @display_money_and_point end |
#enable_topup_by_member ⇒ Object (readonly)
Returns the value of attribute enable_topup_by_member.
35 36 37 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 35 def enable_topup_by_member @enable_topup_by_member end |
#expiration_type ⇒ Object (readonly)
Returns the value of attribute expiration_type.
34 35 36 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 34 def expiration_type @expiration_type end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
23 24 25 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 23 def id @id end |
#is_exclusive ⇒ Object (readonly)
Returns the value of attribute is_exclusive.
26 27 28 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 26 def is_exclusive @is_exclusive end |
#max_balance ⇒ Object (readonly)
Returns the value of attribute max_balance.
30 31 32 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 30 def max_balance @max_balance end |
#money_topup_transfer_limit ⇒ Object (readonly)
Returns the value of attribute money_topup_transfer_limit.
32 33 34 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 32 def money_topup_transfer_limit @money_topup_transfer_limit end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
24 25 26 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 24 def name @name end |
#oneline_message ⇒ Object (readonly)
Returns the value of attribute oneline_message.
28 29 30 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 28 def @oneline_message end |
#organization ⇒ Object (readonly)
Returns the value of attribute organization.
29 30 31 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 29 def organization @organization end |
#transfer_limit ⇒ Object (readonly)
Returns the value of attribute transfer_limit.
31 32 33 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 31 def transfer_limit @transfer_limit end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
33 34 35 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 33 def type @type end |
#unit ⇒ Object (readonly)
Returns the value of attribute unit.
25 26 27 |
# File 'lib/pokepay_partner_ruby_sdk/response/private_money.rb', line 25 def unit @unit end |