com.elasticpath.service.order
Interface OrderShipmentStatusFactory

All Superinterfaces:
EpEnumFactoryService, EpService
All Known Implementing Classes:
OrderShipmentStatusFactoryImpl

public interface OrderShipmentStatusFactory
extends EpEnumFactoryService

The factory for enum type OrderShipmentStatus object handling.


Field Summary
static OrderShipmentStatus AWAITING
          The OrderShipmentStatus instance for awaiting shipment.
static OrderShipmentStatus SHIPPED
          The OrderShipmentStatus instance for shipped.
 
Method Summary
 OrderShipmentStatus getOrderShipmentStatus(int statusCode)
          Return the OrderShipmentStatus instance based on the given status code.
 java.util.Map getOrderShipmentStatusMap()
          Returns a map of orderShipment status.
 
Methods inherited from interface com.elasticpath.service.EpEnumFactoryService
getObject
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Field Detail

AWAITING

static final OrderShipmentStatus AWAITING
The OrderShipmentStatus instance for awaiting shipment.


SHIPPED

static final OrderShipmentStatus SHIPPED
The OrderShipmentStatus instance for shipped.

Method Detail

getOrderShipmentStatus

OrderShipmentStatus getOrderShipmentStatus(int statusCode)
Return the OrderShipmentStatus instance based on the given status code.

Parameters:
statusCode - the status code.
Returns:
the OrderShipmentStatus instance based on the given status code.

getOrderShipmentStatusMap

java.util.Map getOrderShipmentStatusMap()
Returns a map of orderShipment status.

Returns:
a map of orderShipment status