Class: Figo::Transaction

Inherits:
Base
  • Object
show all
Defined in:
lib/models.rb

Overview

Object representing one bank transaction on a certain bank account of the User

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#dump, dump_attributes, #initialize

Constructor Details

This class inherits a constructor from Figo::Base

Instance Attribute Details

#account_idString

Internal figo Connect account ID

Returns:

  • (String)


297
298
299
# File 'lib/models.rb', line 297

def 
  @account_id
end

#account_numberString

Account number of originator or recipient

Returns:

  • (String)


305
306
307
# File 'lib/models.rb', line 305

def 
  @account_number
end

#amountDecNum

Transaction amount

Returns:

  • (DecNum)


317
318
319
# File 'lib/models.rb', line 317

def amount
  @amount
end

#bank_codeString

Bank code of originator or recipient

Returns:

  • (String)


309
310
311
# File 'lib/models.rb', line 309

def bank_code
  @bank_code
end

#bank_nameString

Bank name of originator or recipient

Returns:

  • (String)


313
314
315
# File 'lib/models.rb', line 313

def bank_name
  @bank_name
end

#bookedBoolean

This flag indicates whether the transaction is booked or pending

Returns:

  • (Boolean)


345
346
347
# File 'lib/models.rb', line 345

def booked
  @booked
end

#booking_dateDate

Booking date

Returns:

  • (Date)


325
326
327
# File 'lib/models.rb', line 325

def booking_date
  @booking_date
end

#booking_textString

Booking text

Returns:

  • (String)


341
342
343
# File 'lib/models.rb', line 341

def booking_text
  @booking_text
end

#creation_timestampDateTime

Internal creation timestamp on the figo Connect server

Returns:

  • (DateTime)


349
350
351
# File 'lib/models.rb', line 349

def creation_timestamp
  @creation_timestamp
end

#currencyString

Three-character currency code

Returns:

  • (String)


321
322
323
# File 'lib/models.rb', line 321

def currency
  @currency
end

#modification_timestampDateTime

Internal modification timestamp on the figo Connect server

Returns:

  • (DateTime)


353
354
355
# File 'lib/models.rb', line 353

def modification_timestamp
  @modification_timestamp
end

#nameString

Name of originator or recipient

Returns:

  • (String)


301
302
303
# File 'lib/models.rb', line 301

def name
  @name
end

#purposeString

Purpose text

Returns:

  • (String)


333
334
335
# File 'lib/models.rb', line 333

def purpose
  @purpose
end

#transaction_idString

Internal figo Connect transaction ID

Returns:

  • (String)


293
294
295
# File 'lib/models.rb', line 293

def transaction_id
  @transaction_id
end

#typeString

Transaction type

Returns:

  • (String)


337
338
339
# File 'lib/models.rb', line 337

def type
  @type
end

#value_dateDate

Value date

Returns:

  • (Date)


329
330
331
# File 'lib/models.rb', line 329

def value_date
  @value_date
end