Class SessionOverrideCheckoutFlowFacade
- java.lang.Object
-
- de.hybris.platform.commercefacades.order.impl.DefaultCheckoutFacade
-
- de.hybris.platform.acceleratorfacades.order.impl.DefaultAcceleratorCheckoutFacade
-
- de.hybris.platform.acceleratorfacades.flow.impl.DefaultCheckoutFlowFacade
-
- de.hybris.platform.acceleratorfacades.flow.impl.SessionOverrideCheckoutFlowFacade
-
- All Implemented Interfaces:
CheckoutFlowFacade,AcceleratorCheckoutFacade,CheckoutFacade
public class SessionOverrideCheckoutFlowFacade extends DefaultCheckoutFlowFacade
Specialised version of the DefaultCheckoutFlowFacade that allows the checkout flow and pci strategy to be overridden in the session. This is primarily used for demonstration purposes and you may not need to use this sub-class in your environment.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
AcceleratorCheckoutFacade.ExpressCheckoutResult
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSESSION_KEY_CHECKOUT_FLOWstatic java.lang.StringSESSION_KEY_SUBSCRIPTION_PCI_OPTION
-
Constructor Summary
Constructors Constructor Description SessionOverrideCheckoutFlowFacade()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SessionServicegetSessionService()protected static SessionServicegetStaticSessionService()CheckoutPciOptionEnumgetSubscriptionPciOption()Gets the subscription pci optionstatic voidresetSessionOverrides()Resets session override attributesstatic voidsetSessionOverrideCheckoutFlow(CheckoutFlowEnum checkoutFlow)static voidsetSessionOverrideSubscriptionPciOption(CheckoutPciOptionEnum checkoutPciOption)voidsetSessionService(SessionService sessionService)-
Methods inherited from class de.hybris.platform.acceleratorfacades.flow.impl.DefaultCheckoutFlowFacade
getCheckoutPciStrategy, setCheckoutPciStrategy
-
Methods inherited from class de.hybris.platform.acceleratorfacades.order.impl.DefaultAcceleratorCheckoutFacade
consolidateCheckoutCart, getAcceleratorCheckoutService, getCartModificationConverter, getCheckoutFlowGroupForCheckout, getConsolidatedPickupOptions, getExpressCheckoutDeliveryResult, getPointOfServiceDistanceConverter, getPointOfServiceService, getUiExperienceService, hasNoDeliveryAddress, hasNoDeliveryMode, hasNoPaymentInfo, hasValidCart, isExpressCheckoutAllowedForCart, isExpressCheckoutAllowedForShippingCart, isExpressCheckoutAllowedPickupOnlyCart, isExpressCheckoutEnabledForStore, isNewAddressEnabledForCart, isRemoveAddressEnabledForCart, isTaxEstimationEnabledForCart, performExpressCheckout, placeOrder, setAcceleratorCheckoutService, setCartModificationConverter, setPointOfServiceDistanceConverter, setPointOfServiceService, setUiExperienceService
-
Methods inherited from class de.hybris.platform.commercefacades.order.impl.DefaultCheckoutFacade
afterPlaceOrder, authorizePayment, beforePlaceOrder, checkIfCurrentUserIsTheCartUser, containsTaxValues, convert, createCommerceCheckoutParameter, createDeliveryAddressModel, createPaymentSubscription, getAddressConverter, getAddressDataForId, getAddressReversePopulator, getBaseStoreService, getBillingCountries, getCardTypeConverter, getCart, getCartFacade, getCartService, getCheckoutCart, getCheckoutCustomerStrategy, getCommerceCardTypeService, getCommerceCheckoutService, getCommonI18NService, getCountries, getCountryConverter, getCreditCardPaymentInfoConverter, getCurrentUserForCheckout, getCustomerAccountService, getDeliveryAddress, getDeliveryAddressForCode, getDeliveryAddressModelForCode, getDeliveryCountries, getDeliveryMode, getDeliveryModeConverter, getDeliveryService, getEnumerationService, getModelService, getOrderConverter, getPaymentDetails, getPaymentProvider, getPriceDataFactory, getSupportedCardTypes, getSupportedDeliveryAddresses, getSupportedDeliveryModes, getUserService, getZoneDeliveryModeConverter, hasCheckoutCart, hasItemsMatchingPredicate, hasPickUpItems, hasShippingItems, isSupportedDeliveryMode, placeOrder, prepareCartForCheckout, removeDeliveryAddress, removeDeliveryMode, setAddressConverter, setAddressReversePopulator, setBaseStoreService, setCardTypeConverter, setCartFacade, setCartService, setCheapestDeliveryModeForCheckout, setCheckoutCustomerStrategy, setCommerceCardTypeService, setCommerceCheckoutService, setCommonI18NService, setCountryConverter, setCreditCardPaymentInfoConverter, setCustomerAccountService, setDefaultDeliveryAddressForCheckout, setDefaultPaymentInfoForCheckout, setDeliveryAddress, setDeliveryAddressIfAvailable, setDeliveryMode, setDeliveryModeConverter, setDeliveryModeIfAvailable, setDeliveryService, setEnumerationService, setModelService, setOrderConverter, setPaymentDetails, setPaymentInfoIfAvailable, setPriceDataFactory, setUserService, setZoneDeliveryModeConverter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
-
-
Field Detail
-
SESSION_KEY_CHECKOUT_FLOW
public static final java.lang.String SESSION_KEY_CHECKOUT_FLOW
- See Also:
- Constant Field Values
-
SESSION_KEY_SUBSCRIPTION_PCI_OPTION
public static final java.lang.String SESSION_KEY_SUBSCRIPTION_PCI_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
getSubscriptionPciOption
public CheckoutPciOptionEnum getSubscriptionPciOption()
Description copied from interface:CheckoutFlowFacadeGets the subscription pci option- Specified by:
getSubscriptionPciOptionin interfaceCheckoutFlowFacade- Overrides:
getSubscriptionPciOptionin classDefaultCheckoutFlowFacade- Returns:
- the pci option
-
resetSessionOverrides
public static void resetSessionOverrides()
Resets session override attributes
-
setSessionOverrideCheckoutFlow
public static void setSessionOverrideCheckoutFlow(CheckoutFlowEnum checkoutFlow)
-
setSessionOverrideSubscriptionPciOption
public static void setSessionOverrideSubscriptionPciOption(CheckoutPciOptionEnum checkoutPciOption)
-
getStaticSessionService
protected static SessionService getStaticSessionService()
-
-