Class SapCreditCheckB2BAcceleratorCheckoutFacade
- java.lang.Object
-
- de.hybris.platform.commercefacades.order.impl.DefaultCheckoutFacade
-
- de.hybris.platform.b2bacceleratorfacades.order.impl.DefaultCheckoutFacade
-
- de.hybris.platform.b2bacceleratorfacades.order.impl.DefaultB2BCheckoutFacade
-
- de.hybris.platform.sap.sapcreditcheck.facades.impl.SapCreditCheckB2BCheckoutFacade
-
- de.hybris.platform.sap.sapcreditcheck.facades.impl.SapCreditCheckB2BAcceleratorCheckoutFacade
-
- All Implemented Interfaces:
AcceleratorCheckoutFacade,CheckoutFacade,B2BCheckoutFacade,CheckoutFacade
- Direct Known Subclasses:
SapCreditCheckB2BMultiStepCheckoutFlowFacade
public class SapCreditCheckB2BAcceleratorCheckoutFacade extends SapCreditCheckB2BCheckoutFacade implements AcceleratorCheckoutFacade
B2B specific implementation of theAcceleratorCheckoutFacadeinterface extendingSapCreditCheckB2BCheckoutFacade. DelegatesAcceleratorCheckoutFacademethods to the defaultAcceleratorCheckoutFacade bean.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.acceleratorfacades.order.AcceleratorCheckoutFacade
AcceleratorCheckoutFacade.ExpressCheckoutResult
-
-
Constructor Summary
Constructors Constructor Description SapCreditCheckB2BAcceleratorCheckoutFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CartModificationData>consolidateCheckoutCart(java.lang.String pickupPointOfServiceName)Runs calculation again and updates cartprotected AcceleratorCheckoutFacadegetAcceleratorCheckoutFacade()java.lang.StringgetCheckoutFlowGroupForCheckout()Gets the checkout flow groupjava.util.List<PointOfServiceData>getConsolidatedPickupOptions()Gets the points of service for item pickupbooleanhasNoDeliveryAddress()Checks if there is no delivery addressbooleanhasNoDeliveryMode()Checks if there is no delivery modebooleanhasNoPaymentInfo()Checks if there is no payment infobooleanhasValidCart()Checks if there is a valid cart for checkoutprotected booleanisAccountPayment()booleanisExpressCheckoutAllowedForCart()Checks if the current cart is allow to go through express checkoutbooleanisExpressCheckoutEnabledForStore()Checks if the current store is eligible for express checkout optionbooleanisNewAddressEnabledForCart()Checks if creating a new delivery address is allowed for the current cartbooleanisRemoveAddressEnabledForCart()Checks if removing an address from the address book is allowed during checkout for the current cartbooleanisTaxEstimationEnabledForCart()Checks if the current store is eligible tax estimationAcceleratorCheckoutFacade.ExpressCheckoutResultperformExpressCheckout()Checks the required conditions and performs the express checkoutvoidsetAcceleratorCheckoutFacade(AcceleratorCheckoutFacade acceleratorCheckoutFacade)-
Methods inherited from class de.hybris.platform.sap.sapcreditcheck.facades.impl.SapCreditCheckB2BCheckoutFacade
getSapCreditCheckService, placeOrder, setSapCreditCheckService
-
Methods inherited from class de.hybris.platform.b2bacceleratorfacades.order.impl.DefaultB2BCheckoutFacade
afterPlaceOrder, authorizePayment, beforePlaceOrder, createCartFromOrder, getAbstractOrderGenericDao, getB2bCommentService, getB2bCostCenterConverter, getB2bCostCenterService, getB2bDaysOfWeekConverter, getB2BOrderService, getB2bPaymentTypeDataConverter, getBaseSiteService, getBaseStoreService, getCommerceCartService, getCommerceCheckoutService, getCommerceQuoteUtils, getDaysOfWeekForReplenishmentCheckoutSummary, getEventService, getI18NService, getPaymentInfoModelForClonedCart, getPaymentTypes, getScheduledCartConverter, getScheduleOrderService, getTriggerPopulator, getTriggerService, initializeReplenishmentPlacedEvent, isValidCheckoutCart, populateTriggerDataFromPlaceOrderData, resetQuoteRelatedFields, scheduleOrder, setAbstractOrderGenericDao, setB2bCommentService, setB2bCostCenterConverter, setB2bCostCenterService, setB2bDaysOfWeekConverter, setB2BOrderService, setB2bPaymentTypeDataConverter, setBaseSiteService, setBaseStoreService, setCommerceCartService, setCommerceCheckoutService, setCommerceQuoteUtils, setCostCenterForCart, setCostCenterForCart, setDeliveryAddressForCart, setEventService, setI18NService, setPaymentTypeForCart, setScheduledCartConverter, setScheduleOrderService, setTriggerPopulator, setTriggerService, updateCheckoutCart
-
Methods inherited from class de.hybris.platform.b2bacceleratorfacades.order.impl.DefaultCheckoutFacade
getAbstractOrderForCode, getActiveVisibleCostCenters, getPaymentTypesForCheckoutSummary, getVisibleCostCenters, setDefaultPaymentTypeForCheckout, setPaymentTypeSelectedForCheckout, setPurchaseOrderNumber, setQuoteRequestDescription, validateSessionCart
-
Methods inherited from class de.hybris.platform.commercefacades.order.impl.DefaultCheckoutFacade
checkIfCurrentUserIsTheCartUser, containsTaxValues, convert, createCommerceCheckoutParameter, createDeliveryAddressModel, createPaymentSubscription, getAddressConverter, getAddressDataForId, getAddressReversePopulator, getBillingCountries, getCardTypeConverter, getCart, getCartFacade, getCartService, getCheckoutCart, getCheckoutCustomerStrategy, getCommerceCardTypeService, 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, placeOrder, prepareCartForCheckout, removeDeliveryAddress, removeDeliveryMode, setAddressConverter, setAddressReversePopulator, setCardTypeConverter, setCartFacade, setCartService, setCheapestDeliveryModeForCheckout, setCheckoutCustomerStrategy, setCommerceCardTypeService, 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.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
public java.lang.String getCheckoutFlowGroupForCheckout()
Description copied from interface:AcceleratorCheckoutFacadeGets the checkout flow group- Specified by:
getCheckoutFlowGroupForCheckoutin interfaceAcceleratorCheckoutFacade- Returns:
- the checkout flow group value
-
getConsolidatedPickupOptions
public java.util.List<PointOfServiceData> getConsolidatedPickupOptions()
Description copied from interface:AcceleratorCheckoutFacadeGets the points of service for item pickup- Specified by:
getConsolidatedPickupOptionsin interfaceAcceleratorCheckoutFacade- Returns:
- a
ListofPointOfServiceData
-
consolidateCheckoutCart
public java.util.List<CartModificationData> consolidateCheckoutCart(java.lang.String pickupPointOfServiceName) throws CommerceCartModificationException
Description copied from interface:AcceleratorCheckoutFacadeRuns calculation again and updates cart- Specified by:
consolidateCheckoutCartin interfaceAcceleratorCheckoutFacade- Parameters:
pickupPointOfServiceName- the point of service name- Returns:
- a
ListofCartModificationDatacontaining each unsuccessful cart modification - Throws:
CommerceCartModificationException- when the cart could not be modified
-
isExpressCheckoutAllowedForCart
public boolean isExpressCheckoutAllowedForCart()
Description copied from interface:AcceleratorCheckoutFacadeChecks if the current cart is allow to go through express checkout- Specified by:
isExpressCheckoutAllowedForCartin interfaceAcceleratorCheckoutFacade- Returns:
- true if express checkout is allowed for cart
-
isExpressCheckoutEnabledForStore
public boolean isExpressCheckoutEnabledForStore()
Description copied from interface:AcceleratorCheckoutFacadeChecks if the current store is eligible for express checkout option- Specified by:
isExpressCheckoutEnabledForStorein interfaceAcceleratorCheckoutFacade- Returns:
- true if checkout if express checkout of available for store
-
isTaxEstimationEnabledForCart
public boolean isTaxEstimationEnabledForCart()
Description copied from interface:AcceleratorCheckoutFacadeChecks if the current store is eligible tax estimation- Specified by:
isTaxEstimationEnabledForCartin interfaceAcceleratorCheckoutFacade- Returns:
- true if tax estimation enabled for store
-
isNewAddressEnabledForCart
public boolean isNewAddressEnabledForCart()
Description copied from interface:AcceleratorCheckoutFacadeChecks if creating a new delivery address is allowed for the current cart- Specified by:
isNewAddressEnabledForCartin interfaceAcceleratorCheckoutFacade- Returns:
- true if creating a new delivery address is allowed for the cart
-
isRemoveAddressEnabledForCart
public boolean isRemoveAddressEnabledForCart()
Description copied from interface:AcceleratorCheckoutFacadeChecks if removing an address from the address book is allowed during checkout for the current cart- Specified by:
isRemoveAddressEnabledForCartin interfaceAcceleratorCheckoutFacade- Returns:
- true if removing an address is allowed for the cart
-
performExpressCheckout
public AcceleratorCheckoutFacade.ExpressCheckoutResult performExpressCheckout()
Description copied from interface:AcceleratorCheckoutFacadeChecks the required conditions and performs the express checkout- Specified by:
performExpressCheckoutin interfaceAcceleratorCheckoutFacade- Returns:
- the result of the operation
-
hasValidCart
public boolean hasValidCart()
Description copied from interface:AcceleratorCheckoutFacadeChecks if there is a valid cart for checkout- Specified by:
hasValidCartin interfaceAcceleratorCheckoutFacade- Returns:
- if there is a valid cart
-
hasNoDeliveryAddress
public boolean hasNoDeliveryAddress()
Description copied from interface:AcceleratorCheckoutFacadeChecks if there is no delivery address- Specified by:
hasNoDeliveryAddressin interfaceAcceleratorCheckoutFacade- Returns:
- true if there is no delivery address
-
hasNoDeliveryMode
public boolean hasNoDeliveryMode()
Description copied from interface:AcceleratorCheckoutFacadeChecks if there is no delivery mode- Specified by:
hasNoDeliveryModein interfaceAcceleratorCheckoutFacade- Returns:
- true if there is no delivery mode
-
hasNoPaymentInfo
public boolean hasNoPaymentInfo()
Description copied from interface:AcceleratorCheckoutFacadeChecks if there is no payment info- Specified by:
hasNoPaymentInfoin interfaceAcceleratorCheckoutFacade- Returns:
- true if there is no payment info
-
getAcceleratorCheckoutFacade
protected AcceleratorCheckoutFacade getAcceleratorCheckoutFacade()
-
setAcceleratorCheckoutFacade
public void setAcceleratorCheckoutFacade(AcceleratorCheckoutFacade acceleratorCheckoutFacade)
-
isAccountPayment
protected boolean isAccountPayment()
-
-