Class CartAddCustomShippingMethodActionBuilder

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

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

     CartAddCustomShippingMethodAction cartAddCustomShippingMethodAction = CartAddCustomShippingMethodAction.builder()
             .shippingKey("{shippingKey}")
             .shippingMethodName("{shippingMethodName}")
             .shippingAddress(shippingAddressBuilder -> shippingAddressBuilder)
             .shippingRate(shippingRateBuilder -> shippingRateBuilder)
             .build()