Class CartFieldMappingEndpoint
java.lang.Object
com.broadleafcommerce.catalog.web.endpoint.commerce.CartFieldMappingEndpoint
@FrameworkRestController
@FrameworkMapping("/cart-field-mappings")
@DataRouteByExample(CartFieldMapping.class)
public class CartFieldMappingEndpoint
extends Object
- Author:
- Jon Fleschler (jfleschler)
-
Constructor Summary
ConstructorDescriptionCartFieldMappingEndpoint
(CartFieldMappingService<CartFieldMapping> mappingService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected CartFieldMappingService<CartFieldMapping>
protected com.broadleafcommerce.common.extension.TypeFactory
readCartFieldMappings
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Constructor Details
-
CartFieldMappingEndpoint
public CartFieldMappingEndpoint(CartFieldMappingService<CartFieldMapping> mappingService, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
-
Method Details
-
readCartFieldMappings
@FrameworkGetMapping public List<CartFieldMapping> readCartFieldMappings(jakarta.servlet.http.HttpServletRequest request, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
getMappingService
-
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
-