Class CartSetAnonymousIdActionBuilder
java.lang.Object
com.commercetools.api.models.cart.CartSetAnonymousIdActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<CartSetAnonymousIdAction>
public class CartSetAnonymousIdActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<CartSetAnonymousIdAction>
CartSetAnonymousIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CartSetAnonymousIdAction cartSetAnonymousIdAction = CartSetAnonymousIdAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanonymousId
(String anonymousId) Value to set.build()
builds CartSetAnonymousIdAction with checking for non-null required valuesbuilds CartSetAnonymousIdAction without checking for non-null required valuesValue to set.of()
factory method for an instance of CartSetAnonymousIdActionBuilderof
(CartSetAnonymousIdAction template) create builder for CartSetAnonymousIdAction instance
-
Constructor Details
-
CartSetAnonymousIdActionBuilder
public CartSetAnonymousIdActionBuilder()
-
-
Method Details
-
anonymousId
Value to set. If empty, any existing value is removed.
- Parameters:
anonymousId
- value to be set- Returns:
- Builder
-
getAnonymousId
Value to set. If empty, any existing value is removed.
- Returns:
- anonymousId
-
build
builds CartSetAnonymousIdAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<CartSetAnonymousIdAction>
- Returns:
- CartSetAnonymousIdAction
-
buildUnchecked
builds CartSetAnonymousIdAction without checking for non-null required values- Returns:
- CartSetAnonymousIdAction
-
of
factory method for an instance of CartSetAnonymousIdActionBuilder- Returns:
- builder
-
of
create builder for CartSetAnonymousIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-