Class: AbacatePay::Resources::Store::Balance

Inherits:
Resource
  • Object
show all
Defined in:
lib/abacate_pay/resources/store/balance.rb

Overview

Represents the available balance of a store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Balance

Returns a new instance of Balance.



10
11
12
# File 'lib/abacate_pay/resources/store/balance.rb', line 10

def initialize(data)
  fill(data)
end

Instance Attribute Details

#availableObject

Returns the value of attribute available.



8
9
10
# File 'lib/abacate_pay/resources/store/balance.rb', line 8

def available
  @available
end

#blockedObject

Returns the value of attribute blocked.



8
9
10
# File 'lib/abacate_pay/resources/store/balance.rb', line 8

def blocked
  @blocked
end

#pendingObject

Returns the value of attribute pending.



8
9
10
# File 'lib/abacate_pay/resources/store/balance.rb', line 8

def pending
  @pending
end