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 Type
    Method
    Description
    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 identifier
    placeOrderFromDto(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, performExpressCheckout

    Methods 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

      List<DeliveryModeData> getSupportedDeliveryModesForCartAndUser(String cartCode, String userCode)
      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 cart
      userId - identifier of the cart creator
      removeCart - 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

      OrderData placeOrderFromDto(OrderData orderData, String userId) throws OrderProcessingException
      Creates an order getting data from order Dto provided.
      Parameters:
      orderData - order input
      userId - identifier if the cart creator
      Returns:
      the order Dto containing the data of the created order resource
      Throws:
      OrderProcessingException