Uses of Interface
org.broadleafcommerce.core.order.domain.Order
Packages that use Order
Package
Description
-
Uses of Order in org.broadleafcommerce.core.checkout.service
Methods in org.broadleafcommerce.core.checkout.service with parameters of type OrderModifier and TypeMethodDescriptionprotected booleanCheckoutServiceImpl.hasOrderBeenCompleted(Order order) Checks if the order has already been gone through the checkout workflow.CheckoutService.performCheckout(Order order) Checks out an order by executing the blCheckoutWorkflow.CheckoutServiceImpl.performCheckout(Order order) -
Uses of Order in org.broadleafcommerce.core.checkout.service.strategy
Methods in org.broadleafcommerce.core.checkout.service.strategy with parameters of type OrderModifier and TypeMethodDescriptionprotected booleanOrderPaymentConfirmationStrategyImpl.orderContainsMultipleFinalPayments(Order order) determine whether or not this order contains multiple final payments. -
Uses of Order in org.broadleafcommerce.core.checkout.service.workflow
Fields in org.broadleafcommerce.core.checkout.service.workflow declared as OrderMethods in org.broadleafcommerce.core.checkout.service.workflow that return OrderMethods in org.broadleafcommerce.core.checkout.service.workflow with parameters of type OrderModifier and TypeMethodDescriptionprotected StringCompleteOrderActivity.determineOrderNumber(Order order) protected DateCompleteOrderActivity.determineSubmitDate(Order order) protected List<DiscreteOrderItem>ValidateProductOptionsActivity.getOrderItems(Order order) voidConstructors in org.broadleafcommerce.core.checkout.service.workflow with parameters of type Order -
Uses of Order in org.broadleafcommerce.core.inventory.service
Methods in org.broadleafcommerce.core.inventory.service with parameters of type OrderModifier and TypeMethodDescriptionContextualInventoryService.buildSkuInventoryMap(Order order) Convenience method to build the sku inventory map given anOrderInventoryServiceImpl.buildSkuInventoryMap(Order order) voidContextualInventoryService.checkSkuAvailability(Order order, Sku sku, Integer requestedQuantity) voidInventoryServiceImpl.checkSkuAvailability(Order order, Sku sku, Integer requestedQuantity) -
Uses of Order in org.broadleafcommerce.core.offer.dao
Methods in org.broadleafcommerce.core.offer.dao with parameters of type OrderModifier and TypeMethodDescriptionOfferAuditDao.countOfferCodeUses(Order order, Long offerCodeId) Counts how many times the given offer code has been used in the system.OfferAuditDaoImpl.countOfferCodeUses(Order order, Long offerCodeId) OfferAuditDao.countUsesByAccount(Order order, Long accountId, Long offerId) Counts how many times the an offer has been used by an account.OfferAuditDao.countUsesByAccount(Order order, Long accountId, Long offerId, Long minimumDaysPerUsage) Counts how many times the an offer has been used by an account (within the number of passed in days if provided).OfferAuditDaoImpl.countUsesByAccount(Order order, Long accountId, Long offerId) OfferAuditDaoImpl.countUsesByAccount(Order order, Long accountId, Long offerId, Long minimumDaysPerUsage) protected LongOfferAuditDaoImpl.countUsesByAccountOrCustomer(Order order, Long customerId, Long accountId, Long offerId, Long minimumDaysPerUsage) OfferAuditDao.countUsesByCustomer(Order order, Long customerId, Long offerId) Counts how many times the an offer has been used by a customer.OfferAuditDao.countUsesByCustomer(Order order, Long customerId, Long offerId, Long minimumDaysPerUsage) Counts how many times the an offer has been used by a customer (within the number of passed in days if provided).OfferAuditDaoImpl.countUsesByCustomer(Order order, Long customerId, Long offerId) OfferAuditDaoImpl.countUsesByCustomer(Order order, Long customerId, Long offerId, Long minimumDaysPerUsage) protected LongOfferAuditDaoImpl.getOrderId(Order order) -
Uses of Order in org.broadleafcommerce.core.offer.domain
Fields in org.broadleafcommerce.core.offer.domain declared as OrderModifier and TypeFieldDescriptionprotected OrderCandidateOrderOfferImpl.orderprotected OrderOrderAdjustmentImpl.orderFields in org.broadleafcommerce.core.offer.domain with type parameters of type OrderMethods in org.broadleafcommerce.core.offer.domain that return OrderModifier and TypeMethodDescriptionCandidateOrderOffer.getOrder()CandidateOrderOfferImpl.getOrder()OrderAdjustment.getOrder()OrderAdjustmentImpl.getOrder()Methods in org.broadleafcommerce.core.offer.domain that return types with arguments of type OrderMethods in org.broadleafcommerce.core.offer.domain with parameters of type OrderModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidMethod parameters in org.broadleafcommerce.core.offer.domain with type arguments of type Order -
Uses of Order in org.broadleafcommerce.core.offer.service
Methods in org.broadleafcommerce.core.offer.service that return OrderModifier and TypeMethodDescriptionOfferService.applyAndSaveFulfillmentGroupOffersToOrder(List<Offer> offers, Order order) OfferServiceImpl.applyAndSaveFulfillmentGroupOffersToOrder(List<Offer> offers, Order order) OfferService.applyAndSaveOffersToOrder(List<Offer> offers, Order order) Apply offers to order.OfferServiceImpl.applyAndSaveOffersToOrder(List<Offer> offers, Order order) Methods in org.broadleafcommerce.core.offer.service with parameters of type OrderModifier and TypeMethodDescriptionAbstractOfferServiceExtensionHandler.applyAdditionalFilters(List<Offer> offers, Order order) OfferServiceExtensionHandler.applyAdditionalFilters(List<Offer> offers, Order order) OfferServiceExtensionManager.applyAdditionalFilters(List<Offer> offers, Order order) OfferService.applyAndSaveFulfillmentGroupOffersToOrder(List<Offer> offers, Order order) OfferServiceImpl.applyAndSaveFulfillmentGroupOffersToOrder(List<Offer> offers, Order order) OfferService.applyAndSaveOffersToOrder(List<Offer> offers, Order order) Apply offers to order.OfferServiceImpl.applyAndSaveOffersToOrder(List<Offer> offers, Order order) voidOfferService.applyFulfillmentGroupOffersToOrder(List<Offer> offers, Order order) Deprecated.voidOfferServiceImpl.applyFulfillmentGroupOffersToOrder(List<Offer> offers, Order order) Deprecated.voidOfferService.applyOffersToOrder(List<Offer> offers, Order order) Deprecated.voidOfferServiceImpl.applyOffersToOrder(List<Offer> offers, Order order) Deprecated.OfferService.buildOfferCodeListForCustomer(Order order) Attempts to resolve a list of offer codes associated explicitly with the customer.OfferServiceImpl.buildOfferCodeListForCustomer(Order order) OfferService.buildOfferListForOrder(Order order) Create a list of offers that applies to this orderOfferServiceImpl.buildOfferListForOrder(Order order) Creates a list of offers that applies to this order.OfferServiceUtilities.buildOrderItemList(Order order) Builds the list of order-items at the level they are being priced which includes splitting bundles that are being priced at the item level.OfferServiceUtilitiesImpl.buildOrderItemList(Order order) OfferAuditService.countOfferCodeUses(Order order, Long offerCodeId) Counts how many times the given offer code has been used in the system.OfferAuditServiceImpl.countOfferCodeUses(Order order, Long offerCodeId) OfferAuditService.countUsesByAccount(Order order, Long accountId, Long offerId, Long minimumDaysPerUsage) Counts how many times the an offer has been used by an account This method will take into account if the Offer has already been applied to the Order so as not to prevent the Offer from applying to new items added to the Order by a CRS.OfferAuditServiceImpl.countUsesByAccount(Order order, Long accountId, Long offerId, Long minimumDaysPerUsage) OfferAuditService.countUsesByCustomer(Order order, Long customerId, Long offerId) Counts how many times the an offer has been used by a customer.OfferAuditService.countUsesByCustomer(Order order, Long customerId, Long offerId, Long minimumDaysPerUsage) Counts how many times the an offer has been used by a customer (within the passed in number of days if provided).OfferAuditServiceImpl.countUsesByCustomer(Order order, Long customerId, Long offerId) OfferAuditServiceImpl.countUsesByCustomer(Order order, Long customerId, Long offerId, Long minimumDaysPerUsage) OfferService.getOffersRetrievedFromCodes(Order order) OfferServiceImpl.getOffersRetrievedFromCodes(Order order) OfferService.getUniqueOffersFromOrder(Order order) Returns a set of offers that have been used for this order by checking adjustments on the different levels like FulfillmentGroups and OrderItems.OfferServiceImpl.getUniqueOffersFromOrder(Order order) AbstractOfferValueModifierExtensionHandler.modifyOfferValues(List<Offer> offers, Order order) OfferValueModifierExtensionHandler.modifyOfferValues(List<Offer> offers, Order order) OfferServiceImpl.refreshOfferCodesIfApplicable(Order order) For enterprise installations, this will refresh any OfferCodes found to be out-of-date with current sandbox status.AbstractOfferServiceExtensionHandler.removeOfferCodeFromOrder(OfferCode offerCode, Order order) OfferServiceExtensionHandler.removeOfferCodeFromOrder(OfferCode offerCode, Order order) OfferServiceExtensionManager.removeOfferCodeFromOrder(OfferCode offerCode, Order order) voidShippingOfferService.reviewOffers(Order order) voidShippingOfferServiceImpl.reviewOffers(Order order) protected booleanOfferServiceImpl.verifyAdjustments(Order order, boolean beforeSave) booleanOfferService.verifyMaxCustomerUsageThreshold(Order order, Offer offer) Validates that the Customer to whom an Order belongs has not exceeded the max uses for the passed in offer.booleanOfferService.verifyMaxCustomerUsageThreshold(Order order, OfferCode code) Validates that the given OfferCode has not reached its maximum number of usages.booleanOfferServiceImpl.verifyMaxCustomerUsageThreshold(Order order, Offer offer) booleanOfferServiceImpl.verifyMaxCustomerUsageThreshold(Order order, OfferCode code) -
Uses of Order in org.broadleafcommerce.core.offer.service.discount.domain
Fields in org.broadleafcommerce.core.offer.service.discount.domain declared as OrderMethods in org.broadleafcommerce.core.offer.service.discount.domain that return OrderModifier and TypeMethodDescriptionPromotableOrder.getOrder()Returns the associated order.PromotableOrderImpl.getOrder()Methods in org.broadleafcommerce.core.offer.service.discount.domain with parameters of type OrderModifier and TypeMethodDescriptionPromotableItemFactory.createPromotableOrder(Order order, boolean includeOrderAndItemAdjustments) PromotableItemFactoryImpl.createPromotableOrder(Order order, boolean includeOrderAndItemAdjustments) Constructors in org.broadleafcommerce.core.offer.service.discount.domain with parameters of type OrderModifierConstructorDescriptionPromotableOrderImpl(Order order, PromotableItemFactory itemFactory, boolean includeOrderAndItemAdjustments) -
Uses of Order in org.broadleafcommerce.core.offer.service.workflow
Methods in org.broadleafcommerce.core.offer.service.workflow with parameters of type OrderModifier and TypeMethodDescriptionprotected List<OfferAudit>RecordOfferUsageActivity.saveOfferIds(Set<Offer> offers, Map<Offer, OfferCode> offerToCodeMapping, Order order) Persists each of the offers to the database asOfferAudits. -
Uses of Order in org.broadleafcommerce.core.order.dao
Methods in org.broadleafcommerce.core.order.dao that return OrderModifier and TypeMethodDescriptionOrderDao.create()OrderDaoImpl.create()OrderDao.createNewCartForCustomer(Customer customer) OrderDaoImpl.createNewCartForCustomer(Customer customer) OrderDao.readCartForCustomer(Customer customer) OrderDaoImpl.readCartForCustomer(Customer customer) OrderDao.readNamedOrderForCustomer(Customer customer, String name) OrderDaoImpl.readNamedOrderForCustomer(Customer customer, String name) OrderDao.readOrderByExternalId(String orderExternalId) OrderDaoImpl.readOrderByExternalId(String orderExternalId) OrderDao.readOrderById(Long orderId) OrderDao.readOrderById(Long orderId, boolean refresh) OrderDaoImpl.readOrderById(Long orderId) OrderDaoImpl.readOrderById(Long orderId, boolean refresh) OrderDao.readOrderByIdIgnoreCache(Long orderId) OrderDaoImpl.readOrderByIdIgnoreCache(Long orderId) OrderDao.readOrderByOrderNumber(String orderNumber) OrderDaoImpl.readOrderByOrderNumber(String orderNumber) OrderDao.submitOrder(Order cartOrder) OrderDaoImpl.submitOrder(Order cartOrder) OrderDao.updatePrices(Order order) OrderDaoImpl.updatePrices(Order order) Methods in org.broadleafcommerce.core.order.dao that return types with arguments of type OrderModifier and TypeMethodDescriptionOrderDao.readBatchOrders(int start, int pageSize, List<OrderStatus> statuses) Reads a batch list of orders from the DB.OrderDaoImpl.readBatchOrders(int start, int pageSize, List<OrderStatus> statuses) OrderDao.readBatchOrdersFromLastID(Long lastID, int pageSize, List<OrderStatus> statuses) Reads a batch list of orders from the DB starting at the ID passed in.OrderDaoImpl.readBatchOrdersFromLastID(Long lastID, int pageSize, List<OrderStatus> statuses) OrderDao.readOrdersByDateRange(Date startDate, Date endDate) OrderDaoImpl.readOrdersByDateRange(Date startDate, Date endDate) OrderDao.readOrdersByEmail(String email) OrderDaoImpl.readOrdersByEmail(String email) OrderDao.readOrdersByIds(List<Long> orderIds) OrderDaoImpl.readOrdersByIds(List<Long> orderIds) OrderDao.readOrdersForCustomer(Long id) OrderDao.readOrdersForCustomer(Customer customer, OrderStatus orderStatus) OrderDaoImpl.readOrdersForCustomer(Long customerId) OrderDaoImpl.readOrdersForCustomer(Customer customer, OrderStatus orderStatus) OrderDao.readOrdersForCustomersInDateRange(List<Long> customerIds, Date startDate, Date endDate) OrderDaoImpl.readOrdersForCustomersInDateRange(List<Long> customerIds, Date startDate, Date endDate) OrderDao.readOrdersOlderThanDaysCount(Integer daysCount, Integer batchSize) OrderDaoImpl.readOrdersOlderThanDaysCount(Integer daysCount, Integer batchSize) Methods in org.broadleafcommerce.core.order.dao with parameters of type OrderModifier and TypeMethodDescriptionbooleanOrderDao.acquireLock(Order order) This method will attempt to update theOrderLockobject table for the given order to mark it as locked, provided the OrderLock record for the given order was not already locked.booleanOrderDaoImpl.acquireLock(Order order) AbstractOrderDaoExtensionHandler.attachAdditionalDataToNewCart(Customer customer, Order cart) OrderDaoExtensionHandler.attachAdditionalDataToNewCart(Customer customer, Order cart) voidvoidAbstractOrderDaoExtensionHandler.processPostSaveNewCart(Customer customer, Order cart) OrderDaoExtensionHandler.processPostSaveNewCart(Customer customer, Order cart) FulfillmentGroupDao.readDefaultFulfillmentGroupForOrder(Order order) FulfillmentGroupDaoImpl.readDefaultFulfillmentGroupForOrder(Order order) FulfillmentGroupDao.readNextFulfillmentGroupSequnceForOrder(Order order) Reads the max sequnce of fulfillment groups for a particular order and increments by 1.FulfillmentGroupDaoImpl.readNextFulfillmentGroupSequnceForOrder(Order order) voidvoidbooleanOrderDao.releaseLock(Order order) Releases the lock for the given order.booleanOrderDaoImpl.releaseLock(Order order) OrderDao.submitOrder(Order cartOrder) OrderDaoImpl.submitOrder(Order cartOrder) OrderDao.updatePrices(Order order) OrderDaoImpl.updatePrices(Order order) Method parameters in org.broadleafcommerce.core.order.dao with type arguments of type OrderModifier and TypeMethodDescriptionAbstractOrderDaoExtensionHandler.applyAdditionalOrderLookupFilter(Customer customer, String name, List<Order> orders) OrderDaoExtensionHandler.applyAdditionalOrderLookupFilter(Customer customer, String name, List<Order> orders) -
Uses of Order in org.broadleafcommerce.core.order.domain
Classes in org.broadleafcommerce.core.order.domain that implement OrderModifier and TypeClassDescriptionclassNullOrderImpl is a class that represents an unmodifiable, empty order.classFields in org.broadleafcommerce.core.order.domain declared as OrderModifier and TypeFieldDescriptionprotected static final OrderNullOrderFactoryImpl.NULL_ORDERprotected OrderFulfillmentGroupImpl.orderprotected OrderOrderAttributeImpl.orderprotected OrderOrderItemImpl.orderprotected OrderOrderMultishipOptionImpl.orderMethods in org.broadleafcommerce.core.order.domain with type parameters of type OrderModifier and TypeMethodDescription<G extends Order>
CreateResponse<G>NullOrderImpl.createOrRetrieveCopyInstance(MultiTenantCopyContext context) <G extends Order>
CreateResponse<G>OrderImpl.createOrRetrieveCopyInstance(MultiTenantCopyContext context) Methods in org.broadleafcommerce.core.order.domain that return OrderModifier and TypeMethodDescriptionNullOrderFactory.getNullOrder()NullOrderFactoryImpl.getNullOrder()DiscreteOrderItemImpl.getOrder()FulfillmentGroup.getOrder()FulfillmentGroupImpl.getOrder()OrderAttribute.getOrder()Gets the associated order.OrderAttributeImpl.getOrder()OrderItem.getOrder()Reference back to the containing order.OrderItemImpl.getOrder()OrderMultishipOption.getOrder()Returns the Order associated with this OrderMultishipOptionOrderMultishipOptionImpl.getOrder()OrderPersistedEvent.getOrder()Gets the newly-persistedOrderset by theOrderPersistedEntityListenerMethods in org.broadleafcommerce.core.order.domain with parameters of type OrderModifier and TypeMethodDescriptionvoidvoidvoidvoidSets the order.voidvoidSets the order for this orderItem.voidvoidSets the associated Order with this OrderMultishipOptionvoidConstructors in org.broadleafcommerce.core.order.domain with parameters of type Order -
Uses of Order in org.broadleafcommerce.core.order.event
Methods in org.broadleafcommerce.core.order.event with parameters of type OrderModifier and TypeMethodDescriptionNotificationOrderSubmittedEventListener.createContext(Order order) -
Uses of Order in org.broadleafcommerce.core.order.extension
Methods in org.broadleafcommerce.core.order.extension with parameters of type OrderModifier and TypeMethodDescriptionAbstractPostUpdateOrderExtensionHandler.postUpdate(Order order) PostUpdateOrderExtensionHandler.postUpdate(Order order) Method parameters in org.broadleafcommerce.core.order.extension with type arguments of type OrderModifier and TypeMethodDescriptionAbstractPostUpdateOrderExtensionHandler.postUpdateAll(List<Order> orders) PostUpdateOrderExtensionHandler.postUpdateAll(List<Order> orders) -
Uses of Order in org.broadleafcommerce.core.order.service
Methods in org.broadleafcommerce.core.order.service that return OrderModifier and TypeMethodDescriptionOrderService.addAllItemsFromNamedOrder(Order namedOrder, boolean priceOrder) Adds all orderItems to the current cart from the same Customer that owns the named order.OrderServiceImpl.addAllItemsFromNamedOrder(Order namedOrder, boolean priceOrder) OrderService.addItem(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) Initiates the addItem workflow that will attempt to add the given quantity of the specified item to the Order.OrderServiceImpl.addItem(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) OrderService.addItemFromNamedOrder(Order namedOrder, OrderItem orderItem, boolean priceOrder) Adds the passed in orderItem to the current cart for the same Customer that owns the named order.OrderService.addItemFromNamedOrder(Order namedOrder, OrderItem orderItem, int quantity, boolean priceOrder) This method performs the same function as addItemFromNamedOrder(Order, OrderItem, boolean) except that instead of adding all of the quantity from the named order to the cart, it will only add/move the specific quantity requested.OrderServiceImpl.addItemFromNamedOrder(Order namedOrder, OrderItem item, boolean priceOrder) OrderServiceImpl.addItemFromNamedOrder(Order namedOrder, OrderItem item, int quantity, boolean priceOrder) OrderService.addItemWithPriceOverrides(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) Initiates the addItem workflow that will attempt to add the given quantity of the specified item to the Order.OrderServiceImpl.addItemWithPriceOverrides(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) OrderService.addOfferCode(Order order, OfferCode offerCode, boolean priceOrder) Adds the given OfferCode to the order.OrderServiceImpl.addOfferCode(Order order, OfferCode offerCode, boolean priceOrder) OrderService.addOfferCodes(Order order, List<OfferCode> offerCodes, boolean priceOrder) Adds the given OfferCodes to the order.OrderServiceImpl.addOfferCodes(Order order, List<OfferCode> offerCodes, boolean priceOrder) FulfillmentGroupService.collapseToOneShippableFulfillmentGroup(Order order, boolean priceOrder) Collapses all of the shippable fulfillment groups in the given order to the first shippable fulfillment group in the order.FulfillmentGroupServiceImpl.collapseToOneShippableFulfillmentGroup(Order order, boolean priceOrder) OrderService.confirmOrder(Order order) Changes the OrderStatus to SUBMITTEDOrderServiceImpl.confirmOrder(Order order) OrderService.createNamedOrderForCustomer(String name, Customer customer) Creates a new Order for the given customer with the given name.OrderServiceImpl.createNamedOrderForCustomer(String name, Customer customer) OrderService.createNewCartForCustomer(Customer customer) Creates a new Order for the given customer.OrderServiceImpl.createNewCartForCustomer(Customer customer) OrderService.findCartForCustomer(Customer customer) Looks up the current shopping cart for the customer.OrderServiceImpl.findCartForCustomer(Customer customer) OrderService.findCartForCustomerWithEnhancements(Customer customer) Retrieve an enhanced version of the cart for the customer.OrderService.findCartForCustomerWithEnhancements(Customer customer, Order candidateOrder) For the customer, use the candidateOrder as the source of enhancement for generating an enhanced cart.OrderServiceImpl.findCartForCustomerWithEnhancements(Customer customer) OrderServiceImpl.findCartForCustomerWithEnhancements(Customer customer, Order candidateOrder) OrderService.findNamedOrderForCustomer(String name, Customer customer) Looks up an Order by the given customer and a specified order name.OrderServiceImpl.findNamedOrderForCustomer(String name, Customer customer) OrderService.findOrderById(Long orderId) Looks up an Order by its database idOrderService.findOrderById(Long orderId, boolean refresh) Looks up an Order by its database id and optionally calls refresh to ensure that the entity manager pulls the instance from the DB and not from cacheOrderServiceImpl.findOrderById(Long orderId) OrderServiceImpl.findOrderById(Long orderId, boolean refresh) protected OrderOrderServiceImpl.findOrderByIdOrByOrderItemId(Long orderId, Long orderItemId) OrderService.findOrderByOrderNumber(String orderNumber) Looks up Orders and returns the order matching the given orderNumberOrderServiceImpl.findOrderByOrderNumber(String orderNumber) OrderService.getNullOrder()The null order is the default order for all customers when they initially enter the site.OrderServiceImpl.getNullOrder()protected OrderAbstractCartRuleProcessor.lookupOrderForCustomer(Customer c) FulfillmentGroupService.matchFulfillmentGroupsToMultishipOptions(Order order, boolean priceOrder) Associates shippable FulfillmentGroupItems in the given Order such that they match the structure of the OrderMultishipOptions associated with the given Order.FulfillmentGroupServiceImpl.matchFulfillmentGroupsToMultishipOptions(Order order, boolean priceOrder) protected OrderOrderService.reloadOrder(Order order) Detaches the given order from the current entity manager and then reloads a fresh version from the database.OrderServiceImpl.reloadOrder(Order order) FulfillmentGroupService.removeAllFulfillmentGroupsFromOrder(Order order, boolean priceOrder) FulfillmentGroupServiceImpl.removeAllFulfillmentGroupsFromOrder(Order order, boolean priceOrder) OrderService.removeAllOfferCodes(Order order, boolean priceOrder) Removes all offer codes for the given order.OrderServiceImpl.removeAllOfferCodes(Order order, boolean priceOrder) OrderService.removeInactiveItems(Long orderId, boolean priceOrder) OrderServiceImpl.removeInactiveItems(Long orderId, boolean priceOrder) OrderService.removeItem(Long orderId, Long orderItemId, boolean priceOrder) Initiates the removeItem workflow that will attempt to remove the specified OrderItem from the given OrderOrderServiceImpl.removeItem(Long orderId, Long orderItemId, boolean priceOrder) protected OrderOrderServiceImpl.removeItemInternal(Long orderId, Long orderItemId, boolean priceOrder) OrderService.removeOfferCode(Order order, OfferCode offerCode, boolean priceOrder) Remove the given OfferCode for the order.OrderServiceImpl.removeOfferCode(Order order, OfferCode offerCode, boolean priceOrder) Saves the given order while optionally repricing the order (meaning, going through the pricing workflow) along with updating the prices of individual items in the order, as opposed to just pricing taxes/shipping/etc.Persists the given order to the database.OrderService.updateItemQuantity(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) Initiates the updateItem workflow that will attempt to update the item quantity for the specified OrderItem in the given Order.OrderServiceImpl.updateItemQuantity(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) OrderService.updateProductOptionsForItem(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) Since required product option can be added after the item is in the cart, we use this method to apply product option on an existing item in the cart.OrderServiceImpl.updateProductOptionsForItem(Long orderId, OrderItemRequestDTO orderItemRequestDTO, boolean priceOrder) Methods in org.broadleafcommerce.core.order.service that return types with arguments of type OrderModifier and TypeMethodDescriptionOrderService.findOrdersByDateRange(Date startDate, Date endDate) OrderServiceImpl.findOrdersByDateRange(Date startDate, Date endDate) OrderService.findOrdersByDaysCount(Integer daysCount, Integer batchSize) OrderServiceImpl.findOrdersByDaysCount(Integer daysCount, Integer batchSize) OrderService.findOrdersByEmail(String email) Looks up all Orders for the specified email, regardless of current OrderStatusOrderServiceImpl.findOrdersByEmail(String email) OrderService.findOrdersByIds(List<Long> orderIds) Looks up a list of Orders by their database idsOrderServiceImpl.findOrdersByIds(List<Long> orderIds) OrderService.findOrdersForCustomer(Customer customer) Looks up all Orders for the specified customer, regardless of current OrderStatusOrderService.findOrdersForCustomer(Customer customer, OrderStatus status) Looks up all Orders for the specified customer that are in the specified OrderStatus.OrderServiceImpl.findOrdersForCustomer(Customer customer) OrderServiceImpl.findOrdersForCustomer(Customer customer, OrderStatus status) OrderService.findOrdersForCustomersInDateRange(List<Long> customerIds, Date startDate, Date endDate) OrderServiceImpl.findOrdersForCustomersInDateRange(List<Long> customerIds, Date startDate, Date endDate) OrderService.readBatchOrders(int start, int pageSize, List<OrderStatus> orderStatusList) OrderServiceImpl.readBatchOrders(int start, int pageSize, List<OrderStatus> orderStatusList) Methods in org.broadleafcommerce.core.order.service with parameters of type OrderModifier and TypeMethodDescriptionOrderLockManager.acquireLock(Order order) Blocks the requesting thread until able to acquire a lock for the given order.booleanOrderService.acquireLock(Order order) booleanOrderServiceImpl.acquireLock(Order order) OrderLockManager.acquireLockIfAvailable(Order order) This method differs fromOrderLockManager.acquireLock(Order)in that it will not block if the lock is currently held by a different caller.OrderService.addAllItemsFromNamedOrder(Order namedOrder, boolean priceOrder) Adds all orderItems to the current cart from the same Customer that owns the named order.OrderServiceImpl.addAllItemsFromNamedOrder(Order namedOrder, boolean priceOrder) OrderService.addGiftWrapItemToOrder(Order order, GiftWrapOrderItemRequest itemRequest, boolean priceOrder) Adds a GiftWrapItem to the order based on the itemRequest.OrderServiceImpl.addGiftWrapItemToOrder(Order order, GiftWrapOrderItemRequest itemRequest, boolean priceOrder) OrderService.addItemFromNamedOrder(Order namedOrder, OrderItem orderItem, boolean priceOrder) Adds the passed in orderItem to the current cart for the same Customer that owns the named order.OrderService.addItemFromNamedOrder(Order namedOrder, OrderItem orderItem, int quantity, boolean priceOrder) This method performs the same function as addItemFromNamedOrder(Order, OrderItem, boolean) except that instead of adding all of the quantity from the named order to the cart, it will only add/move the specific quantity requested.OrderServiceImpl.addItemFromNamedOrder(Order namedOrder, OrderItem item, boolean priceOrder) OrderServiceImpl.addItemFromNamedOrder(Order namedOrder, OrderItem item, int quantity, boolean priceOrder) OrderService.addOfferCode(Order order, OfferCode offerCode, boolean priceOrder) Adds the given OfferCode to the order.OrderServiceImpl.addOfferCode(Order order, OfferCode offerCode, boolean priceOrder) AbstractOrderServiceExtensionHandler.addOfferCodes(Order order, List<OfferCode> offerCodes, boolean priceOrder) OrderService.addOfferCodes(Order order, List<OfferCode> offerCodes, boolean priceOrder) Adds the given OfferCodes to the order.OrderServiceExtensionHandler.addOfferCodes(Order order, List<OfferCode> offerCodes, boolean priceOrder) OrderServiceExtensionManager.addOfferCodes(Order order, List<OfferCode> offerCodes, boolean priceOrder) OrderServiceImpl.addOfferCodes(Order order, List<OfferCode> offerCodes, boolean priceOrder) OrderService.addPaymentToOrder(Order order, OrderPayment payment, Referenced securePaymentInfo) Associates a given OrderPayment with an Order and then saves the order.OrderServiceImpl.addPaymentToOrder(Order order, OrderPayment payment, Referenced securePaymentInfo) AbstractOrderServiceExtensionHandler.attachAdditionalDataToNewNamedCart(Customer customer, Order cart) OrderServiceExtensionHandler.attachAdditionalDataToNewNamedCart(Customer customer, Order cart) OrderServiceExtensionManager.attachAdditionalDataToNewNamedCart(Customer customer, Order cart) AbstractOrderServiceExtensionHandler.attachAdditionalDataToOrder(Order order, boolean priceOrder) CartMessageOrderItemServiceExtensionHandler.attachAdditionalDataToOrder(Order order, boolean priceOrder) OrderServiceExtensionHandler.attachAdditionalDataToOrder(Order order, boolean priceOrder) Can be used to attach or update fields must prior to saving an order.OrderServiceExtensionManager.attachAdditionalDataToOrder(Order order, boolean priceOrder) OrderItemService.buildOrderItemFromDTO(Order order, OrderItemRequestDTO orderItemRequestDTO) OrderItemServiceImpl.buildOrderItemFromDTO(Order order, OrderItemRequestDTO orderItemRequestDTO) FulfillmentGroupService.calculateNumShippableFulfillmentGroups(Order order) FulfillmentGroupServiceImpl.calculateNumShippableFulfillmentGroups(Order order) voidOrderService.cancelOrder(Order order) Deletes the given order.voidOrderServiceImpl.cancelOrder(Order order) FulfillmentGroupService.collapseToOneShippableFulfillmentGroup(Order order, boolean priceOrder) Collapses all of the shippable fulfillment groups in the given order to the first shippable fulfillment group in the order.FulfillmentGroupServiceImpl.collapseToOneShippableFulfillmentGroup(Order order, boolean priceOrder) OrderService.confirmOrder(Order order) Changes the OrderStatus to SUBMITTEDOrderServiceImpl.confirmOrder(Order order) protected List<OrderMultishipOption>OrderMultishipOptionServiceImpl.createPopulatedOrderMultishipOption(Order order, DiscreteOrderItem item, Integer quantity) voidOrderMultishipOptionService.deleteAllOrderMultishipOptions(Order order) Removes all OrderMultishipOptions for this Order permanently.voidOrderMultishipOptionServiceImpl.deleteAllOrderMultishipOptions(Order order) voidOrderService.deleteOrder(Order cart) voidOrderServiceImpl.deleteOrder(Order order) AbstractOrderServiceExtensionHandler.findCartForCustomerWithEnhancements(Customer customer, Order candidateCart, ExtensionResultHolder erh) OrderService.findCartForCustomerWithEnhancements(Customer customer, Order candidateOrder) For the customer, use the candidateOrder as the source of enhancement for generating an enhanced cart.OrderServiceExtensionHandler.findCartForCustomerWithEnhancements(Customer customer, Order candidateCart, ExtensionResultHolder erh) Retrieve an enhanced version of the cart for the customer.OrderServiceExtensionManager.findCartForCustomerWithEnhancements(Customer customer, Order candidateCart, ExtensionResultHolder erh) OrderServiceImpl.findCartForCustomerWithEnhancements(Customer customer, Order candidateOrder) OrderService.findLastMatchingItem(Order order, Long skuId, Long productId) Looks through the given order and returns the latest added OrderItem that matches on the skuId and productId.OrderServiceImpl.findLastMatchingItem(Order order, Long skuId, Long productId) protected OrderItemOrderServiceImpl.findMatchingItem(Order order, OrderItemRequestDTO itemToFind) OrderService.findPaymentsForOrder(Order order) Returns all OrderPayment objects that are associated with the given orderOrderServiceImpl.findPaymentsForOrder(Order order) OrderMultishipOptionService.generateOrderMultishipOptions(Order order) Generates the blank set of OrderMultishipOptions for a given order.OrderMultishipOptionServiceImpl.generateOrderMultishipOptions(Order order) FulfillmentGroupService.getAllShippableFulfillmentGroups(Order order) Returns all of the shippable fulfillment groups for an orderFulfillmentGroupServiceImpl.getAllShippableFulfillmentGroups(Order order) FulfillmentGroupService.getFirstShippableFulfillmentGroup(Order order) Returns the first shippable fulfillment group from an order.FulfillmentGroupServiceImpl.getFirstShippableFulfillmentGroup(Order order) This method will get the first shippable fulfillment group from an order.FulfillmentGroupService.getFulfillmentGroupItemsForOrderItem(Order order, OrderItem orderItem) Finds all FulfillmentGroupItems in the given Order that reference the given OrderItem.FulfillmentGroupServiceImpl.getFulfillmentGroupItemsForOrderItem(Order order, OrderItem orderItem) OrderMultishipOptionService.getOrderMultishipOptionsFromDTOs(Order order, List<OrderMultishipOptionDTO> optionDtos) Given the (potetially only partially filled out) OrderMultishipOptionDTO objects, builds out the associated OrderMultishipOption objects.OrderMultishipOptionServiceImpl.getOrderMultishipOptionsFromDTOs(Order order, List<OrderMultishipOptionDTO> optionDtos) OrderMultishipOptionService.getOrGenerateOrderMultishipOptions(Order order) If this order has associated OrderMultishipOptions, this method will return those options.OrderMultishipOptionServiceImpl.getOrGenerateOrderMultishipOptions(Order order) FulfillmentGroupService.matchFulfillmentGroupsToMultishipOptions(Order order, boolean priceOrder) Associates shippable FulfillmentGroupItems in the given Order such that they match the structure of the OrderMultishipOptions associated with the given Order.FulfillmentGroupServiceImpl.matchFulfillmentGroupsToMultishipOptions(Order order, boolean priceOrder) Delegates to mergeCart(Customer, Order, boolean) with priceOrder set to trueMerges the anonymous cart with the customer's current cart, taking into consideration the active status of the SKUs to merge.protected OrderAbstractOrderServiceExtensionHandler.preValidateCartOperation(Order cart, ExtensionResultHolder erh) voidOrderService.preValidateCartOperation(Order cart) Invokes the extension handler of the same name to provide the ability for a module to throw an exception and interrupt a cart operation.OrderServiceExtensionHandler.preValidateCartOperation(Order cart, ExtensionResultHolder erh) OrderServiceExtensionManager.preValidateCartOperation(Order cart, ExtensionResultHolder erh) voidOrderServiceImpl.preValidateCartOperation(Order cart) AbstractOrderServiceExtensionHandler.preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto, ExtensionResultHolder erh) voidOrderService.preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto) Invokes the extension handler of the same name to provide the ability for a module to throw an exception and interrupt an update quantity operation.OrderServiceExtensionHandler.preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto, ExtensionResultHolder erh) OrderServiceExtensionManager.preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto, ExtensionResultHolder erh) voidOrderServiceImpl.preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto) voidOrderService.printOrder(Order order, org.apache.commons.logging.Log log) This debugging method will print out a console-suitable representation of the current state of the order, including the items in the order and all pricing related information for the order.voidOrderServiceImpl.printOrder(Order order, org.apache.commons.logging.Log log) voidvoidbooleanOrderService.releaseLock(Order order) booleanOrderServiceImpl.releaseLock(Order order) OrderService.reloadOrder(Order order) Detaches the given order from the current entity manager and then reloads a fresh version from the database.OrderServiceImpl.reloadOrder(Order order) FulfillmentGroupService.removeAllFulfillmentGroupsFromOrder(Order order, boolean priceOrder) FulfillmentGroupServiceImpl.removeAllFulfillmentGroupsFromOrder(Order order, boolean priceOrder) OrderService.removeAllOfferCodes(Order order, boolean priceOrder) Removes all offer codes for the given order.OrderServiceImpl.removeAllOfferCodes(Order order, boolean priceOrder) voidOrderService.removeAllPaymentsFromOrder(Order order) Deletes all the OrderPayment Info's on the order.voidOrderServiceImpl.removeAllPaymentsFromOrder(Order order) voidOrderService.removeCreditCardPaymentsFromOrder(Order order) voidOrderServiceImpl.removeCreditCardPaymentsFromOrder(Order order) OrderService.removeOfferCode(Order order, OfferCode offerCode, boolean priceOrder) Remove the given OfferCode for the order.OrderServiceImpl.removeOfferCode(Order order, OfferCode offerCode, boolean priceOrder) voidFulfillmentGroupService.removeOrderItemFromFullfillmentGroups(Order order, OrderItem orderItem) Removes every fulfillment group item in every fulfillment group in the order that is associated with the given orderItem.voidFulfillmentGroupServiceImpl.removeOrderItemFromFullfillmentGroups(Order order, OrderItem orderItem) voidOrderService.removePaymentFromOrder(Order order, OrderPayment paymentInfo) Deletes the OrderPayment Info from the order.voidOrderServiceImpl.removePaymentFromOrder(Order order, OrderPayment payment) voidOrderService.removePaymentsFromOrder(Order order, PaymentType paymentInfoType) Deletes the OrderPayment Info of the passed in type from the order Note that this method will also delete any associated Secure OrderPayment Infos if necessary.voidOrderServiceImpl.removePaymentsFromOrder(Order order, PaymentType paymentInfoType) Saves the given order while optionally repricing the order (meaning, going through the pricing workflow) along with updating the prices of individual items in the order, as opposed to just pricing taxes/shipping/etc.Persists the given order to the database.voidOrderMultishipOptionService.saveOrderMultishipOptions(Order order, List<OrderMultishipOptionDTO> optionDTOs) Associates the appropriate objects based on the OrderMultishipOptionDTOs to OrderMultishipOption instances, associates them with the given order, and saves the set.voidOrderMultishipOptionServiceImpl.saveOrderMultishipOptions(Order order, List<OrderMultishipOptionDTO> optionDTOs) AbstractMergeCartServiceExtensionHandler.setNewCartOwnership(Order cart, Customer customer) MergeCartServiceExtensionHandler.setNewCartOwnership(Order cart, Customer customer) protected voidMergeCartServiceImpl.setNewCartOwnership(Order cart, Customer customer) protected voidMergeCartServiceImpl.setSavedCartAttributes(Order cart) AbstractMergeCartServiceExtensionHandler.updateMergedOrder(Order cart, Customer customer) MergeCartServiceExtensionHandler.updateMergedOrder(Order cart, Customer customer) -
Uses of Order in org.broadleafcommerce.core.order.service.call
Fields in org.broadleafcommerce.core.order.service.call declared as OrderModifier and TypeFieldDescriptionprotected OrderAbstractOrderItemRequest.orderprotected OrderBundleOrderItemRequest.orderprotected OrderFulfillmentGroupItemRequest.orderprotected OrderFulfillmentGroupRequest.orderprotected OrderProductBundleOrderItemRequest.orderprotected OrderUpdateCartResponse.orderMethods in org.broadleafcommerce.core.order.service.call that return OrderModifier and TypeMethodDescriptionAbstractOrderItemRequest.getOrder()BundleOrderItemRequest.getOrder()FulfillmentGroupItemRequest.getOrder()FulfillmentGroupRequest.getOrder()MergeCartResponse.getOrder()ProductBundleOrderItemRequest.getOrder()ReconstructCartResponse.getOrder()UpdateCartResponse.getOrder()Methods in org.broadleafcommerce.core.order.service.call with parameters of type OrderModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoid -
Uses of Order in org.broadleafcommerce.core.order.service.workflow
Fields in org.broadleafcommerce.core.order.service.workflow declared as OrderMethods in org.broadleafcommerce.core.order.service.workflow that return OrderMethods in org.broadleafcommerce.core.order.service.workflow with parameters of type OrderModifier and TypeMethodDescriptionprotected voidAbstractCheckAvailabilityActivity.checkSkuAvailability(Order order, Sku sku, Integer requestedQuantity) protected voidAddWorkflowPriceOrderIfNecessaryActivity.getOiFgiMap(Order order, Map<OrderItem, List<FulfillmentGroupItem>> oiFgiMap, OrderItem oi) voidprotected voidAddWorkflowPriceOrderIfNecessaryActivity.updateChildOrderItem(CartOperationRequest request, Order order) Traverses the current OrderItem for a match to the parentOrderItemId.Constructors in org.broadleafcommerce.core.order.service.workflow with parameters of type OrderModifierConstructorDescriptionCartOperationRequest(Order order, OrderItemRequestDTO itemRequest, boolean priceOrder) -
Uses of Order in org.broadleafcommerce.core.order.strategy
Methods in org.broadleafcommerce.core.order.strategy with parameters of type OrderModifier and TypeMethodDescriptionprotected FulfillmentGroupFulfillmentGroupItemStrategyImpl.addItemToFulfillmentGroup(Order order, OrderItem orderItem, int quantity, FulfillmentGroup fulfillmentGroup) protected FulfillmentGroupFulfillmentGroupItemStrategyImpl.addItemToFulfillmentGroup(Order order, OrderItem orderItem, FulfillmentGroup fulfillmentGroup) protected List<FulfillmentGroupItem>FulfillmentGroupItemStrategyImpl.updateItemQuantity(Order order, OrderItem orderItem, Integer orderItemQuantityDelta) -
Uses of Order in org.broadleafcommerce.core.payment.dao
Methods in org.broadleafcommerce.core.payment.dao with parameters of type OrderModifier and TypeMethodDescriptionOrderPaymentDao.readPaymentsForOrder(Order order) OrderPaymentDaoImpl.readPaymentsForOrder(Order order) -
Uses of Order in org.broadleafcommerce.core.payment.domain
Fields in org.broadleafcommerce.core.payment.domain declared as OrderMethods in org.broadleafcommerce.core.payment.domain that return OrderMethods in org.broadleafcommerce.core.payment.domain with parameters of type Order -
Uses of Order in org.broadleafcommerce.core.payment.service
Methods in org.broadleafcommerce.core.payment.service with parameters of type OrderModifier and TypeMethodDescriptionOrderPaymentService.createOrderPaymentFromCustomerPayment(Order order, CustomerPayment customerPayment, Money amount) Create anOrderPaymentwith a singlePaymentTransactionType.UNCONFIRMEDPaymentTransactioninitialized with the passed in amount and order.OrderPaymentServiceImpl.createOrderPaymentFromCustomerPayment(Order order, CustomerPayment customerPayment, Money amount) voidOrderToPaymentRequestDTOService.populateBillTo(Order order, PaymentRequestDTO requestDTO) Uses billing information on the Order to populate thePaymentRequestDTO.billTo()objectvoidOrderToPaymentRequestDTOServiceImpl.populateBillTo(Order order, PaymentRequestDTO requestDTO) voidOrderToPaymentRequestDTOService.populateCustomerInfo(Order order, PaymentRequestDTO requestDTO) Uses customer information on the Order to populate thePaymentRequestDTO.customer()objectvoidOrderToPaymentRequestDTOServiceImpl.populateCustomerInfo(Order order, PaymentRequestDTO requestDTO) voidOrderToPaymentRequestDTOService.populateDefaultLineItemsAndSubtotal(Order order, PaymentRequestDTO requestDTO) Uses order information to populate various line item and subtotal information on the ordervoidOrderToPaymentRequestDTOServiceImpl.populateDefaultLineItemsAndSubtotal(Order order, PaymentRequestDTO requestDTO) IMPORTANT:voidPaymentResponseDTOToEntityService.populateShippingInfo(PaymentResponseDTO responseDTO, Order order) voidPaymentResponseDTOToEntityServiceImpl.populateShippingInfo(PaymentResponseDTO responseDTO, Order order) voidOrderToPaymentRequestDTOService.populateShipTo(Order order, PaymentRequestDTO requestDTO) Uses the first shippable fulfillment group to populate thePaymentRequestDTO.shipTo()objectvoidOrderToPaymentRequestDTOServiceImpl.populateShipTo(Order order, PaymentRequestDTO requestDTO) Uses the first shippable fulfillment group to populate thePaymentRequestDTO.shipTo()objectvoidOrderToPaymentRequestDTOService.populateTotals(Order order, PaymentRequestDTO requestDTO) Uses total information on the Order to populate thePaymentRequestDTO.transactionTotal(String)()}PaymentRequestDTO.taxTotal(String)()}PaymentRequestDTO.shippingTotal(String)()}PaymentRequestDTO.orderCurrencyCode(String)()}voidOrderToPaymentRequestDTOServiceImpl.populateTotals(Order order, PaymentRequestDTO requestDTO) OrderPaymentService.readPaymentsForOrder(Order order) OrderPaymentServiceImpl.readPaymentsForOrder(Order order) OrderToPaymentRequestDTOService.translateOrder(Order order) This translates an Order into a PaymentRequestDTO.OrderToPaymentRequestDTOServiceImpl.translateOrder(Order order) -
Uses of Order in org.broadleafcommerce.core.pricing.service
Methods in org.broadleafcommerce.core.pricing.service that return OrderModifier and TypeMethodDescriptionTaxService.calculateTaxForOrder(Order order) Calculates tax for the order.TaxServiceImpl.calculateTaxForOrder(Order order) TaxService.commitTaxForOrder(Order order) Commits tax for the order.TaxServiceImpl.commitTaxForOrder(Order order) PricingService.executePricing(Order order) PricingServiceImpl.executePricing(Order order) Methods in org.broadleafcommerce.core.pricing.service with parameters of type OrderModifier and TypeMethodDescriptionTaxService.calculateTaxForOrder(Order order) Calculates tax for the order.TaxServiceImpl.calculateTaxForOrder(Order order) voidSome tax providers store tax details from an order on an external system for reporting and tax reconcilliation.voidTaxService.commitTaxForOrder(Order order) Commits tax for the order.TaxServiceImpl.commitTaxForOrder(Order order) PricingService.executePricing(Order order) PricingServiceImpl.executePricing(Order order) -
Uses of Order in org.broadleafcommerce.core.pricing.service.tax.provider
Methods in org.broadleafcommerce.core.pricing.service.tax.provider that return OrderModifier and TypeMethodDescriptionSimpleTaxProvider.calculateTaxForOrder(Order order, ModuleConfiguration config) TaxProvider.calculateTaxForOrder(Order order, ModuleConfiguration config) Calculates taxes on an entire order.SimpleTaxProvider.commitTaxForOrder(Order order, ModuleConfiguration config) TaxProvider.commitTaxForOrder(Order order, ModuleConfiguration config) This method provides the implementation an opportunity to finalize taxes on the order.Methods in org.broadleafcommerce.core.pricing.service.tax.provider with parameters of type OrderModifier and TypeMethodDescriptionSimpleTaxProvider.calculateTaxForOrder(Order order, ModuleConfiguration config) TaxProvider.calculateTaxForOrder(Order order, ModuleConfiguration config) Calculates taxes on an entire order.voidSimpleTaxProvider.cancelTax(Order order, ModuleConfiguration config) voidTaxProvider.cancelTax(Order order, ModuleConfiguration config) Some tax providers store tax details from an order on an external system for reporting and tax reconcilliation.SimpleTaxProvider.commitTaxForOrder(Order order, ModuleConfiguration config) TaxProvider.commitTaxForOrder(Order order, ModuleConfiguration config) This method provides the implementation an opportunity to finalize taxes on the order. -
Uses of Order in org.broadleafcommerce.core.pricing.service.workflow
Methods in org.broadleafcommerce.core.pricing.service.workflow that return OrderMethods in org.broadleafcommerce.core.pricing.service.workflow that return types with arguments of type OrderModifier and TypeMethodDescriptionPricingProcessContextFactory.createContext(Order seedData) AdjustOrderPaymentsActivity.execute(ProcessContext<Order> context) AutoBundleActivity.execute(ProcessContext<Order> context) CompositeActivity.execute(ProcessContext<Order> context) ConsolidateFulfillmentFeesActivity.execute(ProcessContext<Order> context) CountTotalOffersActivity.execute(ProcessContext<Order> context) DetermineOfferChangeActivity.execute(ProcessContext<Order> context) FulfillmentGroupMerchandiseTotalActivity.execute(ProcessContext<Order> context) FulfillmentGroupPricingActivity.execute(ProcessContext<Order> context) FulfillmentItemPricingActivity.execute(ProcessContext<Order> context) OfferActivity.execute(ProcessContext<Order> context) ShippingOfferActivity.execute(ProcessContext<Order> context) TaxActivity.execute(ProcessContext<Order> context) TotalActivity.execute(ProcessContext<Order> context) Methods in org.broadleafcommerce.core.pricing.service.workflow with parameters of type OrderModifier and TypeMethodDescriptionprotected MoneyFulfillmentItemPricingActivity.calculateTotalPriceForAllFulfillmentItems(Order order) Returns the total price for all fulfillment items.protected intAutoBundleActivity.countExistingUsesOfBundle(Order order, ProductBundle bundle) protected intAutoBundleActivity.countMaximumApplications(Order order, SkuBundleItem skuBundleItem, Set<Long> processedBundles) PricingProcessContextFactory.createContext(Order seedData) protected MoneyFulfillmentItemPricingActivity.distributeOrderSavingsToItems(Order order, BigDecimal totalAllItems) Distributes the order adjustments (if any) to the individual fulfillment group items.protected voidFulfillmentItemPricingActivity.fixItemTotalRoundingIssues(Order order, Map<OrderItem, List<FulfillmentGroupItem>> partialOrderItemMap) Because an item may have multiple price details that don't round cleanly, we may have pennies left over that need to be distributed.protected voidFulfillmentItemPricingActivity.fixOrderSavingsRoundingIssues(Order order, Money totalOrderAdjustmentDistributed) It is possible due to rounding that the order adjustments do not match the total.OfferActivity.getNewOfferCodesFromCustomer(Order order) protected MoneyFulfillmentItemPricingActivity.getOrderSavingsToDistribute(Order order) Returns the order adjustment value or zero if none existsAutoBundleActivity.handleAutomaticBundling(Order order) protected intAutoBundleActivity.populateItemMatchesForSku(List<DiscreteOrderItem> matchingItems, Order order, List<DiscreteOrderItem> unbundledItems, Long skuId) protected voidFulfillmentItemPricingActivity.populateItemTotalAmount(Order order, Map<OrderItem, List<FulfillmentGroupItem>> partialOrderItemMap) Sets the fulfillment amount which includes the relative portion of the total price for the corresponding order item.protected voidTotalActivity.setTaxSums(Order order) protected MoneyFulfillmentItemPricingActivity.sumItemAmount(List<FulfillmentGroupItem> items, Order order) protected MoneyFulfillmentItemPricingActivity.sumTaxAmount(List<FulfillmentGroupItem> items, Order order) protected voidFulfillmentItemPricingActivity.updateTaxableAmountsOnItems(Order order) Returns the total price for all fulfillment items.Method parameters in org.broadleafcommerce.core.pricing.service.workflow with type arguments of type OrderModifier and TypeMethodDescriptionAdjustOrderPaymentsActivity.execute(ProcessContext<Order> context) AutoBundleActivity.execute(ProcessContext<Order> context) CompositeActivity.execute(ProcessContext<Order> context) ConsolidateFulfillmentFeesActivity.execute(ProcessContext<Order> context) CountTotalOffersActivity.execute(ProcessContext<Order> context) DetermineOfferChangeActivity.execute(ProcessContext<Order> context) FulfillmentGroupMerchandiseTotalActivity.execute(ProcessContext<Order> context) FulfillmentGroupPricingActivity.execute(ProcessContext<Order> context) FulfillmentItemPricingActivity.execute(ProcessContext<Order> context) OfferActivity.execute(ProcessContext<Order> context) ShippingOfferActivity.execute(ProcessContext<Order> context) TaxActivity.execute(ProcessContext<Order> context) TotalActivity.execute(ProcessContext<Order> context) -
Uses of Order in org.broadleafcommerce.core.util.dao
Methods in org.broadleafcommerce.core.util.dao that return types with arguments of type OrderModifier and TypeMethodDescriptionResourcePurgeDao.findCarts(String[] names, OrderStatus[] statuses, Date dateCreatedMinThreshold, Boolean isPreview, int startPos, int length, List<Long> excludedIds) Finds carts from the database.ResourcePurgeDao.findCarts(String[] names, OrderStatus[] statuses, Date dateCreatedMinThreshold, Boolean isPreview, List<Long> excludedIds) Finds carts from the database.ResourcePurgeDaoImpl.findCarts(String[] names, OrderStatus[] statuses, Date dateCreatedMinThreshold, Boolean isPreview, int startPos, int length, List<Long> excludedIds) ResourcePurgeDaoImpl.findCarts(String[] names, OrderStatus[] statuses, Date dateCreatedMinThreshold, Boolean isPreview, List<Long> excludedIds) -
Uses of Order in org.broadleafcommerce.core.util.service
Methods in org.broadleafcommerce.core.util.service that return types with arguments of type OrderModifier and TypeMethodDescriptionResourcePurgeServiceImpl.getCartsToPurge(ResourcePurgeServiceImpl.CartPurgeParams purgeParams, int startPos, int length, List<Long> cartsInError) Get the list of carts to delete from the database.Methods in org.broadleafcommerce.core.util.service with parameters of type OrderModifier and TypeMethodDescriptionprotected voidResourcePurgeServiceImpl.deleteCart(Order cart) Remove the cart from the persistence layer.protected StringResourcePurgeServiceImpl.getEmailForCart(Order cart) protected voidResourcePurgeServiceImpl.notifyCart(Order cart) Notify the cart's owner of a pending purge of their cart.