Interface TmaCheckoutFacade
- All Superinterfaces:
de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade,de.hybris.platform.commercefacades.order.CheckoutFacade
- All Known Implementing Classes:
DefaultTmaCheckoutFacade
public interface TmaCheckoutFacade
extends de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
Facade that extends CheckoutFacade with telco related functionality.
- Since:
- 1907
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade.ExpressCheckoutResult -
Method Summary
Modifier and TypeMethodDescriptiongetSupportedDeliveryModesForCartAndUser(String cartCode, String userCode) Returns a list of supported delivery modes for the cart and user provided.placeOrderFromCart(String cartId, String userId, boolean removeCart) Creates an order getting data from cart resource identified by the given identifierplaceOrderFromDto(OrderData orderData, String userId) Creates an order getting data from order Dto provided.Methods inherited from interface de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
consolidateCheckoutCart, getCheckoutFlowGroupForCheckout, getConsolidatedPickupOptions, hasNoDeliveryAddress, hasNoDeliveryMode, hasNoPaymentInfo, hasValidCart, isExpressCheckoutAllowedForCart, isExpressCheckoutEnabledForStore, isNewAddressEnabledForCart, isRemoveAddressEnabledForCart, isTaxEstimationEnabledForCart, performExpressCheckoutMethods inherited from interface de.hybris.platform.commercefacades.order.CheckoutFacade
authorizePayment, containsTaxValues, createPaymentSubscription, getAddressDataForId, getBillingCountries, getCheckoutCart, getCountries, getDeliveryAddressForCode, getDeliveryCountries, getSupportedCardTypes, getSupportedDeliveryAddresses, getSupportedDeliveryModes, hasCheckoutCart, hasPickUpItems, hasShippingItems, placeOrder, prepareCartForCheckout, removeDeliveryAddress, removeDeliveryMode, setCheapestDeliveryModeForCheckout, setDefaultDeliveryAddressForCheckout, setDefaultPaymentInfoForCheckout, setDeliveryAddress, setDeliveryAddressIfAvailable, setDeliveryMode, setDeliveryModeIfAvailable, setPaymentDetails, setPaymentInfoIfAvailable
-
Method Details
-
getSupportedDeliveryModesForCartAndUser
Returns a list of supported delivery modes for the cart and user provided.- Parameters:
cartCode- Unique identifier of the cart.userCode- Unique identifier of the user.- Returns:
- List of supported delivery modes for the provided cart and user.
-
placeOrderFromCart
OrderData placeOrderFromCart(String cartId, String userId, boolean removeCart) throws OrderProcessingException Creates an order getting data from cart resource identified by the given identifier- Parameters:
cartId- identifier of the cartuserId- identifier of the cart creatorremoveCart- flag indicating whether cart should be removed once the order is created- Returns:
- order DTO object with the details of the order
- Throws:
OrderProcessingException
-
placeOrderFromDto
Creates an order getting data from order Dto provided.- Parameters:
orderData- order inputuserId- identifier if the cart creator- Returns:
- the order Dto containing the data of the created order resource
- Throws:
OrderProcessingException
-