Class: TesoteSdk::Models::BatchCreateResult
- Inherits:
-
Struct
- Object
- Struct
- TesoteSdk::Models::BatchCreateResult
- Extended by:
- FromHash
- Defined in:
- lib/tesote_sdk/models.rb
Instance Attribute Summary collapse
-
#batch_id ⇒ Object
Returns the value of attribute batch_id.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#orders ⇒ Object
Returns the value of attribute orders.
Class Method Summary collapse
Methods included from FromHash
build_field, from_array, from_hash
Instance Attribute Details
#batch_id ⇒ Object
Returns the value of attribute batch_id
343 344 345 |
# File 'lib/tesote_sdk/models.rb', line 343 def batch_id @batch_id end |
#errors ⇒ Object
Returns the value of attribute errors
343 344 345 |
# File 'lib/tesote_sdk/models.rb', line 343 def errors @errors end |
#orders ⇒ Object
Returns the value of attribute orders
343 344 345 |
# File 'lib/tesote_sdk/models.rb', line 343 def orders @orders end |
Class Method Details
.build_field(key, value) ⇒ Object
346 347 348 349 350 351 |
# File 'lib/tesote_sdk/models.rb', line 346 def self.build_field(key, value) case key when 'orders' then TransactionOrder.from_array(value) else value end end |