Class CartSetDeleteDaysAfterLastModificationActionBuilder
java.lang.Object
com.commercetools.api.models.cart.CartSetDeleteDaysAfterLastModificationActionBuilder
- All Implemented Interfaces:
Builder<CartSetDeleteDaysAfterLastModificationAction>
public class CartSetDeleteDaysAfterLastModificationActionBuilder
extends Object
implements Builder<CartSetDeleteDaysAfterLastModificationAction>
CartSetDeleteDaysAfterLastModificationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CartSetDeleteDaysAfterLastModificationAction cartSetDeleteDaysAfterLastModificationAction = CartSetDeleteDaysAfterLastModificationAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CartSetDeleteDaysAfterLastModificationAction with checking for non-null required valuesbuilds CartSetDeleteDaysAfterLastModificationAction without checking for non-null required valuesdeleteDaysAfterLastModification
(Integer deleteDaysAfterLastModification) Value to set.Value to set.of()
factory method for an instance of CartSetDeleteDaysAfterLastModificationActionBuildercreate builder for CartSetDeleteDaysAfterLastModificationAction instance
-
Constructor Details
-
CartSetDeleteDaysAfterLastModificationActionBuilder
public CartSetDeleteDaysAfterLastModificationActionBuilder()
-
-
Method Details
-
deleteDaysAfterLastModification
public CartSetDeleteDaysAfterLastModificationActionBuilder deleteDaysAfterLastModification(@Nullable Integer deleteDaysAfterLastModification) Value to set. If not provided, the default value for this field configured in Project settings is assigned.
- Parameters:
deleteDaysAfterLastModification
- value to be set- Returns:
- Builder
-
getDeleteDaysAfterLastModification
Value to set. If not provided, the default value for this field configured in Project settings is assigned.
- Returns:
- deleteDaysAfterLastModification
-
build
builds CartSetDeleteDaysAfterLastModificationAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CartSetDeleteDaysAfterLastModificationAction>
- Returns:
- CartSetDeleteDaysAfterLastModificationAction
-
buildUnchecked
builds CartSetDeleteDaysAfterLastModificationAction without checking for non-null required values- Returns:
- CartSetDeleteDaysAfterLastModificationAction
-
of
factory method for an instance of CartSetDeleteDaysAfterLastModificationActionBuilder- Returns:
- builder
-
of
public static CartSetDeleteDaysAfterLastModificationActionBuilder of(CartSetDeleteDaysAfterLastModificationAction template) create builder for CartSetDeleteDaysAfterLastModificationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-