Class ShippingRateBuilder

java.lang.Object
com.commercetools.history.models.common.ShippingRateBuilder
All Implemented Interfaces:
Builder<ShippingRate>

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

     ShippingRate shippingRate = ShippingRate.builder()
             .price(priceBuilder -> priceBuilder)
             .freeAbove(freeAboveBuilder -> freeAboveBuilder)
             .isMatching(true)
             .plusTiers(tiersBuilder -> tiersBuilder)
             .build()