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