Uses of Class
com.broadleafcommerce.cartoperation.domain.IncludedProduct
Package
Description
-
Uses of IncludedProduct in com.broadleafcommerce.cartoperation.domain
Modifier and TypeMethodDescriptionProduct.getIncludedProducts()
Additional products that are always included with the product, no matter what.Modifier and TypeMethodDescriptionvoid
Product.setIncludedProducts
(List<IncludedProduct> includedProducts) Additional products that are always included with the product, no matter what. -
Uses of IncludedProduct in com.broadleafcommerce.cartoperation.service.configuration
Modifier and TypeMethodDescriptionprotected void
DefaultIncludedProductConfigurationService.addItemConfigError
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull IncludedProduct includedProduct, @NonNull String errorCode, @NonNull String errorMessage) protected com.broadleafcommerce.cart.client.domain.CartItem
DefaultIncludedProductConfigurationService.createDependentItem
(@NonNull IncludedProduct includedProduct) protected Optional<com.broadleafcommerce.cart.client.domain.CartItem>
DefaultIncludedProductConfigurationService.findDependentMatchingIncludedProduct
(@NonNull List<com.broadleafcommerce.cart.client.domain.CartItem> dependentCartItems, @NonNull IncludedProduct includedProduct) protected Optional<com.broadleafcommerce.cart.client.domain.CartItem>
DefaultIncludedProductConfigurationService.findMatchingProduct
(@NonNull List<com.broadleafcommerce.cart.client.domain.CartItem> dependentCartItems, @NonNull IncludedProduct includedProduct) protected Optional<com.broadleafcommerce.cart.client.domain.CartItem>
DefaultIncludedProductConfigurationService.findMatchingVariant
(@NonNull List<com.broadleafcommerce.cart.client.domain.CartItem> dependentCartItems, @NonNull IncludedProduct includedProduct) protected javax.money.MonetaryAmount
DefaultIncludedProductConfigurationService.getIncludedItemUnitPrice
(@NonNull IncludedProduct includedProduct) Returns the "unitPrice" of theIncludedProduct
to use for aCartItem
.protected String
DefaultIncludedProductConfigurationService.getIncludedProductName
(@NonNull IncludedProduct includedProduct) Returns the "name" of theIncludedProduct
to use for aCartItem
.protected boolean
DefaultIncludedProductConfigurationService.isDiscountable
(IncludedProduct includedProduct) void
DefaultIncludedProductConfigurationService.populateIncludedProduct
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull IncludedProduct includedProduct, @NonNull List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems, boolean isAdd) void
IncludedProductConfigurationService.populateIncludedProduct
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, IncludedProduct includedProduct, List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems, boolean isAdd) Populate theIncludedProduct
as a dependent item in the providedCartItem
.void
DefaultIncludedProductConfigurationService.validateIncludedProduct
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull IncludedProduct includedProduct, @NonNull List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems) void
IncludedProductConfigurationService.validateIncludedProduct
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, IncludedProduct includedProduct, List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems) Perform validation against the providedCartItem
for the givenIncludedProduct
.protected void
DefaultIncludedProductConfigurationService.validateQuantity
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, com.broadleafcommerce.cart.client.domain.CartItem matchingCartItem, @NonNull IncludedProduct includedProduct)