public interface EpagesOrderService
Modifier and Type | Method and Description |
---|---|
DetailedOrder |
getOrder(GUID shopGuid,
GUID orderGuid)
Gets the detailed order with the passed order guid from the desired shop.
|
java.util.List<Order> |
getOrdersUpdatedAfter(GUID shopGuid,
org.joda.time.DateTime updatedAfter,
int orderStatus)
Gets a list of all orders that where updated after the passed time from
the desired shop.
|
java.util.List<Order> getOrdersUpdatedAfter(GUID shopGuid, org.joda.time.DateTime updatedAfter, int orderStatus)
shopGuid
- GUID of the shop.updatedAfter
- Datetime to use.orderStatus
- Bitmask defining what status is used as filter. Use
EpagesOrderStatus
, if you need to use multiple
statuses add them.DetailedOrder getOrder(GUID shopGuid, GUID orderGuid) throws OrderNotFoundException, FailedToLoadOrderException
shopGuid
- GUID of the shop.orderGuid
- GUID of the order.OrderNotFoundException
- in case the desired order was not found.FailedToLoadOrderException
- in case there was an error while loading the order.