Class: Pokepay::Response::AccountTransferSummaryElement

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#countObject (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_amountObject (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_amountObject (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_typeObject (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