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)


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

def 
  @account_id
end

#account_numberString

Account number of originator or recipient

Returns:

  • (String)


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

def 
  @account_number
end

#amountDecNum

Transaction amount

Returns:

  • (DecNum)


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

def amount
  @amount
end

#bank_codeString

Bank code of originator or recipient

Returns:

  • (String)


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

def bank_code
  @bank_code
end

#bank_nameString

Bank name of originator or recipient

Returns:

  • (String)


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

def bank_name
  @bank_name
end

#bookedBoolean

This flag indicates whether the transaction is booked or pending

Returns:

  • (Boolean)


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

def booked
  @booked
end

#booking_dateDate

Booking date

Returns:

  • (Date)


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

def booking_date
  @booking_date
end

#booking_textString

Booking text

Returns:

  • (String)


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

def booking_text
  @booking_text
end

#creation_timestampDateTime

Internal creation timestamp on the figo Connect server

Returns:

  • (DateTime)


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

def creation_timestamp
  @creation_timestamp
end

#currencyString

Three-character currency code

Returns:

  • (String)


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

def currency
  @currency
end

#modification_timestampDateTime

Internal modification timestamp on the figo Connect server

Returns:

  • (DateTime)


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

def modification_timestamp
  @modification_timestamp
end

#nameString

Name of originator or recipient

Returns:

  • (String)


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

def name
  @name
end

#purposeString

Purpose text

Returns:

  • (String)


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

def purpose
  @purpose
end

#transaction_idString

Internal figo Connect transaction ID

Returns:

  • (String)


290
291
292
# File 'lib/models.rb', line 290

def transaction_id
  @transaction_id
end

#typeString

Transaction type

Returns:

  • (String)


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

def type
  @type
end

#value_dateDate

Value date

Returns:

  • (Date)


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

def value_date
  @value_date
end