use of org.broadleafcommerce.core.order.domain.OrderItemImpl in project BroadleafCommerce by BroadleafCommerce.
the class OrderItemDataProvider method provideBasicDiscreteSalesOrderItem.
@DataProvider(name = "basicDiscreteOrderItem")
public static Object[][] provideBasicDiscreteSalesOrderItem() {
OrderItemImpl soi = new DiscreteOrderItemImpl();
soi.setRetailPrice(new Money(BigDecimal.valueOf(10.25)));
soi.setQuantity(3);
return new Object[][] { { soi } };
}
use of org.broadleafcommerce.core.order.domain.OrderItemImpl in project BroadleafCommerce by BroadleafCommerce.
the class OrderItemDataProvider method provideBasicGiftWrapSalesOrderItem.
@DataProvider(name = "basicGiftWrapOrderItem")
public static Object[][] provideBasicGiftWrapSalesOrderItem() {
OrderItemImpl soi = new GiftWrapOrderItemImpl();
soi.setRetailPrice(new Money(BigDecimal.valueOf(1.25)));
soi.setQuantity(1);
return new Object[][] { { soi } };
}
Aggregations