Package com.commercetools.api.models.me
Class MyCartSetDeleteDaysAfterLastModificationActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCartSetDeleteDaysAfterLastModificationActionBuilder
- All Implemented Interfaces:
Builder<MyCartSetDeleteDaysAfterLastModificationAction>
public class MyCartSetDeleteDaysAfterLastModificationActionBuilder
extends Object
implements Builder<MyCartSetDeleteDaysAfterLastModificationAction>
MyCartSetDeleteDaysAfterLastModificationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCartSetDeleteDaysAfterLastModificationAction myCartSetDeleteDaysAfterLastModificationAction = MyCartSetDeleteDaysAfterLastModificationAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyCartSetDeleteDaysAfterLastModificationAction with checking for non-null required valuesbuilds MyCartSetDeleteDaysAfterLastModificationAction without checking for non-null required valuesdeleteDaysAfterLastModification
(Integer deleteDaysAfterLastModification) Value to set.Value to set.of()
factory method for an instance of MyCartSetDeleteDaysAfterLastModificationActionBuildercreate builder for MyCartSetDeleteDaysAfterLastModificationAction instance
-
Constructor Details
-
MyCartSetDeleteDaysAfterLastModificationActionBuilder
public MyCartSetDeleteDaysAfterLastModificationActionBuilder()
-
-
Method Details
-
deleteDaysAfterLastModification
public MyCartSetDeleteDaysAfterLastModificationActionBuilder 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 MyCartSetDeleteDaysAfterLastModificationAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCartSetDeleteDaysAfterLastModificationAction>
- Returns:
- MyCartSetDeleteDaysAfterLastModificationAction
-
buildUnchecked
builds MyCartSetDeleteDaysAfterLastModificationAction without checking for non-null required values- Returns:
- MyCartSetDeleteDaysAfterLastModificationAction
-
of
factory method for an instance of MyCartSetDeleteDaysAfterLastModificationActionBuilder- Returns:
- builder
-
of
public static MyCartSetDeleteDaysAfterLastModificationActionBuilder of(MyCartSetDeleteDaysAfterLastModificationAction template) create builder for MyCartSetDeleteDaysAfterLastModificationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-