Class: EveOnline::ESI::Models::WalletJournalEntry
- Defined in:
- lib/eve_online/esi/models/wallet_journal_entry.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #amount ⇒ Object
- #as_json ⇒ Object
- #balance ⇒ Object
- #date ⇒ Object
- #first_party_id ⇒ Object
- #first_party_type ⇒ Object
- #reason ⇒ Object
- #ref_id ⇒ Object
- #ref_type ⇒ Object
- #second_party_id ⇒ Object
- #second_party_type ⇒ Object
- #tax ⇒ Object
- #tax_receiver_id ⇒ Object
Methods inherited from Base
Constructor Details
This class inherits a constructor from EveOnline::ESI::Models::Base
Instance Method Details
#amount ⇒ Object
55 56 57 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 55 def amount ['amount'] end |
#as_json ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 7 def as_json { date: date, ref_id: ref_id, ref_type: ref_type, first_party_id: first_party_id, first_party_type: first_party_type, second_party_id: second_party_id, second_party_type: second_party_type, amount: amount, balance: balance, reason: reason, tax_receiver_id: tax_receiver_id, tax: tax # TODO: add extra_info } end |
#balance ⇒ Object
59 60 61 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 59 def balance ['balance'] end |
#date ⇒ Object
25 26 27 28 29 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 25 def date date = ['date'] parse_datetime_with_timezone(date) if date end |
#first_party_id ⇒ Object
39 40 41 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 39 def first_party_id ['first_party_id'] end |
#first_party_type ⇒ Object
43 44 45 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 43 def first_party_type ['first_party_type'] end |
#reason ⇒ Object
63 64 65 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 63 def reason ['reason'] end |
#ref_id ⇒ Object
31 32 33 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 31 def ref_id ['ref_id'] end |
#ref_type ⇒ Object
35 36 37 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 35 def ref_type ['ref_type'] end |
#second_party_id ⇒ Object
47 48 49 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 47 def second_party_id ['second_party_id'] end |
#second_party_type ⇒ Object
51 52 53 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 51 def second_party_type ['second_party_type'] end |
#tax ⇒ Object
71 72 73 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 71 def tax ['tax'] end |
#tax_receiver_id ⇒ Object
67 68 69 |
# File 'lib/eve_online/esi/models/wallet_journal_entry.rb', line 67 def tax_receiver_id ['tax_receiver_id'] end |