Interface ProductDiscountValueRelativeDraft

All Superinterfaces:
io.vrap.rmf.base.client.Draft<ProductDiscountValueRelativeDraft>, ProductDiscountValueDraft
All Known Implementing Classes:
ProductDiscountValueRelativeDraftImpl

public interface ProductDiscountValueRelativeDraft extends ProductDiscountValueDraft, io.vrap.rmf.base.client.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