public class LegacyOrderBaseTest extends LegacyCommonSetupBaseTest
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.core.order.service.legacy.LegacyCartService |
cartService |
catalogService, countryService, customerAddressService, customerService, isoService, orderService, shippingRateService, stateServiceem, mergeContext, moduleContexts| Constructor and Description |
|---|
LegacyOrderBaseTest() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.core.order.service.call.BundleOrderItemRequest |
createBundleOrderItemRequest() |
protected org.broadleafcommerce.core.order.service.call.BundleOrderItemRequest |
createBundleOrderItemRequestWithGiftWrap() |
org.broadleafcommerce.core.order.service.call.BundleOrderItemRequest |
createBundleOrderItemRequestWithInactiveSku() |
org.broadleafcommerce.core.order.service.call.DiscreteOrderItemRequest |
createDiscreteOrderItemRequest(Product product,
Sku sku,
int quantity) |
org.broadleafcommerce.core.order.service.call.GiftWrapOrderItemRequest |
createGiftWrapOrderItemRequest(Product product,
Sku sku,
int quantity,
List<OrderItem> wrappedItems) |
protected org.broadleafcommerce.profile.core.domain.Customer |
createNamedCustomer() |
Order |
initializeExistingCart(org.broadleafcommerce.profile.core.domain.Customer customer) |
Order |
initializeExistingCartWithInactiveSkuAndInactiveBundle(org.broadleafcommerce.profile.core.domain.Customer customer) |
Order |
setUpAnonymousCartWithBundleGiftWrap() |
Order |
setUpAnonymousCartWithBundleGiftWrapReferringItemsInAnotherBundle() |
Order |
setUpAnonymousCartWithBundleGiftWrapReferringToRootItems() |
Order |
setUpAnonymousCartWithGiftWrap() |
Order |
setUpAnonymousCartWithInactiveBundleGiftWrap() |
Order |
setUpAnonymousCartWithInactiveGiftWrap() |
Order |
setUpAnonymousCartWithInactiveSku() |
Order |
setUpNamedOrder() |
addTestProduct, addTestProduct, createCountry, createCustomer, createCustomerWithAddress, createCustomerWithAddresses, createCustomerWithBasicOrderAndAddresses, createShippingRates, createState, saveCustomerAddressgetContext, getModuleContextsrun, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstanceprotected org.broadleafcommerce.core.order.service.legacy.LegacyCartService cartService
protected org.broadleafcommerce.profile.core.domain.Customer createNamedCustomer()
public Order setUpNamedOrder() throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionpublic Order setUpAnonymousCartWithInactiveSku() throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionpublic Order setUpAnonymousCartWithGiftWrap() throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionpublic Order setUpAnonymousCartWithInactiveGiftWrap() throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionpublic Order initializeExistingCartWithInactiveSkuAndInactiveBundle(org.broadleafcommerce.profile.core.domain.Customer customer) throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionpublic Order initializeExistingCart(org.broadleafcommerce.profile.core.domain.Customer customer) throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionpublic org.broadleafcommerce.core.order.service.call.BundleOrderItemRequest createBundleOrderItemRequest()
public org.broadleafcommerce.core.order.service.call.BundleOrderItemRequest createBundleOrderItemRequestWithInactiveSku()
public org.broadleafcommerce.core.order.service.call.DiscreteOrderItemRequest createDiscreteOrderItemRequest(Product product, Sku sku, int quantity)
public org.broadleafcommerce.core.order.service.call.GiftWrapOrderItemRequest createGiftWrapOrderItemRequest(Product product, Sku sku, int quantity, List<OrderItem> wrappedItems)
public Order setUpAnonymousCartWithInactiveBundleGiftWrap() throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionpublic Order setUpAnonymousCartWithBundleGiftWrap() throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionprotected org.broadleafcommerce.core.order.service.call.BundleOrderItemRequest createBundleOrderItemRequestWithGiftWrap()
public Order setUpAnonymousCartWithBundleGiftWrapReferringToRootItems() throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionpublic Order setUpAnonymousCartWithBundleGiftWrapReferringItemsInAnotherBundle() throws org.broadleafcommerce.core.pricing.service.exception.PricingException
org.broadleafcommerce.core.pricing.service.exception.PricingExceptionCopyright © 2018. All rights reserved.