use of org.broadleafcommerce.core.order.service.call.BundleOrderItemRequest in project BroadleafCommerce by BroadleafCommerce.
the class LegacyOrderServiceImpl method createBundleOrderItemRequest.
protected BundleOrderItemRequest createBundleOrderItemRequest(BundleOrderItem bundleOrderItem, List<DiscreteOrderItemRequest> discreteOrderItemRequests) {
BundleOrderItemRequest bundleOrderItemRequest = new BundleOrderItemRequest();
bundleOrderItemRequest.setCategory(bundleOrderItem.getCategory());
bundleOrderItemRequest.setName(bundleOrderItem.getName());
bundleOrderItemRequest.setQuantity(bundleOrderItem.getQuantity());
bundleOrderItemRequest.setDiscreteOrderItems(discreteOrderItemRequests);
return bundleOrderItemRequest;
}
Aggregations