Interface AcceleratorCheckoutFacade
-
- All Superinterfaces:
CheckoutFacade
- All Known Subinterfaces:
CheckoutFlowFacade
,ChineseCheckoutFacade
,DeliveryTimeSlotFacade
,TaxInvoiceCheckoutFacade
- All Known Implementing Classes:
B2BMultiStepCheckoutFlowFacade
,ChinesePaymentMockCheckoutFacade
,ChineseTaxInvoiceCheckoutFacade
,DefaultAcceleratorCheckoutFacade
,DefaultB2BAcceleratorCheckoutFacade
,DefaultCheckoutFlowFacade
,DefaultChineseCheckoutFacade
,DefaultChineseDeliveryTimeSlotFacade
,DefaultSapDigitalPaymentAcceleratorCheckoutFacade
,SapCreditCheckB2BAcceleratorCheckoutFacade
,SapCreditCheckB2BMultiStepCheckoutFlowFacade
,SapOrdermgmtB2BAcceleratorCheckoutFacade
,SapOrdermgmtB2BMultiStepCheckoutFlowFacade
,SessionOverrideCheckoutFlowFacade
public interface AcceleratorCheckoutFacade extends CheckoutFacade
Facade that extends CheckoutFacade with accelerator related functionality.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AcceleratorCheckoutFacade.ExpressCheckoutResult
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<CartModificationData>
consolidateCheckoutCart(java.lang.String pickupPointOfServiceName)
Runs calculation again and updates cartjava.lang.String
getCheckoutFlowGroupForCheckout()
Gets the checkout flow groupjava.util.List<PointOfServiceData>
getConsolidatedPickupOptions()
Gets the points of service for item pickupboolean
hasNoDeliveryAddress()
Checks if there is no delivery addressboolean
hasNoDeliveryMode()
Checks if there is no delivery modeboolean
hasNoPaymentInfo()
Checks if there is no payment infoboolean
hasValidCart()
Checks if there is a valid cart for checkoutboolean
isExpressCheckoutAllowedForCart()
Checks if the current cart is allow to go through express checkoutboolean
isExpressCheckoutEnabledForStore()
Checks if the current store is eligible for express checkout optionboolean
isNewAddressEnabledForCart()
Checks if creating a new delivery address is allowed for the current cartboolean
isRemoveAddressEnabledForCart()
Checks if removing an address from the address book is allowed during checkout for the current cartboolean
isTaxEstimationEnabledForCart()
Checks if the current store is eligible tax estimationAcceleratorCheckoutFacade.ExpressCheckoutResult
performExpressCheckout()
Checks the required conditions and performs the express checkout-
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 Detail
-
getCheckoutFlowGroupForCheckout
java.lang.String getCheckoutFlowGroupForCheckout()
Gets the checkout flow group- Returns:
- the checkout flow group value
-
getConsolidatedPickupOptions
java.util.List<PointOfServiceData> getConsolidatedPickupOptions()
Gets the points of service for item pickup- Returns:
- a
List
ofPointOfServiceData
-
consolidateCheckoutCart
java.util.List<CartModificationData> consolidateCheckoutCart(java.lang.String pickupPointOfServiceName) throws CommerceCartModificationException
Runs calculation again and updates cart- Parameters:
pickupPointOfServiceName
- the point of service name- Returns:
- a
List
ofCartModificationData
containing 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
-
-