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

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

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.



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

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



9
10
11
# File 'app/services/edi/commercehub/remit_message_processor.rb', line 9

def batch_number
  @batch_number
end

#receipts_createdObject (readonly)

Returns the value of attribute receipts_created

Returns:

  • (Object)

    the current value of receipts_created



9
10
11
# File 'app/services/edi/commercehub/remit_message_processor.rb', line 9

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



9
10
11
# File 'app/services/edi/commercehub/remit_message_processor.rb', line 9

def receipts_in_batch
  @receipts_in_batch
end