Class: TesoteSdk::Models::TransactionOrder
- Inherits:
-
Struct
- Object
- Struct
- TesoteSdk::Models::TransactionOrder
- Extended by:
- FromHash
- Defined in:
- lib/tesote_sdk/models.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#approved_at ⇒ Object
Returns the value of attribute approved_at.
-
#batch_id ⇒ Object
Returns the value of attribute batch_id.
-
#cancelled_at ⇒ Object
Returns the value of attribute cancelled_at.
-
#completed_at ⇒ Object
Returns the value of attribute completed_at.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#description ⇒ Object
Returns the value of attribute description.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#execution_strategy ⇒ Object
Returns the value of attribute execution_strategy.
-
#external_reference ⇒ Object
Returns the value of attribute external_reference.
-
#failed_at ⇒ Object
Returns the value of attribute failed_at.
-
#fee ⇒ Object
Returns the value of attribute fee.
-
#id ⇒ Object
Returns the value of attribute id.
-
#idempotency_key ⇒ Object
Returns the value of attribute idempotency_key.
-
#latest_attempt ⇒ Object
Returns the value of attribute latest_attempt.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#scheduled_for ⇒ Object
Returns the value of attribute scheduled_for.
-
#source_account ⇒ Object
Returns the value of attribute source_account.
-
#status ⇒ Object
Returns the value of attribute status.
-
#submitted_at ⇒ Object
Returns the value of attribute submitted_at.
-
#tesote_transaction ⇒ Object
Returns the value of attribute tesote_transaction.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Class Method Summary collapse
Methods included from FromHash
build_field, from_array, from_hash
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def amount @amount end |
#approved_at ⇒ Object
Returns the value of attribute approved_at
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def approved_at @approved_at end |
#batch_id ⇒ Object
Returns the value of attribute batch_id
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def batch_id @batch_id end |
#cancelled_at ⇒ Object
Returns the value of attribute cancelled_at
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def cancelled_at @cancelled_at end |
#completed_at ⇒ Object
Returns the value of attribute completed_at
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def completed_at @completed_at end |
#created_at ⇒ Object
Returns the value of attribute created_at
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def created_at @created_at end |
#currency ⇒ Object
Returns the value of attribute currency
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def currency @currency end |
#description ⇒ Object
Returns the value of attribute description
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def description @description end |
#destination ⇒ Object
Returns the value of attribute destination
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def destination @destination end |
#execution_strategy ⇒ Object
Returns the value of attribute execution_strategy
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def execution_strategy @execution_strategy end |
#external_reference ⇒ Object
Returns the value of attribute external_reference
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def external_reference @external_reference end |
#failed_at ⇒ Object
Returns the value of attribute failed_at
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def failed_at @failed_at end |
#fee ⇒ Object
Returns the value of attribute fee
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def fee @fee end |
#id ⇒ Object
Returns the value of attribute id
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def id @id end |
#idempotency_key ⇒ Object
Returns the value of attribute idempotency_key
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def idempotency_key @idempotency_key end |
#latest_attempt ⇒ Object
Returns the value of attribute latest_attempt
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def latest_attempt @latest_attempt end |
#reference ⇒ Object
Returns the value of attribute reference
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def reference @reference end |
#scheduled_for ⇒ Object
Returns the value of attribute scheduled_for
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def scheduled_for @scheduled_for end |
#source_account ⇒ Object
Returns the value of attribute source_account
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def source_account @source_account end |
#status ⇒ Object
Returns the value of attribute status
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def status @status end |
#submitted_at ⇒ Object
Returns the value of attribute submitted_at
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def submitted_at @submitted_at end |
#tesote_transaction ⇒ Object
Returns the value of attribute tesote_transaction
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def tesote_transaction @tesote_transaction end |
#updated_at ⇒ Object
Returns the value of attribute updated_at
252 253 254 |
# File 'lib/tesote_sdk/models.rb', line 252 def updated_at @updated_at end |
Class Method Details
.build_field(key, value) ⇒ Object
280 281 282 283 284 285 286 287 288 289 |
# File 'lib/tesote_sdk/models.rb', line 280 def self.build_field(key, value) case key when 'source_account' then SourceAccount.from_hash(value) when 'destination' then Destination.from_hash(value) when 'fee' then Fee.from_hash(value) when 'tesote_transaction' then TesoteTransactionRef.from_hash(value) when 'latest_attempt' then LatestAttempt.from_hash(value) else value end end |