Class ProductDiscountValueRelativeDraftBuilder

java.lang.Object
com.commercetools.api.models.product_discount.ProductDiscountValueRelativeDraftBuilder
All Implemented Interfaces:
Builder<ProductDiscountValueRelativeDraft>

public class ProductDiscountValueRelativeDraftBuilder extends Object implements Builder<ProductDiscountValueRelativeDraft>
ProductDiscountValueRelativeDraftBuilder
Example to create an instance using the builder pattern

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

    • ProductDiscountValueRelativeDraftBuilder

      public ProductDiscountValueRelativeDraftBuilder()
  • Method Details