Class: Edi::Commercehub::RemitMessageProcessor::BatchProcessResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/edi/commercehub/remit_message_processor.rb

Overview

Service object: batch process result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(batch_number: nil, receipts_created: nil, receipts_in_batch: nil) ⇒ BatchProcessResult

Returns a new instance of BatchProcessResult.



13
# File 'app/services/edi/commercehub/remit_message_processor.rb', line 13

def initialize(batch_number: nil, receipts_created: nil, receipts_in_batch: nil) = super

Instance Attribute Details

#batch_numberObject (readonly)

Returns the value of attribute batch_number

Returns:

  • (Object)

    the current value of batch_number



12
13
14
# File 'app/services/edi/commercehub/remit_message_processor.rb', line 12

def batch_number
  @batch_number
end

#receipts_createdObject (readonly)

Returns the value of attribute receipts_created

Returns:

  • (Object)

    the current value of receipts_created



12
13
14
# File 'app/services/edi/commercehub/remit_message_processor.rb', line 12

def receipts_created
  @receipts_created
end

#receipts_in_batchObject (readonly)

Returns the value of attribute receipts_in_batch

Returns:

  • (Object)

    the current value of receipts_in_batch



12
13
14
# File 'app/services/edi/commercehub/remit_message_processor.rb', line 12

def receipts_in_batch
  @receipts_in_batch
end