Class: Increase::Models::BookkeepingEntrySet

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

Defined Under Namespace

Classes: Entry

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#created_atString

When the entry set was created.

Returns:

  • (String)


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

required :created_at, String

#dateString

The timestamp of the entry set.

Returns:

  • (String)


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

required :date, String

#entriesArray<Increase::Models::BookkeepingEntrySet::Entry>

The entries.



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

required :entries, Increase::ArrayOf.new(-> { Increase::Models::BookkeepingEntrySet::Entry })

#idString

The entry set identifier.

Returns:

  • (String)


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

required :id, String

#idempotency_keyString

The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about idempotency.

Returns:

  • (String)


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

required :idempotency_key, String

#transaction_idString

The transaction identifier, if any.

Returns:

  • (String)


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

required :transaction_id, String

#typeSymbol

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

Returns:

  • (Symbol)


39
# File 'lib/increase/models/bookkeeping_entry_set.rb', line 39

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