Class SetDiscountedPriceChangeBuilder

java.lang.Object
com.commercetools.history.models.change.SetDiscountedPriceChangeBuilder
All Implemented Interfaces:
Builder<SetDiscountedPriceChange>

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

     SetDiscountedPriceChange setDiscountedPriceChange = SetDiscountedPriceChange.builder()
             .change("{change}")
             .previousValue(previousValueBuilder -> previousValueBuilder)
             .nextValue(nextValueBuilder -> nextValueBuilder)
             .catalogData("{catalogData}")
             .variant("{variant}")
             .priceId("{priceId}")
             .build()