Interface ProductDiscountValueRelativeDraft

All Superinterfaces:
Draft<ProductDiscountValueRelativeDraft>, ProductDiscountValueDraft

public interface ProductDiscountValueRelativeDraft extends ProductDiscountValueDraft, Draft<ProductDiscountValueRelativeDraft>

Discounts the Product Price by a percentage, defined by the permyriad field.


Example to create an instance using the builder pattern

     ProductDiscountValueRelativeDraft productDiscountValueRelativeDraft = ProductDiscountValueRelativeDraft.builder()
             .permyriad(0.3)
             .build()
 
  • Field Details

  • Method Details