@Path(value="accounting/sageone/{shopGuid}")
public class ConfigResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) ConfigurationService |
configurationService |
private static org.slf4j.Logger |
log |
Constructor and Description |
---|
ConfigResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getShopConfig(GUID shopGuid) |
javax.ws.rs.core.Response |
setShopConfig(GUID shopGuid,
ShopConfig shopConfig) |
private static org.slf4j.Logger log
@Inject ConfigurationService configurationService
@PUT @Path(value="config") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response setShopConfig(@PathParam(value="shopGuid") GUID shopGuid, ShopConfig shopConfig)
@GET @Path(value="config") @Produces(value="application/json") public javax.ws.rs.core.Response getShopConfig(@PathParam(value="shopGuid") GUID shopGuid)