Interface B2BCommerceCartService
-
- All Superinterfaces:
CommerceCartService
- All Known Implementing Classes:
DefaultB2BCommerceCartService
public interface B2BCommerceCartService extends CommerceCartService
Interface to handle specific B2B Commerce cart services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcalculateCartForPaymentTypeChange(CartModel cartModel)Forcefully re-calulcate the order total after applying the promotions for payment typeInvoicePaymentInfoModelcreateInvoicePaymentInfo(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 Detail
-
calculateCartForPaymentTypeChange
void calculateCartForPaymentTypeChange(CartModel cartModel)
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
InvoicePaymentInfoModel createInvoicePaymentInfo(CartModel cartModel)
Creates an invoice payment info.- Parameters:
cartModel- the cart whose payment info is applied to- Returns:
- the invoice payment info created
-
-