Class: ItBitSDK::Trades::FundingHistory
- Inherits:
-
Object
- Object
- ItBitSDK::Trades::FundingHistory
- Defined in:
- lib/it_bit_sdk/domain/trades/funding_history.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#destination_address ⇒ Object
Returns the value of attribute destination_address.
-
#holding_period_completion_date ⇒ Object
Returns the value of attribute holding_period_completion_date.
-
#status ⇒ Object
Returns the value of attribute status.
-
#time ⇒ Object
Returns the value of attribute time.
-
#transaction_type ⇒ Object
Returns the value of attribute transaction_type.
-
#wallet_name ⇒ Object
Returns the value of attribute wallet_name.
-
#withdrawal_id ⇒ Object
Returns the value of attribute withdrawal_id.
Instance Method Summary collapse
-
#initialize(params:) ⇒ FundingHistory
constructor
A new instance of FundingHistory.
Constructor Details
#initialize(params:) ⇒ FundingHistory
Returns a new instance of FundingHistory.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 6 def initialize(params:) @destination_address = params['destinationAddress'] @withdrawal_id = params['withdrawalId'] @holding_period_completion_date = params['holdingPeriodCompletionDate'] @time = params['time'] @currency = params['currency'] @transaction_type = params['transactionType'] @amount = params['amount'] @wallet_name = params['walletName'] @status = params['status'] end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
4 5 6 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 4 def amount @amount end |
#currency ⇒ Object
Returns the value of attribute currency.
4 5 6 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 4 def currency @currency end |
#destination_address ⇒ Object
Returns the value of attribute destination_address.
4 5 6 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 4 def destination_address @destination_address end |
#holding_period_completion_date ⇒ Object
Returns the value of attribute holding_period_completion_date.
4 5 6 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 4 def holding_period_completion_date @holding_period_completion_date end |
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 4 def status @status end |
#time ⇒ Object
Returns the value of attribute time.
4 5 6 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 4 def time @time end |
#transaction_type ⇒ Object
Returns the value of attribute transaction_type.
4 5 6 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 4 def transaction_type @transaction_type end |
#wallet_name ⇒ Object
Returns the value of attribute wallet_name.
4 5 6 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 4 def wallet_name @wallet_name end |
#withdrawal_id ⇒ Object
Returns the value of attribute withdrawal_id.
4 5 6 |
# File 'lib/it_bit_sdk/domain/trades/funding_history.rb', line 4 def withdrawal_id @withdrawal_id end |