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