Class: Edi::Amazon::OrderMessageProcessor::BatchProcessResult
- Inherits:
-
Data
- Object
- Data
- Edi::Amazon::OrderMessageProcessor::BatchProcessResult
- Defined in:
- app/services/edi/amazon/order_message_processor.rb
Overview
Service object: batch process result.
Instance Attribute Summary collapse
-
#batch_number ⇒ Object
readonly
Returns the value of attribute batch_number.
-
#orders_created ⇒ Object
readonly
Returns the value of attribute orders_created.
-
#orders_in_batch ⇒ Object
readonly
Returns the value of attribute orders_in_batch.
Instance Method Summary collapse
-
#initialize(batch_number: nil, orders_created: nil, orders_in_batch: nil) ⇒ BatchProcessResult
constructor
A new instance of BatchProcessResult.
Constructor Details
#initialize(batch_number: nil, orders_created: nil, orders_in_batch: nil) ⇒ BatchProcessResult
Returns a new instance of BatchProcessResult.
12 |
# File 'app/services/edi/amazon/order_message_processor.rb', line 12 def initialize(batch_number: nil, orders_created: nil, orders_in_batch: nil) = super |
Instance Attribute Details
#batch_number ⇒ Object (readonly)
Returns the value of attribute batch_number
11 12 13 |
# File 'app/services/edi/amazon/order_message_processor.rb', line 11 def batch_number @batch_number end |
#orders_created ⇒ Object (readonly)
Returns the value of attribute orders_created
11 12 13 |
# File 'app/services/edi/amazon/order_message_processor.rb', line 11 def orders_created @orders_created end |
#orders_in_batch ⇒ Object (readonly)
Returns the value of attribute orders_in_batch
11 12 13 |
# File 'app/services/edi/amazon/order_message_processor.rb', line 11 def orders_in_batch @orders_in_batch end |