Class: BankApi::Values::DepositEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amount, date, time, rut, bank, client) ⇒ DepositEntry

Returns a new instance of DepositEntry.



5
6
7
8
9
10
11
12
# File 'lib/bank_api/values/deposit_entry.rb', line 5

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

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



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

def amount
  @amount
end

#bankObject

Returns the value of attribute bank.



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

def bank
  @bank
end

#clientObject

Returns the value of attribute client.



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

def client
  @client
end

#dateObject

Returns the value of attribute date.



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

def date
  @date
end

#rutObject

Returns the value of attribute rut.



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

def rut
  @rut
end

#signatureObject

Returns the value of attribute signature.



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

def signature
  @signature
end

#timeObject

Returns the value of attribute time.



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

def time
  @time
end