public abstract class AbstractVoucherTest extends ServicelayerTest
| Modifier and Type | Field and Description |
|---|---|
protected static double |
DELIVERYCOST |
importServicejaloSession| Constructor and Description |
|---|
AbstractVoucherTest() |
| Modifier and Type | Method and Description |
|---|---|
protected DeliveryModeModel |
getDeliveryMode() |
protected double |
getDiscountAmount() |
protected ModelService |
getModelService() |
protected ProductModel |
getProduct() |
protected PromotionVoucherModel |
getPromotionVoucher() |
protected UnitModel |
getUnit() |
protected void |
setDeliveryMode(DeliveryModeModel deliveryMode) |
protected void |
setDiscountAmount(double discountAmount) |
protected void |
setModelService(ModelService modelService) |
protected void |
setProduct(ProductModel product) |
protected void |
setPromotionVoucher(PromotionVoucherModel promotionVoucher) |
protected void |
setUnit(UnitModel unit) |
void |
setUp() |
void |
tearDown() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionprotected static final double DELIVERYCOST
public void setUp()
throws ConsistencyCheckException
ConsistencyCheckExceptionpublic void tearDown()
protected ModelService getModelService()
protected void setModelService(ModelService modelService)
modelService - the modelService to setprotected DeliveryModeModel getDeliveryMode()
protected void setDeliveryMode(DeliveryModeModel deliveryMode)
deliveryMode - the deliveryMode to setprotected ProductModel getProduct()
protected void setProduct(ProductModel product)
product - the product to setprotected PromotionVoucherModel getPromotionVoucher()
protected void setPromotionVoucher(PromotionVoucherModel promotionVoucher)
promotionVoucher - the promotionVoucher to setprotected UnitModel getUnit()
protected void setUnit(UnitModel unit)
unit - the unit to setprotected double getDiscountAmount()
protected void setDiscountAmount(double discountAmount)
discountAmount - the discountAmount to setCopyright © 2018 SAP SE. All Rights Reserved.