Class: Pokepay::Response::PrivateMoneyOrganizationSummary
- Inherits:
-
Object
- Object
- Pokepay::Response::PrivateMoneyOrganizationSummary
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/private_money_organization_summary.rb
Instance Attribute Summary collapse
-
#organization_code ⇒ Object
readonly
Returns the value of attribute organization_code.
-
#payment ⇒ Object
readonly
Returns the value of attribute payment.
-
#topup ⇒ Object
readonly
Returns the value of attribute topup.
Instance Method Summary collapse
-
#initialize(row) ⇒ PrivateMoneyOrganizationSummary
constructor
A new instance of PrivateMoneyOrganizationSummary.
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_code ⇒ Object (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 |
#payment ⇒ Object (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 |
#topup ⇒ Object (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 |