Class: BankApi::Values::WithdrawalEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/bank_api/values/withdrawal_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amount, date, time, rut, client, account_number, account_bank, trx_id, bank) ⇒ WithdrawalEntry

Returns a new instance of WithdrawalEntry.



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/bank_api/values/withdrawal_entry.rb', line 6

def initialize(amount, date, time, rut, client, , , trx_id, bank)
  @amount = amount
  @date = date
  @time = time
  @rut = rut
  @client = client
  @account_number = 
  @account_bank = 
  @trx_id = trx_id
  @bank = bank
end

Instance Attribute Details

#account_bankObject

Returns the value of attribute account_bank.



3
4
5
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3

def 
  @account_bank
end

#account_numberObject

Returns the value of attribute account_number.



3
4
5
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3

def 
  @account_number
end

#amountObject

Returns the value of attribute amount.



3
4
5
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3

def amount
  @amount
end

#bankObject

Returns the value of attribute bank.



3
4
5
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3

def bank
  @bank
end

#clientObject

Returns the value of attribute client.



3
4
5
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3

def client
  @client
end

#dateObject

Returns the value of attribute date.



3
4
5
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3

def date
  @date
end

#rutObject

Returns the value of attribute rut.



3
4
5
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3

def rut
  @rut
end

#timeObject

Returns the value of attribute time.



3
4
5
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3

def time
  @time
end

#trx_idObject

Returns the value of attribute trx_id.



3
4
5
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3

def trx_id
  @trx_id
end