public class CreateOrderEntityUtility extends Object
| Constructor and Description |
|---|
CreateOrderEntityUtility(CatalogService catalogService,
org.broadleafcommerce.core.order.service.OrderItemService orderItemService,
org.broadleafcommerce.common.i18n.service.ISOService isoService,
org.broadleafcommerce.profile.core.service.StateService stateService,
org.broadleafcommerce.profile.core.service.CountryService countryService) |
| Modifier and Type | Method and Description |
|---|---|
DiscreteOrderItem |
createDiscreteOrderItem(Long skuId,
Double retailPrice,
Double salePrice,
boolean isDiscountable,
int quantity,
Order order) |
FulfillmentGroup |
createFulfillmentGroup1(FulfillmentOption option,
Double shippingPrice,
Order order) |
FulfillmentGroup |
createFulfillmentGroup2(FulfillmentOption option,
Double shippingPrice,
Order order) |
List<FulfillmentGroup> |
createFulfillmentGroups(FulfillmentOption option,
Double shippingPrice,
Order order) |
public CreateOrderEntityUtility(CatalogService catalogService, org.broadleafcommerce.core.order.service.OrderItemService orderItemService, org.broadleafcommerce.common.i18n.service.ISOService isoService, org.broadleafcommerce.profile.core.service.StateService stateService, org.broadleafcommerce.profile.core.service.CountryService countryService)
public List<FulfillmentGroup> createFulfillmentGroups(FulfillmentOption option, Double shippingPrice, Order order)
public FulfillmentGroup createFulfillmentGroup1(FulfillmentOption option, Double shippingPrice, Order order)
public FulfillmentGroup createFulfillmentGroup2(FulfillmentOption option, Double shippingPrice, Order order)
public DiscreteOrderItem createDiscreteOrderItem(Long skuId, Double retailPrice, Double salePrice, boolean isDiscountable, int quantity, Order order)
Copyright © 2021. All rights reserved.