Class: Increase::Models::BookkeepingEntry

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/bookkeeping_entry.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#account_idString

The identifier for the Account the Entry belongs to.

Returns:

  • (String)


14
# File 'lib/increase/models/bookkeeping_entry.rb', line 14

required :account_id, String

#amountInteger

The Entry amount in the minor unit of its currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


19
# File 'lib/increase/models/bookkeeping_entry.rb', line 19

required :amount, Integer

#created_atString

When the entry set was created.

Returns:

  • (String)


24
# File 'lib/increase/models/bookkeeping_entry.rb', line 24

required :created_at, String

#entry_set_idString

The identifier for the Account the Entry belongs to.

Returns:

  • (String)


29
# File 'lib/increase/models/bookkeeping_entry.rb', line 29

required :entry_set_id, String

#idString

The entry identifier.

Returns:

  • (String)


9
# File 'lib/increase/models/bookkeeping_entry.rb', line 9

required :id, String

#typeSymbol

A constant representing the object's type. For this resource it will always be bookkeeping_entry.

Returns:

  • (Symbol)


34
# File 'lib/increase/models/bookkeeping_entry.rb', line 34

required :type, Increase::Enum.new(:bookkeeping_entry)