Uses of Class
com.broadleafcommerce.cartoperation.web.endpoint.domain.CartFulfillmentResponse
Package
Description
-
Uses of CartFulfillmentResponse in com.broadleafcommerce.cartoperation.service.fulfillment.option
Modifier and TypeMethodDescriptionprotected CartFulfillmentResponse
DefaultFulfillmentOptionRequestService.buildCartFulfillmentResponse
(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionResponse pricingFulfillmentOptions, com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingConfig config, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultFulfillmentOptionRequestService.calculateOptionsAndGroups
(@NonNull com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.fulfillment.common.domain.Address defaultAddress, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) FulfillmentOptionRequestService.calculateOptionsAndGroups
(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.fulfillment.common.domain.Address address, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Convenience method to get all fulfillment options for an address and assign defaults.protected CartFulfillmentResponse
DefaultFulfillmentOptionRequestService.refreshOptionsAndGroups
(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingConfig config, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Refresh the selected fulfillment options, save the cart, and return the cart with all fulfillment options.DefaultFulfillmentOptionRequestService.submitFulfillmentOption
(com.broadleafcommerce.order.common.domain.PricedFulfillmentOption pricedFulfillmentOption, com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Attaches givenPricedFulfillmentOptions
to their corresponding fulfillment item or group, then sorts the items into new fulfillment groupsFulfillmentOptionRequestService.submitFulfillmentOption
(com.broadleafcommerce.order.common.domain.PricedFulfillmentOption pricedFulfillmentOption, com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Attach the givenPricedFulfillmentOption
to its target and then refresh options.DefaultFulfillmentOptionRequestService.updateFulfillmentGroupAddress
(String referenceId, com.broadleafcommerce.fulfillment.common.domain.Address address, com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) FulfillmentOptionRequestService.updateFulfillmentGroupAddress
(String referenceId, com.broadleafcommerce.fulfillment.common.domain.Address address, com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Update theAddress
of aFulfillmentGroup
and refresh fulfillment options. -
Uses of CartFulfillmentResponse in com.broadleafcommerce.cartoperation.web.endpoint
Modifier and TypeMethodDescriptionFulfillmentOptionEndpoint.determineOptionsAndGroups
(com.broadleafcommerce.fulfillment.common.domain.Address address, String cartId, Integer cartVersion, com.broadleafcommerce.order.common.domain.CustomerRef customer, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Convenience endpoint to get the cart with all fulfillment options, and ensure that options for the default service level are selected all at once.FulfillmentOptionEndpoint.selectOption
(com.broadleafcommerce.order.common.domain.PricedFulfillmentOption pricedFulfillmentOption, String cartId, Integer cartVersion, com.broadleafcommerce.order.common.domain.CustomerRef customer, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) FulfillmentOptionEndpoint.updateAddressOnGroup
(com.broadleafcommerce.fulfillment.common.domain.Address address, String cartId, String fulfillmentGroupReference, Integer cartVersion, com.broadleafcommerce.order.common.domain.CustomerRef customer, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)