public interface SynchronizationService
Modifier and Type | Method and Description |
---|---|
void |
deleteSalesInvoiceReference(java.lang.String shopId,
java.lang.String orderId)
delete sage sales invoice to epages order association from database and void sales invoice on sage side.
|
boolean |
isReadyForSynchronization(java.lang.String shopId)
Checks if it is possible to start synchronization and if it is, sets the synchronization status to busy
|
void |
synchronizeOrder(java.lang.String shopId,
java.lang.String orderId,
java.lang.String orderGuid)
Synchronizes a specific order of the shop with the passed identifier.
|
void |
synchronizeShop(java.lang.String shopId)
Synchronizes all orders of the shop with the passed identifier.
|
void synchronizeShop(java.lang.String shopId)
shopId
- Identifier of the shop to synchronize.void synchronizeOrder(java.lang.String shopId, java.lang.String orderId, java.lang.String orderGuid)
shopId
- Identifier of the shop containing the order.orderId
- Identifier of the order to synchronize.orderGuid
- GUID of the order to synchronize.void deleteSalesInvoiceReference(java.lang.String shopId, java.lang.String orderId) throws javax.validation.ValidationException, WebserviceException, DeserializationException
shopId
- orderId
- epages order id to deletejavax.validation.ValidationException
WebserviceException
DeserializationException
boolean isReadyForSynchronization(java.lang.String shopId)
shopId
- Identifier of the shop.