Class: TesoteSdk::Models::BatchSummary
- Inherits:
-
Struct
- Object
- Struct
- TesoteSdk::Models::BatchSummary
- Extended by:
- FromHash
- Defined in:
- lib/tesote_sdk/models.rb
Instance Attribute Summary collapse
-
#amount_currency ⇒ Object
Returns the value of attribute amount_currency.
-
#batch_id ⇒ Object
Returns the value of attribute batch_id.
-
#batch_status ⇒ Object
Returns the value of attribute batch_status.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#orders ⇒ Object
Returns the value of attribute orders.
-
#statuses ⇒ Object
Returns the value of attribute statuses.
-
#total_amount_cents ⇒ Object
Returns the value of attribute total_amount_cents.
-
#total_orders ⇒ Object
Returns the value of attribute total_orders.
Class Method Summary collapse
Methods included from FromHash
build_field, from_array, from_hash
Instance Attribute Details
#amount_currency ⇒ Object
Returns the value of attribute amount_currency
322 323 324 |
# File 'lib/tesote_sdk/models.rb', line 322 def amount_currency @amount_currency end |
#batch_id ⇒ Object
Returns the value of attribute batch_id
322 323 324 |
# File 'lib/tesote_sdk/models.rb', line 322 def batch_id @batch_id end |
#batch_status ⇒ Object
Returns the value of attribute batch_status
322 323 324 |
# File 'lib/tesote_sdk/models.rb', line 322 def batch_status @batch_status end |
#created_at ⇒ Object
Returns the value of attribute created_at
322 323 324 |
# File 'lib/tesote_sdk/models.rb', line 322 def created_at @created_at end |
#orders ⇒ Object
Returns the value of attribute orders
322 323 324 |
# File 'lib/tesote_sdk/models.rb', line 322 def orders @orders end |
#statuses ⇒ Object
Returns the value of attribute statuses
322 323 324 |
# File 'lib/tesote_sdk/models.rb', line 322 def statuses @statuses end |
#total_amount_cents ⇒ Object
Returns the value of attribute total_amount_cents
322 323 324 |
# File 'lib/tesote_sdk/models.rb', line 322 def total_amount_cents @total_amount_cents end |
#total_orders ⇒ Object
Returns the value of attribute total_orders
322 323 324 |
# File 'lib/tesote_sdk/models.rb', line 322 def total_orders @total_orders end |
Class Method Details
.build_field(key, value) ⇒ Object
335 336 337 338 339 340 |
# File 'lib/tesote_sdk/models.rb', line 335 def self.build_field(key, value) case key when 'orders' then TransactionOrder.from_array(value) else value end end |