Class ShippingInfoBuilder

java.lang.Object
com.commercetools.api.models.cart.ShippingInfoBuilder
All Implemented Interfaces:
Builder<ShippingInfo>

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

     ShippingInfo shippingInfo = ShippingInfo.builder()
             .shippingMethodName("{shippingMethodName}")
             .price(priceBuilder -> priceBuilder)
             .shippingRate(shippingRateBuilder -> shippingRateBuilder)
             .shippingMethodState(ShippingMethodState.DOES_NOT_MATCH_CART)
             .build()