Class: Figo::Payment

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

Overview

Object representing a Payment

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)


408
409
410
# File 'lib/models.rb', line 408

def 
  @account_id
end

#account_numberString

Account number of creditor or debtor

Returns:

  • (String)


420
421
422
# File 'lib/models.rb', line 420

def 
  @account_number
end

#amountDecNum

Order amount

Returns:

  • (DecNum)


440
441
442
# File 'lib/models.rb', line 440

def amount
  @amount
end

#bank_additional_iconsHash

Icon of the creditor or debtor bank in other resolutions

Returns:

  • (Hash)


436
437
438
# File 'lib/models.rb', line 436

def bank_additional_icons
  @bank_additional_icons
end

#bank_codeString

Bank code of creditor or debtor

Returns:

  • (String)


424
425
426
# File 'lib/models.rb', line 424

def bank_code
  @bank_code
end

#bank_iconString

Icon of creditor or debtor bank

Returns:

  • (String)


432
433
434
# File 'lib/models.rb', line 432

def bank_icon
  @bank_icon
end

#bank_nameString

Bank name of creditor or debtor

Returns:

  • (String)


428
429
430
# File 'lib/models.rb', line 428

def bank_name
  @bank_name
end

#creation_timestampDateTime

Internal creation timestamp on the figo Connect server

Returns:

  • (DateTime)


456
457
458
# File 'lib/models.rb', line 456

def creation_timestamp
  @creation_timestamp
end

#currencyString

Three-character currency code

Returns:

  • (String)


444
445
446
# File 'lib/models.rb', line 444

def currency
  @currency
end

#modification_timestampDateTime

Internal modification timestamp on the figo Connect server

Returns:

  • (DateTime)


460
461
462
# File 'lib/models.rb', line 460

def modification_timestamp
  @modification_timestamp
end

#nameString

Name of creditor or debtor

Returns:

  • (String)


416
417
418
# File 'lib/models.rb', line 416

def name
  @name
end

#payment_idString

Internal figo Connect payment ID

Returns:

  • (String)


404
405
406
# File 'lib/models.rb', line 404

def payment_id
  @payment_id
end

#purposeString

Purpose text

Returns:

  • (String)


448
449
450
# File 'lib/models.rb', line 448

def purpose
  @purpose
end

#submission_timestampDateTime

Timestamp of submission to the bank server

Returns:

  • (DateTime)


452
453
454
# File 'lib/models.rb', line 452

def submission_timestamp
  @submission_timestamp
end

#transaction_idString

ID of the transaction corresponding to this payment. This field is only set if the payment has been matched to a transaction

Returns:

  • (String)


464
465
466
# File 'lib/models.rb', line 464

def transaction_id
  @transaction_id
end

#typeString

Payment type

Returns:

  • (String)


412
413
414
# File 'lib/models.rb', line 412

def type
  @type
end