Class DefaultCheckoutFacade
java.lang.Object
de.hybris.platform.commercefacades.order.impl.DefaultCheckoutFacade
de.hybris.platform.b2bacceleratorfacades.order.impl.DefaultCheckoutFacade
- All Implemented Interfaces:
B2BCheckoutFacade,CheckoutFacade
- Direct Known Subclasses:
DefaultB2BCheckoutFacade
@Deprecated(since="5.5",
forRemoval=true)
public class DefaultCheckoutFacade
extends DefaultCheckoutFacade
implements B2BCheckoutFacade
Deprecated, for removal: This API element is subject to removal in a future version.
Since 5.5.
A default implementation of a checkout facade for a b2b accelerator store.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbeforePlaceOrder(CartModel cartModel) Deprecated, for removal: This API element is subject to removal in a future version.voidcreateCartFromOrder(String orderCode) Deprecated, for removal: This API element is subject to removal in a future version.CreatesCartModelbased on an order removes the current session carts and sets the new cart into the session.protected <T extends AbstractOrderModel>
TDeprecated, for removal: This API element is subject to removal in a future version.protected GenericDao<AbstractOrderModel>Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets all visible active cost centers for the currently logged-inB2BCustomerModelbased on his parent B2Unitprotected B2BCommentService<AbstractOrderModel>Deprecated, for removal: This API element is subject to removal in a future version.protected Converter<B2BCostCenterModel,B2BCostCenterData> Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.protected Converter<DayOfWeek,B2BDaysOfWeekData> Deprecated, for removal: This API element is subject to removal in a future version.protected B2BOrderServiceDeprecated, for removal: This API element is subject to removal in a future version.protected Converter<CheckoutPaymentType,B2BPaymentTypeData> Deprecated, for removal: This API element is subject to removal in a future version.protected BaseSiteServiceDeprecated, for removal: This API element is subject to removal in a future version.protected BaseStoreServiceDeprecated, for removal: This API element is subject to removal in a future version.protected <T extends B2BCommerceCartService>
TDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Call the Enum service to fetch the list of days in a week using DayOfWeek enumprotected EventServiceDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets the list of possible PaymentTypes for user selection in checkout summaryprotected Converter<CartToOrderCronJobModel,ScheduledCartData> Deprecated, for removal: This API element is subject to removal in a future version.protected ScheduleOrderServiceDeprecated, for removal: This API element is subject to removal in a future version.protected Populator<TriggerData,TriggerModel> Deprecated, for removal: This API element is subject to removal in a future version.protected TriggerServiceDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets all visible cost centers for the currently logged-inB2BCustomerModelbased on his parent B2Unitprotected ReplenishmentOrderPlacedEventinitializeReplenishmentPlacedEvent(CartToOrderCronJobModel scheduledCart) Deprecated, for removal: This API element is subject to removal in a future version.scheduleOrder(TriggerData trigger) Deprecated, for removal: This API element is subject to removal in a future version.Places the cart that's in the session as a scheduled order scheduled by the Trigger parametervoidsetAbstractOrderGenericDao(GenericDao<AbstractOrderModel> abstractOrderGenericDao) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2bCommentService(B2BCommentService<AbstractOrderModel> b2bCommentService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2bCostCenterConverter(Converter<B2BCostCenterModel, B2BCostCenterData> b2bCostCenterConverter) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2bCostCenterService(B2BCostCenterService<B2BCostCenterModel, B2BCustomerModel> b2bCostCenterService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2bDaysOfWeekConverter(Converter<DayOfWeek, B2BDaysOfWeekData> b2bDaysOfWeekConverter) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2BOrderService(B2BOrderService b2BOrderService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2bPaymentTypeDataConverter(Converter<CheckoutPaymentType, B2BPaymentTypeData> b2bPaymentTypeDataConverter) Deprecated, for removal: This API element is subject to removal in a future version.voidsetBaseSiteService(BaseSiteService baseSiteService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetBaseStoreService(BaseStoreService service) Deprecated, for removal: This API element is subject to removal in a future version.<T extends B2BCommerceCartService>
voidsetCommerceCartService(T _commerceCartService) Deprecated, for removal: This API element is subject to removal in a future version.<T extends AbstractOrderData>
TsetCostCenterForCart(String costCenterCode, String orderCode) Deprecated, for removal: This API element is subject to removal in a future version.Sets the cost center on all the entries of the ordervoidDeprecated, for removal: This API element is subject to removal in a future version.Sets the default payment type as Account for B2B accelerator store.voidsetEventService(EventService eventService) Deprecated, for removal: This API element is subject to removal in a future version.booleansetPaymentTypeSelectedForCheckout(String paymentType) Deprecated, for removal: This API element is subject to removal in a future version.Update the cartModel with PaymentTypeSelected by the userbooleansetPurchaseOrderNumber(String purchaseOrderNumber) Deprecated, for removal: This API element is subject to removal in a future version.Sets the purchase order number to the cartModelbooleansetQuoteRequestDescription(String quoteRequestDescription) Deprecated, for removal: This API element is subject to removal in a future version.Adds a quote request text to theCartModelvoidsetScheduledCartConverter(Converter<CartToOrderCronJobModel, ScheduledCartData> scheduledCartConverter) Deprecated, for removal: This API element is subject to removal in a future version.voidsetScheduleOrderService(ScheduleOrderService scheduleOrderService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetTriggerPopulator(Populator<TriggerData, TriggerModel> triggerPopulator) Deprecated, for removal: This API element is subject to removal in a future version.voidsetTriggerService(TriggerService triggerService) Deprecated, for removal: This API element is subject to removal in a future version.List<? extends CommerceCartModification>Deprecated, for removal: This API element is subject to removal in a future version.Checks the cart for stock availability Note: will remove entries which are no longer available or are completely out of stock, for partial stack availability quantity of the entry will be updated.Methods inherited from class de.hybris.platform.commercefacades.order.impl.DefaultCheckoutFacade
afterPlaceOrder, authorizePayment, checkIfCurrentUserIsTheCartUser, containsTaxValues, convert, createCommerceCheckoutParameter, createDeliveryAddressModel, createPaymentSubscription, getAddressConverter, getAddressDataForId, getAddressReversePopulator, 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, placeOrder, prepareCartForCheckout, removeDeliveryAddress, removeDeliveryMode, setAddressConverter, setAddressReversePopulator, 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, setZoneDeliveryModeConverterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
DefaultCheckoutFacade
public DefaultCheckoutFacade()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getVisibleCostCenters
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeGets all visible cost centers for the currently logged-inB2BCustomerModelbased on his parent B2Unit- Specified by:
getVisibleCostCentersin interfaceB2BCheckoutFacade- Returns:
- A collection of
B2BCostCenterData
-
getActiveVisibleCostCenters
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeGets all visible active cost centers for the currently logged-inB2BCustomerModelbased on his parent B2Unit- Specified by:
getActiveVisibleCostCentersin interfaceB2BCheckoutFacade- Returns:
- A collection of
B2BCostCenterData
-
setCostCenterForCart
public <T extends AbstractOrderData> T setCostCenterForCart(String costCenterCode, String orderCode) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeSets the cost center on all the entries of the order- Specified by:
setCostCenterForCartin interfaceB2BCheckoutFacade- Parameters:
costCenterCode- A unique identifier of a cost center, If null all entries of the order will be set with a null cost centerorderCode- A unique identifier of an Order or Cart.- Returns:
- Order data
-
getPaymentTypesForCheckoutSummary
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeGets the list of possible PaymentTypes for user selection in checkout summary- Specified by:
getPaymentTypesForCheckoutSummaryin interfaceB2BCheckoutFacade- Returns:
- B2BPaymentTypeEnum
-
getDaysOfWeekForReplenishmentCheckoutSummary
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeCall the Enum service to fetch the list of days in a week using DayOfWeek enum- Specified by:
getDaysOfWeekForReplenishmentCheckoutSummaryin interfaceB2BCheckoutFacade- Returns:
- List of days in a week
-
setPaymentTypeSelectedForCheckout
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeUpdate the cartModel with PaymentTypeSelected by the user- Specified by:
setPaymentTypeSelectedForCheckoutin interfaceB2BCheckoutFacade- Returns:
- boolean
-
setDefaultPaymentTypeForCheckout
public void setDefaultPaymentTypeForCheckout()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeSets the default payment type as Account for B2B accelerator store. Gets theCartModelobject and sets the payment type to ACCOUNT- Specified by:
setDefaultPaymentTypeForCheckoutin interfaceB2BCheckoutFacade
-
setPurchaseOrderNumber
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeSets the purchase order number to the cartModel- Specified by:
setPurchaseOrderNumberin interfaceB2BCheckoutFacade- Parameters:
purchaseOrderNumber- The PO number of the order.- Returns:
- boolean
-
setQuoteRequestDescription
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeAdds a quote request text to theCartModel- Specified by:
setQuoteRequestDescriptionin interfaceB2BCheckoutFacade- Parameters:
quoteRequestDescription- The text describing reasons for requesting a quote on this order.- Returns:
- True if the data got added to the cart successfully else false.
-
getAbstractOrderForCode
Deprecated, for removal: This API element is subject to removal in a future version. -
beforePlaceOrder
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
beforePlaceOrderin classDefaultCheckoutFacade
-
scheduleOrder
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadePlaces the cart that's in the session as a scheduled order scheduled by the Trigger parameter- Specified by:
scheduleOrderin interfaceB2BCheckoutFacade- Returns:
- ScheduledCartData created
-
createCartFromOrder
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeCreatesCartModelbased on an order removes the current session carts and sets the new cart into the session.- Specified by:
createCartFromOrderin interfaceB2BCheckoutFacade- Parameters:
orderCode- The unique identifier for an order
-
initializeReplenishmentPlacedEvent
protected ReplenishmentOrderPlacedEvent initializeReplenishmentPlacedEvent(CartToOrderCronJobModel scheduledCart) Deprecated, for removal: This API element is subject to removal in a future version. -
validateSessionCart
public List<? extends CommerceCartModification> validateSessionCart() throws CommerceCartModificationExceptionDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCheckoutFacadeChecks the cart for stock availability Note: will remove entries which are no longer available or are completely out of stock, for partial stack availability quantity of the entry will be updated.- Specified by:
validateSessionCartin interfaceB2BCheckoutFacade- Returns:
- A list of cart modifications
- Throws:
CommerceCartModificationException
-
getB2bCostCenterService
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bCostCenterService
public void setB2bCostCenterService(B2BCostCenterService<B2BCostCenterModel, B2BCustomerModel> b2bCostCenterService) Deprecated, for removal: This API element is subject to removal in a future version. -
getB2bCostCenterConverter
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bCostCenterConverter
public void setB2bCostCenterConverter(Converter<B2BCostCenterModel, B2BCostCenterData> b2bCostCenterConverter) Deprecated, for removal: This API element is subject to removal in a future version. -
getB2BOrderService
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2BOrderService
Deprecated, for removal: This API element is subject to removal in a future version. -
getAbstractOrderGenericDao
Deprecated, for removal: This API element is subject to removal in a future version. -
setAbstractOrderGenericDao
Deprecated, for removal: This API element is subject to removal in a future version. -
getB2bPaymentTypeDataConverter
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bPaymentTypeDataConverter
public void setB2bPaymentTypeDataConverter(Converter<CheckoutPaymentType, B2BPaymentTypeData> b2bPaymentTypeDataConverter) Deprecated, for removal: This API element is subject to removal in a future version. -
getB2bCommentService
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bCommentService
Deprecated, for removal: This API element is subject to removal in a future version. -
getB2bDaysOfWeekConverter
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bDaysOfWeekConverter
public void setB2bDaysOfWeekConverter(Converter<DayOfWeek, B2BDaysOfWeekData> b2bDaysOfWeekConverter) Deprecated, for removal: This API element is subject to removal in a future version. -
getTriggerPopulator
Deprecated, for removal: This API element is subject to removal in a future version. -
setTriggerPopulator
Deprecated, for removal: This API element is subject to removal in a future version. -
getScheduleOrderService
Deprecated, for removal: This API element is subject to removal in a future version. -
setScheduleOrderService
Deprecated, for removal: This API element is subject to removal in a future version. -
getScheduledCartConverter
Deprecated, for removal: This API element is subject to removal in a future version. -
setScheduledCartConverter
public void setScheduledCartConverter(Converter<CartToOrderCronJobModel, ScheduledCartData> scheduledCartConverter) Deprecated, for removal: This API element is subject to removal in a future version. -
getBaseSiteService
Deprecated, for removal: This API element is subject to removal in a future version. -
setBaseSiteService
Deprecated, for removal: This API element is subject to removal in a future version. -
getBaseStoreService
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getBaseStoreServicein classDefaultCheckoutFacade
-
setBaseStoreService
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setBaseStoreServicein classDefaultCheckoutFacade
-
getEventService
Deprecated, for removal: This API element is subject to removal in a future version. -
setEventService
Deprecated, for removal: This API element is subject to removal in a future version. -
getCommerceCartService
Deprecated, for removal: This API element is subject to removal in a future version. -
setCommerceCartService
Deprecated, for removal: This API element is subject to removal in a future version. -
getTriggerService
Deprecated, for removal: This API element is subject to removal in a future version. -
setTriggerService
Deprecated, for removal: This API element is subject to removal in a future version.
-