Class ShippingMethodDraftBuilder

java.lang.Object
com.commercetools.api.models.shipping_method.ShippingMethodDraftBuilder
All Implemented Interfaces:
Builder<ShippingMethodDraft>

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

     ShippingMethodDraft shippingMethodDraft = ShippingMethodDraft.builder()
             .name("{name}")
             .taxCategory(taxCategoryBuilder -> taxCategoryBuilder)
             .plusZoneRates(zoneRatesBuilder -> zoneRatesBuilder)
             .isDefault(true)
             .build()