DefaultCartFacade@Deprecated public interface SubscriptionCartFacade extends CartFacade
| Modifier and Type | Method and Description |
|---|---|
CartModificationData |
addToCart(java.lang.String code,
java.lang.String originalSubscriptionId,
java.lang.String originalOrderCode,
int originalEntryNumber)
Deprecated.
Method for upgrading a subscription product.
|
java.lang.String |
getProductAsXML(ProductModel product)
Deprecated.
Converts a product model into its xml representation.
|
void |
refreshProductXMLs()
Deprecated.
Refreshes the xml of a cart entry, if the currency has changed.
|
addToCart, addToCart, addToCart, estimateExternalTaxes, getCartsForCurrentUser, getDeliveryCountries, getMiniCart, getMostRecentCartGuidForUser, getSessionCart, getSessionCartGuid, getSessionCartWithEntryOrdering, hasEntries, hasSessionCart, removeEntryGroup, removeSessionCart, removeStaleCarts, restoreAnonymousCartAndMerge, restoreAnonymousCartAndTakeOwnership, restoreCartAndMerge, restoreSavedCart, updateCartEntry, updateCartEntry, updateCartEntry, updateCartMetadata, validateCartDatavoid refreshProductXMLs()
CartModificationData addToCart(java.lang.String code, java.lang.String originalSubscriptionId, java.lang.String originalOrderCode, int originalEntryNumber) throws CommerceCartModificationException
code - code of product to addoriginalSubscriptionId - the id of the original subscription which is upgraded by this addToCartoriginalOrderCode - the code of the original order in which the original subscription was boughtoriginalEntryNumber - CommerceCartModificationException - if the cart cannot be modifiedjava.lang.String getProductAsXML(ProductModel product)
product - product to generate xml representation forCopyright © 2018 SAP SE. All Rights Reserved.