Interface ProductDiscountValue

All Known Subinterfaces:
ProductDiscountValueAbsolute, ProductDiscountValueExternal, ProductDiscountValueRelative

public interface ProductDiscountValue
ProductDiscountValue
Example to create a subtype instance using the builder pattern

     ProductDiscountValue productDiscountValue = ProductDiscountValue.absoluteBuilder()
             plusMoney(moneyBuilder -> moneyBuilder)
             .build()
 
  • Method Details