Class: Pokepay::Response::OrganizationSummary

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ OrganizationSummary

Returns a new instance of OrganizationSummary.



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

def initialize(row)
  @count = row["count"]
  @money_amount = row["money_amount"]
  @money_count = row["money_count"]
  @point_amount = row["point_amount"]
  @raw_point_amount = row["raw_point_amount"]
  @campaign_point_amount = row["campaign_point_amount"]
  @point_count = row["point_count"]
end

Instance Attribute Details

#campaign_point_amountObject (readonly)

Returns the value of attribute campaign_point_amount.



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

def campaign_point_amount
  @campaign_point_amount
end

#countObject (readonly)

Returns the value of attribute count.



15
16
17
# File 'lib/pokepay_partner_ruby_sdk/response/organization_summary.rb', line 15

def count
  @count
end

#money_amountObject (readonly)

Returns the value of attribute money_amount.



16
17
18
# File 'lib/pokepay_partner_ruby_sdk/response/organization_summary.rb', line 16

def money_amount
  @money_amount
end

#money_countObject (readonly)

Returns the value of attribute money_count.



17
18
19
# File 'lib/pokepay_partner_ruby_sdk/response/organization_summary.rb', line 17

def money_count
  @money_count
end

#point_amountObject (readonly)

Returns the value of attribute point_amount.



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

def point_amount
  @point_amount
end

#point_countObject (readonly)

Returns the value of attribute point_count.



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

def point_count
  @point_count
end

#raw_point_amountObject (readonly)

Returns the value of attribute raw_point_amount.



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

def raw_point_amount
  @raw_point_amount
end