Class RecurringOrderKeySetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.RecurringOrderKeySetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<RecurringOrderKeySetMessagePayload>
public class RecurringOrderKeySetMessagePayloadBuilder
extends Object
implements Builder<RecurringOrderKeySetMessagePayload>
RecurringOrderKeySetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RecurringOrderKeySetMessagePayload recurringOrderKeySetMessagePayload = RecurringOrderKeySetMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds RecurringOrderKeySetMessagePayload with checking for non-null required valuesbuilds RecurringOrderKeySetMessagePayload without checking for non-null required valuesgetKey()
of()
factory method for an instance of RecurringOrderKeySetMessagePayloadBuilderof
(RecurringOrderKeySetMessagePayload template) create builder for RecurringOrderKeySetMessagePayload instance
-
Constructor Details
-
RecurringOrderKeySetMessagePayloadBuilder
public RecurringOrderKeySetMessagePayloadBuilder()
-
-
Method Details
-
key
key
value of the RecurringOrder after the Set Key update action.- Parameters:
key
- value to be set- Returns:
- Builder
-
oldKey
key
value of the RecurringOrder before the Set Key update action.- Parameters:
oldKey
- value to be set- Returns:
- Builder
-
getKey
key
value of the RecurringOrder after the Set Key update action.- Returns:
- key
-
getOldKey
key
value of the RecurringOrder before the Set Key update action.- Returns:
- oldKey
-
build
builds RecurringOrderKeySetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<RecurringOrderKeySetMessagePayload>
- Returns:
- RecurringOrderKeySetMessagePayload
-
buildUnchecked
builds RecurringOrderKeySetMessagePayload without checking for non-null required values- Returns:
- RecurringOrderKeySetMessagePayload
-
of
factory method for an instance of RecurringOrderKeySetMessagePayloadBuilder- Returns:
- builder
-
of
public static RecurringOrderKeySetMessagePayloadBuilder of(RecurringOrderKeySetMessagePayload template) create builder for RecurringOrderKeySetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-