public class DefaultB2BCommerceCartService extends DefaultCommerceCartService implements B2BCommerceCartService
ESTIMATED_TAXES| Constructor and Description |
|---|
DefaultB2BCommerceCartService() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateCartForPaymentTypeChange(CartModel cartModel)
Forcefully re-calulcate the order total after applying the promotions for payment type
|
InvoicePaymentInfoModel |
createInvoicePaymentInfo(CartModel cartModel)
Creates an invoice payment info.
|
protected CalculationService |
getCalculationService() |
protected KeyGenerator |
getGuidKeyGenerator() |
void |
setCalculationService(CalculationService calculationService) |
void |
setGuidKeyGenerator(KeyGenerator guidKeyGenerator) |
addToCart, addToCart, addToCart, afterCalculate, beforeCalculate, calculateCart, calculateCart, configureCartEntry, estimateTaxes, estimateTaxes, getBaseSiteService, getCartForCodeAndUser, getCartForGuidAndSite, getCartForGuidAndSiteAndUser, getCartsForSiteAndUser, getCartValidationStrategy, getCommerceAddToCartStrategy, getCommerceCartCalculationStrategy, getCommerceCartDao, getCommerceCartEstimateTaxesStrategy, getCommerceCartHashCalculationStrategy, getCommerceCartMergingStrategy, getCommerceCartMetadataUpdateStrategy, getCommerceCartRestorationStrategy, getCommerceCartSplitStrategy, getCommerceRemoveEntriesStrategy, getCommerceUpdateCartEntryStrategy, getModelService, getProductConfigurationStrategy, getRemoveEntryGroupStrategy, getSessionService, getStaleCartRemovalStrategy, mergeCarts, recalculateCart, recalculateCart, removeAllEntries, removeAllEntries, removeEntryGroup, removeStaleCarts, removeStaleCarts, restoreCart, restoreCart, setBaseSiteService, setCartValidationStrategy, setCommerceAddToCartStrategy, setCommerceCartCalculationStrategy, setCommerceCartDao, setCommerceCartEstimateTaxesStrategy, setCommerceCartHashCalculationStrategy, setCommerceCartMergingStrategy, setCommerceCartMetadataUpdateStrategy, setCommerceCartRestorationStrategy, setCommerceCartSplitStrategy, setCommerceRemoveEntriesStrategy, setCommerceUpdateCartEntryStrategy, setModelService, setProductConfigurationStrategy, setRemoveEntryGroupStrategy, setSessionService, setStaleCartRemovalStrategy, split, split, updateCartMetadata, updatePointOfServiceForCartEntry, updatePointOfServiceForCartEntry, updateQuantityForCartEntry, updateQuantityForCartEntry, updateToShippingModeForCartEntry, updateToShippingModeForCartEntry, validateCart, validateCartclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToCart, 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, validateCartpublic void calculateCartForPaymentTypeChange(CartModel cartModel)
B2BCommerceCartServicecalculateCartForPaymentTypeChange in interface B2BCommerceCartServicecartModel - the cart whose total has to be re-calculatedpublic InvoicePaymentInfoModel createInvoicePaymentInfo(CartModel cartModel)
B2BCommerceCartServicecreateInvoicePaymentInfo in interface B2BCommerceCartServicecartModel - the cart whose payment info is applied toprotected KeyGenerator getGuidKeyGenerator()
public void setGuidKeyGenerator(KeyGenerator guidKeyGenerator)
protected CalculationService getCalculationService()
public void setCalculationService(CalculationService calculationService)
Copyright © 2018 SAP SE. All Rights Reserved.