Interface ProductDiscountValue

All Known Subinterfaces:
ProductDiscountValueAbsolute, ProductDiscountValueExternal, ProductDiscountValueRelative
All Known Implementing Classes:
ProductDiscountValueAbsoluteImpl, ProductDiscountValueExternalImpl, ProductDiscountValueImpl, ProductDiscountValueRelativeImpl

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

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