Class DefaultCartOperationServiceProviders
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.DefaultCartOperationServiceProviders
- All Implemented Interfaces:
CartOperationServiceProviders
public class DefaultCartOperationServiceProviders
extends Object
implements CartOperationServiceProviders
- Author:
- Jacob Mitash
-
Constructor Summary
ConstructorDescriptionDefaultCartOperationServiceProviders
(CartProvider cartProvider, CatalogProvider<? extends CatalogItem> catalogProvider, OfferProvider offerProvider, CampaignProvider campaignProvider, InventoryProvider inventoryProvider) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets a cart provider.CatalogProvider<? extends CatalogItem>
Gets a catalog provider.Gets aFulfillmentProvider
.Gets an inventory provider.Gets a offer provider.void
setFulfillmentProvider
(FulfillmentProvider fulfillmentProvider)
-
Constructor Details
-
DefaultCartOperationServiceProviders
public DefaultCartOperationServiceProviders(CartProvider cartProvider, CatalogProvider<? extends CatalogItem> catalogProvider, OfferProvider offerProvider, CampaignProvider campaignProvider, InventoryProvider inventoryProvider)
-
-
Method Details
-
getCartProvider
Description copied from interface:CartOperationServiceProviders
Gets a cart provider.- Specified by:
getCartProvider
in interfaceCartOperationServiceProviders
- Returns:
- a cart provider
-
getCatalogProvider
Description copied from interface:CartOperationServiceProviders
Gets a catalog provider.- Specified by:
getCatalogProvider
in interfaceCartOperationServiceProviders
- Returns:
- a catalog provider
-
getOfferProvider
Description copied from interface:CartOperationServiceProviders
Gets a offer provider.- Specified by:
getOfferProvider
in interfaceCartOperationServiceProviders
- Returns:
- a offer provider
-
getCampaignProvider
Deprecated.Description copied from interface:CartOperationServiceProviders
Gets a campaign provider.- Specified by:
getCampaignProvider
in interfaceCartOperationServiceProviders
- Returns:
- a campaign provider
-
getInventoryProvider
Description copied from interface:CartOperationServiceProviders
Gets an inventory provider.- Specified by:
getInventoryProvider
in interfaceCartOperationServiceProviders
- Returns:
- an inventory provider
-
getFulfillmentProvider
Description copied from interface:CartOperationServiceProviders
Gets aFulfillmentProvider
.- Specified by:
getFulfillmentProvider
in interfaceCartOperationServiceProviders
- Returns:
- a fulfillment provider
-
setFulfillmentProvider
-