Module: Edi::MftGateway

Defined in:
app/services/edi/mft_gateway/sender.rb,
app/services/edi/mft_gateway/orchestrator.rb,
app/services/edi/mft_gateway/ship_code_mapper.rb,
app/services/edi/mft_gateway/confirm_message_sender.rb,
app/services/edi/mft_gateway/invoice_message_sender.rb,
app/services/edi/mft_gateway/shipping_option_result.rb,
app/services/edi/mft_gateway/order_message_processor.rb,
app/services/edi/mft_gateway/inventory_message_sender.rb,
app/services/edi/mft_gateway/confirm_message_processor.rb,
app/services/edi/mft_gateway/invoice_message_processor.rb,
app/services/edi/mft_gateway/acknowledge_message_sender.rb,
app/services/edi/mft_gateway/inventory_message_processor.rb

Overview

CLass that translates shipping code from heatwave to commercehub code and vice versa
Right now only the costco code are used, but this can be easily extended by passing
a partner code to the initializer and loading a different map or even making this db driven
REFACTOR: We could have a unified shipping option list in heatwave combining the various service combinations supported

Defined Under Namespace

Classes: AcknowledgeMessageSender, ConfirmMessageProcessor, ConfirmMessageSender, InventoryMessageProcessor, InventoryMessageSender, InvoiceMessageProcessor, InvoiceMessageSender, Orchestrator, OrderMessageProcessor, Sender, ShipCodeMapper, ShippingOptionResult