Class: BankApi::Values::WithdrawalEntry
- Inherits:
-
Object
- Object
- BankApi::Values::WithdrawalEntry
- Defined in:
- lib/bank_api/values/withdrawal_entry.rb
Instance Attribute Summary collapse
-
#account_bank ⇒ Object
Returns the value of attribute account_bank.
-
#account_number ⇒ Object
Returns the value of attribute account_number.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#bank ⇒ Object
Returns the value of attribute bank.
-
#client ⇒ Object
Returns the value of attribute client.
-
#date ⇒ Object
Returns the value of attribute date.
-
#rut ⇒ Object
Returns the value of attribute rut.
-
#time ⇒ Object
Returns the value of attribute time.
-
#trx_id ⇒ Object
Returns the value of attribute trx_id.
Instance Method Summary collapse
-
#initialize(amount, date, time, rut, client, account_number, account_bank, trx_id, bank) ⇒ WithdrawalEntry
constructor
A new instance of WithdrawalEntry.
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, account_number, account_bank, trx_id, bank) @amount = amount @date = date @time = time @rut = rut @client = client @account_number = account_number @account_bank = account_bank @trx_id = trx_id @bank = bank end |
Instance Attribute Details
#account_bank ⇒ Object
Returns the value of attribute account_bank.
3 4 5 |
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3 def account_bank @account_bank end |
#account_number ⇒ Object
Returns the value of attribute account_number.
3 4 5 |
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3 def account_number @account_number end |
#amount ⇒ Object
Returns the value of attribute amount.
3 4 5 |
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3 def amount @amount end |
#bank ⇒ Object
Returns the value of attribute bank.
3 4 5 |
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3 def bank @bank end |
#client ⇒ Object
Returns the value of attribute client.
3 4 5 |
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3 def client @client end |
#date ⇒ Object
Returns the value of attribute date.
3 4 5 |
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3 def date @date end |
#rut ⇒ Object
Returns the value of attribute rut.
3 4 5 |
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3 def rut @rut end |
#time ⇒ Object
Returns the value of attribute time.
3 4 5 |
# File 'lib/bank_api/values/withdrawal_entry.rb', line 3 def time @time end |
#trx_id ⇒ Object
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 |