Class AbstractVoucherTest

    • Constructor Detail

      • AbstractVoucherTest

        public AbstractVoucherTest()
    • Method Detail

      • tearDown

        public void tearDown()
      • getModelService

        protected ModelService getModelService()
        Returns:
        the modelService
      • setModelService

        protected void setModelService​(ModelService modelService)
        Parameters:
        modelService - the modelService to set
      • getDeliveryMode

        protected DeliveryModeModel getDeliveryMode()
        Returns:
        the deliveryMode
      • setDeliveryMode

        protected void setDeliveryMode​(DeliveryModeModel deliveryMode)
        Parameters:
        deliveryMode - the deliveryMode to set
      • getProduct

        protected ProductModel getProduct()
        Returns:
        the product
      • setProduct

        protected void setProduct​(ProductModel product)
        Parameters:
        product - the product to set
      • getPromotionVoucher

        protected PromotionVoucherModel getPromotionVoucher()
        Returns:
        the promotionVoucher
      • setPromotionVoucher

        protected void setPromotionVoucher​(PromotionVoucherModel promotionVoucher)
        Parameters:
        promotionVoucher - the promotionVoucher to set
      • getUnit

        protected UnitModel getUnit()
        Returns:
        the unit
      • setUnit

        protected void setUnit​(UnitModel unit)
        Parameters:
        unit - the unit to set
      • getDiscountAmount

        protected double getDiscountAmount()
        Returns:
        the discountAmount
      • setDiscountAmount

        protected void setDiscountAmount​(double discountAmount)
        Parameters:
        discountAmount - the discountAmount to set