Interface StagedOrderSetShippingAddressAndCustomShippingMethodAction

All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>, StagedOrderUpdateAction

public interface StagedOrderSetShippingAddressAndCustomShippingMethodAction extends StagedOrderUpdateAction

Sets the shipping address and a custom Shipping Method together to prevent an inconsistent state.


Example to create an instance using the builder pattern

     StagedOrderSetShippingAddressAndCustomShippingMethodAction stagedOrderSetShippingAddressAndCustomShippingMethodAction = StagedOrderSetShippingAddressAndCustomShippingMethodAction.builder()
             .address(addressBuilder -> addressBuilder)
             .shippingMethodName("{shippingMethodName}")
             .shippingRate(shippingRateBuilder -> shippingRateBuilder)
             .build()