Package com.skava.oms.strategy
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 Summary
Modifier and TypeMethodDescriptioncreateShippingLabel
(Map<String, String> pluginProperties, Order order) This service definition is used to create a shipment.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.
-
Method Details
-
createShippingLabel
This service definition is used to create a shipment.- Parameters:
pluginProperties
- holds collection properties of third party pluginorder
- 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 plugincollectionId
- holds the collection identifierorder
- holds order detailsitemId
- holds the item identifier- Returns:
- Map
-