Class: ItBitSDK::Trades::FundingHistory

Inherits:
Object
  • Object
show all
Defined in:
lib/it_bit_sdk/domain/trades/funding_history.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#amountObject

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

#currencyObject

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_addressObject

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_dateObject

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

#statusObject

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

#timeObject

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_typeObject

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_nameObject

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_idObject

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