Class: Increase::Models::BookkeepingAccount

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#account_idString

The API Account associated with this bookkeeping account.

Returns:

  • (String)


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

required :account_id, String

#compliance_categorySymbol

The compliance category of the account.

Returns:

  • (Symbol)


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

required :compliance_category, Increase::Enum.new(:commingled_cash, :customer_balance)

#entity_idString

The Entity associated with this bookkeeping account.

Returns:

  • (String)


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

required :entity_id, String

#idString

The account identifier.

Returns:

  • (String)


9
# File 'lib/increase/models/bookkeeping_account.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_account.rb', line 29

required :idempotency_key, String

#name_String

The name you choose for the account.

Returns:

  • (String)


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

required :name_, String

#typeSymbol

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

Returns:

  • (Symbol)


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

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