@Path(value="shops/{shopId}/carts/")
public final class CartCheckoutButtonResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private CartCheckoutButtonService |
checkoutButtonService |
private ShopRequestContextService |
shopReqCtxService |
Constructor and Description |
---|
CartCheckoutButtonResource(ShopRequestContextService shopReqCtxService,
CartCheckoutButtonService checkoutButtonService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
get(java.lang.String shopId,
GUID cartId) |
private final ShopRequestContextService shopReqCtxService
private final CartCheckoutButtonService checkoutButtonService
@Inject public CartCheckoutButtonResource(ShopRequestContextService shopReqCtxService, CartCheckoutButtonService checkoutButtonService)
@GET @Produces(value="application/vnd.epages.v1+json, application/json") @RolesAllowed(value="carts_read") @Path(value="{cartId}/checkout-button") public javax.ws.rs.core.Response get(@PathParam(value="shopId") java.lang.String shopId, @PathParam(value="cartId") GUID cartId)