Class: Edi::MftGateway::OrderMessageProcessor::BatchProcessResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/edi/mft_gateway/order_message_processor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(orders_created: nil, orders_in_batch: nil) ⇒ BatchProcessResult

Returns a new instance of BatchProcessResult.



9
# File 'app/services/edi/mft_gateway/order_message_processor.rb', line 9

def initialize(orders_created: nil, orders_in_batch: nil) = super

Instance Attribute Details

#orders_createdObject (readonly)

Returns the value of attribute orders_created

Returns:

  • (Object)

    the current value of orders_created



8
9
10
# File 'app/services/edi/mft_gateway/order_message_processor.rb', line 8

def orders_created
  @orders_created
end

#orders_in_batchObject (readonly)

Returns the value of attribute orders_in_batch

Returns:

  • (Object)

    the current value of orders_in_batch



8
9
10
# File 'app/services/edi/mft_gateway/order_message_processor.rb', line 8

def orders_in_batch
  @orders_in_batch
end