Class: Pokepay::Response::AccountBalance

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ AccountBalance

Returns a new instance of AccountBalance.



6
7
8
9
10
# File 'lib/pokepay_partner_ruby_sdk/response/account_balance.rb', line 6

def initialize(row)
  @expires_at = row["expires_at"]
  @money_amount = row["money_amount"]
  @point_amount = row["point_amount"]
end

Instance Attribute Details

#expires_atObject (readonly)

Returns the value of attribute expires_at.



11
12
13
# File 'lib/pokepay_partner_ruby_sdk/response/account_balance.rb', line 11

def expires_at
  @expires_at
end

#money_amountObject (readonly)

Returns the value of attribute money_amount.



12
13
14
# File 'lib/pokepay_partner_ruby_sdk/response/account_balance.rb', line 12

def money_amount
  @money_amount
end

#point_amountObject (readonly)

Returns the value of attribute point_amount.



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

def point_amount
  @point_amount
end