Class: TigerBeetle::Account

Inherits:
Object
  • Object
show all
Defined in:
sig/tigerbeetle.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAccount

Returns a new instance of Account.

Parameters:

  • id: (Integer)
  • debits_pending: (Integer)
  • debits_posted: (Integer)
  • credits_pending: (Integer)
  • credits_posted: (Integer)
  • user_data_128: (Integer)
  • user_data_64: (Integer)
  • user_data_32: (Integer)
  • ledger: (Integer)
  • code: (Integer)
  • flags: (Integer)
  • timestamp: (Integer)


198
# File 'sig/tigerbeetle.rbs', line 198

def initialize: (?id: Integer, ?debits_pending: Integer, ?debits_posted: Integer, ?credits_pending: Integer, ?credits_posted: Integer, ?user_data_128: Integer, ?user_data_64: Integer, ?user_data_32: Integer, ?ledger: Integer, ?code: Integer, ?flags: Integer, ?timestamp: Integer) -> void

Instance Attribute Details

#codeInteger

Returns the value of attribute code.

Returns:

  • (Integer)


194
195
196
# File 'sig/tigerbeetle.rbs', line 194

def code
  @code
end

#credits_pendingInteger

Returns the value of attribute credits_pending.

Returns:

  • (Integer)


188
189
190
# File 'sig/tigerbeetle.rbs', line 188

def credits_pending
  @credits_pending
end

#credits_postedInteger

Returns the value of attribute credits_posted.

Returns:

  • (Integer)


189
190
191
# File 'sig/tigerbeetle.rbs', line 189

def credits_posted
  @credits_posted
end

#debits_pendingInteger

Returns the value of attribute debits_pending.

Returns:

  • (Integer)


186
187
188
# File 'sig/tigerbeetle.rbs', line 186

def debits_pending
  @debits_pending
end

#debits_postedInteger

Returns the value of attribute debits_posted.

Returns:

  • (Integer)


187
188
189
# File 'sig/tigerbeetle.rbs', line 187

def debits_posted
  @debits_posted
end

#flagsInteger

Returns the value of attribute flags.

Returns:

  • (Integer)


195
196
197
# File 'sig/tigerbeetle.rbs', line 195

def flags
  @flags
end

#idInteger

Returns the value of attribute id.

Returns:

  • (Integer)


185
186
187
# File 'sig/tigerbeetle.rbs', line 185

def id
  @id
end

#ledgerInteger

Returns the value of attribute ledger.

Returns:

  • (Integer)


193
194
195
# File 'sig/tigerbeetle.rbs', line 193

def ledger
  @ledger
end

#timestampInteger

Returns the value of attribute timestamp.

Returns:

  • (Integer)


196
197
198
# File 'sig/tigerbeetle.rbs', line 196

def timestamp
  @timestamp
end

#user_data_128Integer

Returns the value of attribute user_data_128.

Returns:

  • (Integer)


190
191
192
# File 'sig/tigerbeetle.rbs', line 190

def user_data_128
  @user_data_128
end

#user_data_32Integer

Returns the value of attribute user_data_32.

Returns:

  • (Integer)


192
193
194
# File 'sig/tigerbeetle.rbs', line 192

def user_data_32
  @user_data_32
end

#user_data_64Integer

Returns the value of attribute user_data_64.

Returns:

  • (Integer)


191
192
193
# File 'sig/tigerbeetle.rbs', line 191

def user_data_64
  @user_data_64
end