Interface AcceleratorCheckoutFacade
- All Superinterfaces:
CheckoutFacade
- All Known Subinterfaces:
CheckoutFlowFacade,ChineseCheckoutFacade,DeliveryTimeSlotFacade,TaxInvoiceCheckoutFacade
- All Known Implementing Classes:
B2BMultiStepCheckoutFlowFacade,ChinesePaymentMockCheckoutFacade,ChineseTaxInvoiceCheckoutFacade,DefaultAcceleratorCheckoutFacade,DefaultB2BAcceleratorCheckoutFacade,DefaultCheckoutFlowFacade,DefaultChineseCheckoutFacade,DefaultChineseDeliveryTimeSlotFacade,SessionOverrideCheckoutFlowFacade
Facade that extends CheckoutFacade with accelerator related functionality.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionconsolidateCheckoutCart(String pickupPointOfServiceName) Runs calculation again and updates cartGets the checkout flow groupGets the points of service for item pickupbooleanChecks if there is no delivery addressbooleanChecks if there is no delivery modebooleanChecks if there is no payment infobooleanChecks if there is a valid cart for checkoutbooleanChecks if the current cart is allow to go through express checkoutbooleanChecks if the current store is eligible for express checkout optionbooleanChecks if creating a new delivery address is allowed for the current cartbooleanChecks if removing an address from the address book is allowed during checkout for the current cartbooleanChecks if the current store is eligible tax estimationChecks the required conditions and performs the express checkoutMethods 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
-
getCheckoutFlowGroupForCheckout
String getCheckoutFlowGroupForCheckout()Gets the checkout flow group- Returns:
- the checkout flow group value
-
getConsolidatedPickupOptions
List<PointOfServiceData> getConsolidatedPickupOptions()Gets the points of service for item pickup- Returns:
- a
ListofPointOfServiceData
-
consolidateCheckoutCart
List<CartModificationData> consolidateCheckoutCart(String pickupPointOfServiceName) throws CommerceCartModificationException Runs calculation again and updates cart- Parameters:
pickupPointOfServiceName- the point of service name- Returns:
- a
ListofCartModificationDatacontaining each unsuccessful cart modification - Throws:
CommerceCartModificationException- when the cart could not be modified
-
isExpressCheckoutAllowedForCart
boolean isExpressCheckoutAllowedForCart()Checks if the current cart is allow to go through express checkout- Returns:
- true if express checkout is allowed for cart
-
isExpressCheckoutEnabledForStore
boolean isExpressCheckoutEnabledForStore()Checks if the current store is eligible for express checkout option- Returns:
- true if checkout if express checkout of available for store
-
isTaxEstimationEnabledForCart
boolean isTaxEstimationEnabledForCart()Checks if the current store is eligible tax estimation- Returns:
- true if tax estimation enabled for store
-
isNewAddressEnabledForCart
boolean isNewAddressEnabledForCart()Checks if creating a new delivery address is allowed for the current cart- Returns:
- true if creating a new delivery address is allowed for the cart
-
isRemoveAddressEnabledForCart
boolean isRemoveAddressEnabledForCart()Checks if removing an address from the address book is allowed during checkout for the current cart- Returns:
- true if removing an address is allowed for the cart
-
performExpressCheckout
AcceleratorCheckoutFacade.ExpressCheckoutResult performExpressCheckout()Checks the required conditions and performs the express checkout- Returns:
- the result of the operation
-
hasValidCart
boolean hasValidCart()Checks if there is a valid cart for checkout- Returns:
- if there is a valid cart
-
hasNoDeliveryAddress
boolean hasNoDeliveryAddress()Checks if there is no delivery address- Returns:
- true if there is no delivery address
-
hasNoDeliveryMode
boolean hasNoDeliveryMode()Checks if there is no delivery mode- Returns:
- true if there is no delivery mode
-
hasNoPaymentInfo
boolean hasNoPaymentInfo()Checks if there is no payment info- Returns:
- true if there is no payment info
-