public interface AcceleratorCheckoutFacade extends CheckoutFacade
| Modifier and Type | Interface and Description |
|---|---|
static class |
AcceleratorCheckoutFacade.ExpressCheckoutResult |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CartModificationData> |
consolidateCheckoutCart(java.lang.String pickupPointOfServiceName)
Runs calculation again and updates cart
|
java.lang.String |
getCheckoutFlowGroupForCheckout()
Gets the checkout flow group
|
java.util.List<PointOfServiceData> |
getConsolidatedPickupOptions()
Gets the points of service for item pickup
|
boolean |
hasNoDeliveryAddress()
Checks if there is no delivery address
|
boolean |
hasNoDeliveryMode()
Checks if there is no delivery mode
|
boolean |
hasNoPaymentInfo()
Checks if there is no payment info
|
boolean |
hasValidCart()
Checks if there is a valid cart for checkout
|
boolean |
isExpressCheckoutAllowedForCart()
Checks if the current cart is allow to go through express checkout
|
boolean |
isExpressCheckoutEnabledForStore()
Checks if the current store is eligible for express checkout option
|
boolean |
isNewAddressEnabledForCart()
Checks if creating a new delivery address is allowed for the current cart
|
boolean |
isRemoveAddressEnabledForCart()
Checks if removing an address from the address book is allowed during checkout for the current cart
|
boolean |
isTaxEstimationEnabledForCart()
Checks if the current store is eligible tax estimation
|
AcceleratorCheckoutFacade.ExpressCheckoutResult |
performExpressCheckout()
Checks the required conditions and performs the express checkout
|
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, setPaymentInfoIfAvailablejava.lang.String getCheckoutFlowGroupForCheckout()
java.util.List<PointOfServiceData> getConsolidatedPickupOptions()
List of PointOfServiceDatajava.util.List<CartModificationData> consolidateCheckoutCart(java.lang.String pickupPointOfServiceName) throws CommerceCartModificationException
pickupPointOfServiceName - the point of service nameList of CartModificationData containing each unsuccessful cart modificationCommerceCartModificationException - when the cart could not be modifiedboolean isExpressCheckoutAllowedForCart()
boolean isExpressCheckoutEnabledForStore()
boolean isTaxEstimationEnabledForCart()
boolean isNewAddressEnabledForCart()
boolean isRemoveAddressEnabledForCart()
AcceleratorCheckoutFacade.ExpressCheckoutResult performExpressCheckout()
boolean hasValidCart()
boolean hasNoDeliveryAddress()
boolean hasNoDeliveryMode()
boolean hasNoPaymentInfo()
Copyright © 2018 SAP SE. All Rights Reserved.