Class: Pokepay::Response::AccountTransferSummaryElement
- Inherits:
-
Object
- Object
- Pokepay::Response::AccountTransferSummaryElement
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/account_transfer_summary_element.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#money_amount ⇒ Object
readonly
Returns the value of attribute money_amount.
-
#point_amount ⇒ Object
readonly
Returns the value of attribute point_amount.
-
#transfer_type ⇒ Object
readonly
Returns the value of attribute transfer_type.
Instance Method Summary collapse
-
#initialize(row) ⇒ AccountTransferSummaryElement
constructor
A new instance of AccountTransferSummaryElement.
Constructor Details
#initialize(row) ⇒ AccountTransferSummaryElement
Returns a new instance of AccountTransferSummaryElement.
6 7 8 9 10 11 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_transfer_summary_element.rb', line 6 def initialize(row) @transfer_type = row["transfer_type"] @money_amount = row["money_amount"] @point_amount = row["point_amount"] @count = row["count"] end |
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count.
15 16 17 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_transfer_summary_element.rb', line 15 def count @count end |
#money_amount ⇒ Object (readonly)
Returns the value of attribute money_amount.
13 14 15 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_transfer_summary_element.rb', line 13 def money_amount @money_amount end |
#point_amount ⇒ Object (readonly)
Returns the value of attribute point_amount.
14 15 16 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_transfer_summary_element.rb', line 14 def point_amount @point_amount end |
#transfer_type ⇒ Object (readonly)
Returns the value of attribute transfer_type.
12 13 14 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_transfer_summary_element.rb', line 12 def transfer_type @transfer_type end |