Class: Abo::AboPaymentOrder

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAboPaymentOrder

Returns a new instance of AboPaymentOrder.



398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/abo.rb', line 398

def initialize
  @order_number_of_statement = nil
  @file_creation_date = nil
  @own_bank_code = nil
  @counter_account_bank_code = nil
  @amount = nil
  @due_date = nil
  @constant_symbol = nil
  @variable_symbol_credit = nil
  @specific_symbol_credit = nil
  @own_account_prefix = nil
  @own_account_number = nil
  @counter_account_prefix = nil
  @counter_account_number = nil
  @credit_information = nil
  @own_account_name = nil
  @counter_account_name = nil
  @variable_symbol_debit = nil
  @specific_symbol_debit = nil
  @debit_information = nil
  @bank_information = nil
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



392
393
394
# File 'lib/abo.rb', line 392

def amount
  @amount
end

#bank_informationObject

Returns the value of attribute bank_information.



392
393
394
# File 'lib/abo.rb', line 392

def bank_information
  @bank_information
end

#constant_symbolObject

Returns the value of attribute constant_symbol.



392
393
394
# File 'lib/abo.rb', line 392

def constant_symbol
  @constant_symbol
end

#counter_account_bank_codeObject

Returns the value of attribute counter_account_bank_code.



392
393
394
# File 'lib/abo.rb', line 392

def 
  @counter_account_bank_code
end

#counter_account_nameObject

Returns the value of attribute counter_account_name.



392
393
394
# File 'lib/abo.rb', line 392

def 
  @counter_account_name
end

#counter_account_numberObject

Returns the value of attribute counter_account_number.



392
393
394
# File 'lib/abo.rb', line 392

def 
  @counter_account_number
end

#counter_account_prefixObject

Returns the value of attribute counter_account_prefix.



392
393
394
# File 'lib/abo.rb', line 392

def 
  @counter_account_prefix
end

#credit_informationObject

Returns the value of attribute credit_information.



392
393
394
# File 'lib/abo.rb', line 392

def credit_information
  @credit_information
end

#debit_informationObject

Returns the value of attribute debit_information.



392
393
394
# File 'lib/abo.rb', line 392

def debit_information
  @debit_information
end

#due_dateObject

Returns the value of attribute due_date.



392
393
394
# File 'lib/abo.rb', line 392

def due_date
  @due_date
end

#file_creation_dateObject

Returns the value of attribute file_creation_date.



392
393
394
# File 'lib/abo.rb', line 392

def file_creation_date
  @file_creation_date
end

#order_number_of_statementObject

Returns the value of attribute order_number_of_statement.



392
393
394
# File 'lib/abo.rb', line 392

def order_number_of_statement
  @order_number_of_statement
end

#own_account_nameObject

Returns the value of attribute own_account_name.



392
393
394
# File 'lib/abo.rb', line 392

def 
  @own_account_name
end

#own_account_numberObject

Returns the value of attribute own_account_number.



392
393
394
# File 'lib/abo.rb', line 392

def 
  @own_account_number
end

#own_account_prefixObject

Returns the value of attribute own_account_prefix.



392
393
394
# File 'lib/abo.rb', line 392

def 
  @own_account_prefix
end

#own_bank_codeObject

Returns the value of attribute own_bank_code.



392
393
394
# File 'lib/abo.rb', line 392

def own_bank_code
  @own_bank_code
end

#specific_symbol_creditObject

Returns the value of attribute specific_symbol_credit.



392
393
394
# File 'lib/abo.rb', line 392

def specific_symbol_credit
  @specific_symbol_credit
end

#specific_symbol_debitObject

Returns the value of attribute specific_symbol_debit.



392
393
394
# File 'lib/abo.rb', line 392

def specific_symbol_debit
  @specific_symbol_debit
end

#variable_symbol_creditObject

Returns the value of attribute variable_symbol_credit.



392
393
394
# File 'lib/abo.rb', line 392

def variable_symbol_credit
  @variable_symbol_credit
end

#variable_symbol_debitObject

Returns the value of attribute variable_symbol_debit.



392
393
394
# File 'lib/abo.rb', line 392

def variable_symbol_debit
  @variable_symbol_debit
end

Instance Method Details

#to_hashObject



421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
# File 'lib/abo.rb', line 421

def to_hash
  {
    order_number_of_statement: @order_number_of_statement,
    file_creation_date: @file_creation_date,
    own_bank_code: @own_bank_code,
    counter_account_bank_code: @counter_account_bank_code,
    amount: @amount,
    due_date: @due_date,
    constant_symbol: @constant_symbol,
    variable_symbol_credit: @variable_symbol_credit,
    specific_symbol_credit: @specific_symbol_credit,
    own_account_prefix: @own_account_prefix,
    own_account_number: @own_account_number,
    counter_account_prefix: @counter_account_prefix,
    counter_account_number: @counter_account_number,
    credit_information: @credit_information,
    own_account_name: @own_account_name,
    counter_account_name: @counter_account_name,
    variable_symbol_debit: @variable_symbol_debit,
    specific_symbol_debit: @specific_symbol_debit,
    debit_information: @debit_information,
    bank_information: @bank_information
  }
end