Interface DiscountedPrice

All Known Implementing Classes:
DiscountedPriceImpl

public interface DiscountedPrice
DiscountedPrice
Example to create an instance using the builder pattern

     DiscountedPrice discountedPrice = DiscountedPrice.builder()
             .value(valueBuilder -> valueBuilder)
             .discount(discountBuilder -> discountBuilder)
             .build()