Class: Abo::AboTransaction

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAboTransaction

Returns a new instance of AboTransaction.



342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'lib/abo.rb', line 342

def initialize
  @client_account_number = nil
  @client_account_prefix_number = nil
  @counter_account_number = nil
  @counter_account_prefix_number = nil
  @document_number = nil
  @amount = nil
  @posting_code = nil
  @variable_symbol = nil
  @constant_symbol = nil
  @specific_symbol = nil
  @value = nil
  @additional_information = nil
  @change_of_item_code = nil
  @type_of_data = nil
  @due_date = nil

  @debit = nil
  @credit = nil
  @counter_account_bank_code = nil

  @note = nil
end

Instance Attribute Details

#additional_informationObject

Returns the value of attribute additional_information.



336
337
338
# File 'lib/abo.rb', line 336

def additional_information
  @additional_information
end

#amountObject

Returns the value of attribute amount.



336
337
338
# File 'lib/abo.rb', line 336

def amount
  @amount
end

#change_of_item_codeObject

Returns the value of attribute change_of_item_code.



336
337
338
# File 'lib/abo.rb', line 336

def change_of_item_code
  @change_of_item_code
end

#client_account_numberObject

Returns the value of attribute client_account_number.



336
337
338
# File 'lib/abo.rb', line 336

def 
  @client_account_number
end

#client_account_prefix_numberObject

Returns the value of attribute client_account_prefix_number.



336
337
338
# File 'lib/abo.rb', line 336

def 
  @client_account_prefix_number
end

#constant_symbolObject

Returns the value of attribute constant_symbol.



336
337
338
# File 'lib/abo.rb', line 336

def constant_symbol
  @constant_symbol
end

#counter_account_bank_codeObject

Returns the value of attribute counter_account_bank_code.



336
337
338
# File 'lib/abo.rb', line 336

def 
  @counter_account_bank_code
end

#counter_account_numberObject

Returns the value of attribute counter_account_number.



336
337
338
# File 'lib/abo.rb', line 336

def 
  @counter_account_number
end

#counter_account_prefix_numberObject

Returns the value of attribute counter_account_prefix_number.



336
337
338
# File 'lib/abo.rb', line 336

def 
  @counter_account_prefix_number
end

#creditObject

Returns the value of attribute credit.



336
337
338
# File 'lib/abo.rb', line 336

def credit
  @credit
end

#debitObject

Returns the value of attribute debit.



336
337
338
# File 'lib/abo.rb', line 336

def debit
  @debit
end

#document_numberObject

Returns the value of attribute document_number.



336
337
338
# File 'lib/abo.rb', line 336

def document_number
  @document_number
end

#due_dateObject

Returns the value of attribute due_date.



336
337
338
# File 'lib/abo.rb', line 336

def due_date
  @due_date
end

#noteObject

Returns the value of attribute note.



336
337
338
# File 'lib/abo.rb', line 336

def note
  @note
end

#posting_codeObject

Returns the value of attribute posting_code.



336
337
338
# File 'lib/abo.rb', line 336

def posting_code
  @posting_code
end

#specific_symbolObject

Returns the value of attribute specific_symbol.



336
337
338
# File 'lib/abo.rb', line 336

def specific_symbol
  @specific_symbol
end

#type_of_dataObject

Returns the value of attribute type_of_data.



336
337
338
# File 'lib/abo.rb', line 336

def type_of_data
  @type_of_data
end

#valueObject

Returns the value of attribute value.



336
337
338
# File 'lib/abo.rb', line 336

def value
  @value
end

#variable_symbolObject

Returns the value of attribute variable_symbol.



336
337
338
# File 'lib/abo.rb', line 336

def variable_symbol
  @variable_symbol
end

Instance Method Details

#to_hashObject



366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
# File 'lib/abo.rb', line 366

def to_hash
  {
    client_account_number: @client_account_number,
    client_account_prefix_number: @client_account_prefix_number,
    counter_account_number: @counter_account_number,
    counter_account_prefix_number: @counter_account_prefix_number,
    document_number: @document_number,
    amount: @amount,
    posting_code: @posting_code,
    variable_symbol: @variable_symbol,
    constant_symbol: @constant_symbol,
    specific_symbol: @specific_symbol,
    value: @value,
    additional_information: @additional_information,
    change_of_item_code: @change_of_item_code,
    type_of_data: @type_of_data,
    due_date: @due_date,
    debit: @debit,
    credit: @credit,
    counter_account_bank_code: @counter_account_bank_code,
    note: @note
  }
end