Class DefaultGetShippingLabelStrategyImpl

java.lang.Object
com.skava.oms.strategy.impl.DefaultGetShippingLabelStrategyImpl
All Implemented Interfaces:
GetShippingLabelStrategy

@Component public class DefaultGetShippingLabelStrategyImpl extends Object implements GetShippingLabelStrategy

This class is the DefaultGetShippingLabelStrategyImpl, contains the create shipment and get shipping label implementations for Return order flow, integrated with Newgistics application.

  • Constructor Details

    • DefaultGetShippingLabelStrategyImpl

      public DefaultGetShippingLabelStrategyImpl()
  • Method Details

    • createShippingLabel

      public Map<String,byte[]> createShippingLabel(Map<String,String> pluginProperties, Order order)
      Description copied from interface: GetShippingLabelStrategy
      This service definition is used to create a shipment.
      Specified by:
      createShippingLabel in interface GetShippingLabelStrategy
      Parameters:
      pluginProperties - holds collection properties of third party plugin
      order - holds order details
      Returns:
      Map
    • getShippingLabel

      public Map<String,byte[]> getShippingLabel(Map<String,String> pluginProperties, long collectionId, Order order, String itemId)
      Description copied from interface: GetShippingLabelStrategy
      This service definition is used to fetch the shipping label for the given order.
      Specified by:
      getShippingLabel in interface GetShippingLabelStrategy
      Parameters:
      pluginProperties - holds collection properties of third party plugin
      collectionId - holds the collection identifier
      order - holds order details
      itemId - holds the item identifier
      Returns:
      Map