Class: Figo::Payment

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

Overview

Object representing a Payment

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#dump, dump_attributes

Constructor Details

#initialize(session, json) ⇒ Payment



7
8
9
# File 'lib/payment/model.rb', line 7

def initialize(session, json)
  super(session, json)
end

Instance Attribute Details

#account_idString

Internal figo Connect account ID



17
18
19
# File 'lib/payment/model.rb', line 17

def 
  @account_id
end

#account_numberString

Account number of creditor or debtor



29
30
31
# File 'lib/payment/model.rb', line 29

def 
  @account_number
end

#amountDecNum

Order amount



49
50
51
# File 'lib/payment/model.rb', line 49

def amount
  @amount
end

#bank_additional_iconsHash

Icon of the creditor or debtor bank in other resolutions



45
46
47
# File 'lib/payment/model.rb', line 45

def bank_additional_icons
  @bank_additional_icons
end

#bank_codeString

Bank code of creditor or debtor



33
34
35
# File 'lib/payment/model.rb', line 33

def bank_code
  @bank_code
end

#bank_iconString

Icon of creditor or debtor bank



41
42
43
# File 'lib/payment/model.rb', line 41

def bank_icon
  @bank_icon
end

#bank_nameString

Bank name of creditor or debtor



37
38
39
# File 'lib/payment/model.rb', line 37

def bank_name
  @bank_name
end

#creation_timestampDateTime

Internal creation timestamp on the figo Connect server



65
66
67
# File 'lib/payment/model.rb', line 65

def creation_timestamp
  @creation_timestamp
end

#currencyString

Three-character currency code



53
54
55
# File 'lib/payment/model.rb', line 53

def currency
  @currency
end

#modification_timestampDateTime

Internal modification timestamp on the figo Connect server



69
70
71
# File 'lib/payment/model.rb', line 69

def modification_timestamp
  @modification_timestamp
end

#nameString

Name of creditor or debtor



25
26
27
# File 'lib/payment/model.rb', line 25

def name
  @name
end

#payment_idString

Internal figo Connect payment ID



13
14
15
# File 'lib/payment/model.rb', line 13

def payment_id
  @payment_id
end

#purposeString

Purpose text



57
58
59
# File 'lib/payment/model.rb', line 57

def purpose
  @purpose
end

#submission_timestampDateTime

Timestamp of submission to the bank server



61
62
63
# File 'lib/payment/model.rb', line 61

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



73
74
75
# File 'lib/payment/model.rb', line 73

def transaction_id
  @transaction_id
end

#typeString

Payment type



21
22
23
# File 'lib/payment/model.rb', line 21

def type
  @type
end