Class: Pokepay::Response::PrivateMoneyOrganizationSummary

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ PrivateMoneyOrganizationSummary

Returns a new instance of PrivateMoneyOrganizationSummary.



8
9
10
11
12
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_organization_summary.rb', line 8

def initialize(row)
  @organization_code = row["organization_code"]
  @topup = OrganizationSummary.new(row["topup"])
  @payment = OrganizationSummary.new(row["payment"])
end

Instance Attribute Details

#organization_codeObject (readonly)

Returns the value of attribute organization_code.



13
14
15
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_organization_summary.rb', line 13

def organization_code
  @organization_code
end

#paymentObject (readonly)

Returns the value of attribute payment.



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

def payment
  @payment
end

#topupObject (readonly)

Returns the value of attribute topup.



14
15
16
# File 'lib/pokepay_partner_ruby_sdk/response/private_money_organization_summary.rb', line 14

def topup
  @topup
end