Interface B2BCommerceCartService
- All Superinterfaces:
CommerceCartService
- All Known Implementing Classes:
DefaultB2BCommerceCartService
Interface to handle specific B2B Commerce cart services.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateCartForPaymentTypeChange(CartModel cartModel) Forcefully re-calulcate the order total after applying the promotions for payment typecreateInvoicePaymentInfo(CartModel cartModel) Creates an invoice payment info.Methods inherited from interface de.hybris.platform.commerceservices.order.CommerceCartService
addToCart, addToCart, addToCart, calculateCart, calculateCart, configureCartEntry, estimateTaxes, estimateTaxes, getCartForCodeAndUser, getCartForGuidAndSite, getCartForGuidAndSiteAndUser, getCartsForSiteAndUser, mergeCarts, recalculateCart, recalculateCart, removeAllEntries, removeAllEntries, removeEntryGroup, removeStaleCarts, removeStaleCarts, restoreCart, restoreCart, split, split, updateCartMetadata, updatePointOfServiceForCartEntry, updatePointOfServiceForCartEntry, updateQuantityForCartEntry, updateQuantityForCartEntry, updateToShippingModeForCartEntry, updateToShippingModeForCartEntry, validateCart, validateCart
-
Method Details
-
calculateCartForPaymentTypeChange
Forcefully re-calulcate the order total after applying the promotions for payment type- Parameters:
cartModel- the cart whose total has to be re-calculated
-
createInvoicePaymentInfo
Creates an invoice payment info.- Parameters:
cartModel- the cart whose payment info is applied to- Returns:
- the invoice payment info created
-