Interface GetShippingLabelStrategy

All Known Implementing Classes:
DefaultGetShippingLabelStrategyImpl

public interface GetShippingLabelStrategy
This interface contains definitions for creating shipment, label generation and fetch the requested label.
  • Method Details

    • createShippingLabel

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

      Map<String,byte[]> getShippingLabel(Map<String,String> pluginProperties, long collectionId, Order order, String itemId)
      This service definition is used to fetch the shipping label for the given order.
      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