Modifier and Type | Method and Description |
---|---|
Product |
IncludedProduct.getProduct()
This field contains the specified product if the
type is
IncludedProductType.PRODUCT . |
Product |
SpecificItemChoice.getProduct()
If the
SpecificItemChoice.type is SpecificItemChoiceType.PRODUCT this holds the product for
this choice |
Modifier and Type | Method and Description |
---|---|
List<Product> |
ProductList.getProducts()
All
Products and their details. |
Modifier and Type | Method and Description |
---|---|
void |
IncludedProduct.setProduct(Product product)
This field contains the specified product if the
type is
IncludedProductType.PRODUCT . |
void |
SpecificItemChoice.setProduct(Product product)
If the
SpecificItemChoice.type is SpecificItemChoiceType.PRODUCT this holds the product for
this choice |
Modifier and Type | Method and Description |
---|---|
void |
ProductList.setProducts(List<Product> products)
All
Products and their details. |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultCartOperationService.checkDependentItemInternalInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
@NonNull com.broadleafcommerce.cart.client.domain.CartItem dependantCartItem,
@NonNull Product dependentProduct)
Checks the inventory-related fields in the catalog data to determine whether or not the
dependent item is available.
|
protected void |
DefaultCartOperationService.checkDependentItemInternalInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
@NonNull com.broadleafcommerce.cart.client.domain.CartItem dependantCartItem,
@NonNull Product dependentProduct)
Checks the inventory-related fields in the catalog data to determine whether or not the
dependent item is available.
|
protected void |
DefaultCartOperationService.checkInternalInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
@NonNull List<Product> products)
Checks the inventory-related fields in the catalog data to determine whether or not the item
is available.
|
protected void |
DefaultCartOperationService.checkInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull Product product,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
|
protected void |
DefaultCartOperationService.checkInventoryAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull Product product,
@NonNull List<Product> products,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Checks the inventory of the cart item.
|
protected void |
DefaultCartOperationService.checkQuantityWithinThreshold(com.broadleafcommerce.cart.client.domain.Cart cart,
com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product)
Checks if the quantity of the item fits within the threshold.
|
protected String |
DefaultCartOperationService.determineDependentItemKey(@NonNull Product product,
@NonNull com.broadleafcommerce.cart.client.domain.CartItem dependantCartItem)
Determines the item key for the dependent cart item.
|
protected String |
DefaultCartOperationService.determineInventoryCheckStrategy(@NonNull Product product,
@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem) |
protected Map<String,Integer> |
DefaultCartOperationService.getRequestedQuantitiesPerSku(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull Product product)
Deprecated.
|
protected Map<String,Integer> |
DefaultCartOperationService.getRequestedQuantitiesPerSku(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull Product product,
@NonNull List<Product> products) |
protected void |
DefaultCartOperationService.validateCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull Product product,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Deprecated.
|
protected void |
DefaultCartOperationService.validateCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull Product product,
@NonNull List<Product> products,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Validates that the
CartItem includes enough information to correctly represent the
product or one of the product's variants. |
protected void |
DefaultCartOperationService.validateCartItemAfterUpdate(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
|
protected void |
DefaultCartOperationService.validateCartItemAfterUpdate(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart,
@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
@NonNull List<Product> products,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
protected void |
DefaultCartOperationService.verifySkuAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
@NonNull List<Product> products,
@NonNull Map<String,Boolean> availabilityMap) |
protected void |
DefaultCartOperationService.verifySkuAvailability(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
@NonNull Map<String,Boolean> availabilityMap)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Variant |
CartItemConfigurationService.determineVariant(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product)
Attempt to determine the variant by the requested variant ID on the
CartItem . |
Variant |
DefaultCartItemConfigurationService.determineVariant(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product) |
protected boolean |
DefaultCartItemConfigurationService.hasVariantDistinguishingOptions(@NonNull Product product) |
void |
CartItemConfigurationService.hydrateIncludedProductDependentItems(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems,
Product product,
boolean isAdd)
Populate
IncludedProduct information on CartItem.getDependentCartItems()
based on the product configuration. |
void |
DefaultCartItemConfigurationService.hydrateIncludedProductDependentItems(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems,
Product product,
boolean isAdd) |
void |
CartItemConfigurationService.hydrateItemChoiceDependentItems(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems,
Product product)
Populate
ItemChoice information on CartItem.getDependentCartItems() based on
the product configuration. |
void |
DefaultCartItemConfigurationService.hydrateItemChoiceDependentItems(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems,
Product product) |
void |
CartItemConfigurationService.validateCartItem(com.broadleafcommerce.cart.client.domain.Cart cart,
com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
String validationFlow)
Process cart item configuration by validating product options.
|
void |
DefaultCartItemConfigurationService.validateCartItem(com.broadleafcommerce.cart.client.domain.Cart cart,
com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
String validationFlow)
Validate the
CartItem against the provided Product . |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
DefaultCartItemProductService.getCategoryIdsForProduct(@NonNull Product product) |
protected com.broadleafcommerce.cart.client.domain.ImageAssetRef |
DefaultCartItemProductService.getImageAssetForProduct(@NonNull Product product) |
protected com.broadleafcommerce.cart.client.domain.ImageAssetRef |
DefaultCartItemProductService.getImageAssetForVariant(@NonNull Variant variant,
@NonNull Product product) |
protected String |
DefaultCartItemProductService.getPricingKey(Product product,
com.broadleafcommerce.cart.client.domain.CartItem cartItem)
Returns the product price key, if specified, otherwise retrieves it from the cart item or
generates a new one.
|
void |
CartItemProductMapper.mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
Variant variant)
|
void |
DataDrivenCartItemProductMapper.mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
Variant variant) |
void |
PropertyDrivenCartItemProductMapper.mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
Variant variant) |
void |
CartItemProductMapper.mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
Variant variant,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
|
void |
DataDrivenCartItemProductMapper.mapProductToCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
Variant variant,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
void |
PropertyDrivenCartItemProductMapper.mapProductToCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
Variant variant,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
protected void |
DefaultCartItemProductService.populateAttributeChoiceLabelsFromOptions(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product) |
protected void |
DefaultCartItemProductService.populateDependentItemInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
@NonNull List<Product> products,
boolean isAdd)
Deprecated.
|
protected void |
DefaultCartItemProductService.populateDependentItemInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
@NonNull List<Product> products,
boolean isAdd,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
com.broadleafcommerce.cart.client.domain.CartItem |
DefaultCartItemProductService.populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
List<Product> productList,
boolean isAdd) |
com.broadleafcommerce.cart.client.domain.CartItem |
CartItemProductService.populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
List<Product> productList,
boolean isAdd)
|
com.broadleafcommerce.cart.client.domain.CartItem |
DefaultCartItemProductService.populateProductInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
List<Product> productList,
boolean isAdd,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
com.broadleafcommerce.cart.client.domain.CartItem |
CartItemProductService.populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
List<Product> productList,
boolean isAdd,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Populate product information within the
CartItem based on the provided
product and the merchandising context |
Modifier and Type | Method and Description |
---|---|
com.broadleafcommerce.cart.client.domain.CartItem |
DefaultCartItemProductService.populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
List<Product> productList,
boolean isAdd) |
com.broadleafcommerce.cart.client.domain.CartItem |
CartItemProductService.populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
List<Product> productList,
boolean isAdd)
|
com.broadleafcommerce.cart.client.domain.CartItem |
DefaultCartItemProductService.populateProductInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
@NonNull Product product,
List<Product> productList,
boolean isAdd,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
com.broadleafcommerce.cart.client.domain.CartItem |
CartItemProductService.populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
List<Product> productList,
boolean isAdd,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Populate product information within the
CartItem based on the provided
product and the merchandising context |
Modifier and Type | Method and Description |
---|---|
protected String |
DefaultCartPricingService.getPricingKey(Product product,
com.broadleafcommerce.cart.client.domain.CartItem cartItem)
Returns the product price key, if specified, otherwise retrieves it from the cart item or
generates a new one.
|
Modifier and Type | Method and Description |
---|---|
Product |
CatalogProvider.retrieveProduct(String productId,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Retrieve the product for the context information provided.
|
Modifier and Type | Method and Description |
---|---|
Product |
ExternalCatalogProvider.retrieveProduct(String productId,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) |
Copyright © 2021. All rights reserved.