Class CustomShippingDraftBuilder

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

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

     CustomShippingDraft customShippingDraft = CustomShippingDraft.builder()
             .key("{key}")
             .shippingMethodName("{shippingMethodName}")
             .shippingRate(shippingRateBuilder -> shippingRateBuilder)
             .build()