Package org.broadleafcommerce.core.offer.service

Examples of org.broadleafcommerce.core.offer.service.CreateOfferUtility


    private CreateOfferUtility createOfferUtility;

    @Test(groups = { "offerCreateSku1Legacy" }, dataProvider = "basicSku", dataProviderClass = SkuDaoDataProvider.class)
    @Rollback(false)
    public void createSku1(Sku sku) {
        createOfferUtility = new CreateOfferUtility(offerDao, offerCodeDao, offerService);
        sku.setSalePrice(new Money(BigDecimal.valueOf(10.0)));
        sku.setRetailPrice(new Money(BigDecimal.valueOf(15.0)));
        sku.setName("test1");
        assert sku.getId() == null;
        sku = catalogService.saveSku(sku);
View Full Code Here

TOP

Related Classes of org.broadleafcommerce.core.offer.service.CreateOfferUtility

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.