Class: TesoteSdk::Models::BulkAccountResult

Inherits:
Struct
  • Object
show all
Extended by:
FromHash
Defined in:
lib/tesote_sdk/models.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from FromHash

build_field, from_array, from_hash

Instance Attribute Details

#account_idObject

Returns the value of attribute account_id

Returns:

  • (Object)

    the current value of account_id



406
407
408
# File 'lib/tesote_sdk/models.rb', line 406

def 
  @account_id
end

#paginationObject

Returns the value of attribute pagination

Returns:

  • (Object)

    the current value of pagination



406
407
408
# File 'lib/tesote_sdk/models.rb', line 406

def pagination
  @pagination
end

#transactionsObject

Returns the value of attribute transactions

Returns:

  • (Object)

    the current value of transactions



406
407
408
# File 'lib/tesote_sdk/models.rb', line 406

def transactions
  @transactions
end

Class Method Details

.build_field(key, value) ⇒ Object



409
410
411
412
413
414
415
# File 'lib/tesote_sdk/models.rb', line 409

def self.build_field(key, value)
  case key
  when 'transactions' then Transaction.from_array(value)
  when 'pagination' then Pagination.from_hash(value)
  else value
  end
end