Interface TravelCheckoutFacade
- All Superinterfaces:
de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade,de.hybris.platform.commercefacades.order.CheckoutFacade
- All Known Subinterfaces:
NDCCheckoutFacade
- All Known Implementing Classes:
DefaultNDCCheckoutFacade,DefaultTravelCheckoutFacade
public interface TravelCheckoutFacade
extends de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
Travel Checkout facade interface.
-
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 TypeMethodDescriptionplaceOrder(String cartId, String paymentOptionId, Boolean additionalSecurity, String securityCode) Place an order: 1) Checks if the paymentOptionId (if provided) is contained in the list of the available payment options for the specific cartId and save them into the session before placing the order.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
-
placeOrder
String placeOrder(String cartId, String paymentOptionId, Boolean additionalSecurity, String securityCode) throws de.hybris.platform.order.InvalidCartException, InvalidSessionCartException, PlaceOrderException, InternalErrorException, InvalidPaymentOptionException Place an order: 1) Checks if the paymentOptionId (if provided) is contained in the list of the available payment options for the specific cartId and save them into the session before placing the order. 2) Set the AdditionalSecurity on the cart. 3) Place an order after validating the cart.- Parameters:
cartId- the cartIdpaymentOptionId- the paymentOptionIdadditionalSecurity- the additionalSecuritysecurityCode- the securityCode- Returns:
- the order code
- Throws:
de.hybris.platform.order.InvalidCartExceptionInvalidSessionCartExceptionPlaceOrderExceptionInternalErrorExceptionInvalidPaymentOptionException
-