Interface RecurringOrderScheduleSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set Schedule update action.
Example to create an instance using the builder pattern
RecurringOrderScheduleSetMessagePayload recurringOrderScheduleSetMessagePayload = RecurringOrderScheduleSetMessagePayload.builder()
.recurrencePolicySchedule(recurrencePolicyScheduleBuilder -> recurrencePolicyScheduleBuilder)
.oldRecurrencePolicySchedule(oldRecurrencePolicyScheduleBuilder -> oldRecurrencePolicyScheduleBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for RecurringOrderScheduleSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for RecurringOrderScheduleSetMessagePayloadcreate builder for RecurringOrderScheduleSetMessagePayload instancecopyDeep()factory method to create a deep copy of RecurringOrderScheduleSetMessagePayload@NotNull @Valid RecurrencePolicyScheduleSchedule of the Recurring Order before the Set Schedule update action.@NotNull @Valid RecurrencePolicyScheduleSchedule of the Recurring Order after the Set Schedule update action.of()factory methodof(RecurringOrderScheduleSetMessagePayload template) factory method to create a shallow copy RecurringOrderScheduleSetMessagePayloadvoidsetOldRecurrencePolicySchedule(RecurrencePolicySchedule oldRecurrencePolicySchedule) Schedule of the Recurring Order before the Set Schedule update action.voidsetRecurrencePolicySchedule(RecurrencePolicySchedule recurrencePolicySchedule) Schedule of the Recurring Order after the Set Schedule update action.static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderScheduleSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithRecurringOrderScheduleSetMessagePayload(Function<RecurringOrderScheduleSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
RECURRING_ORDER_SCHEDULE_SET
discriminator value for RecurringOrderScheduleSetMessagePayload- See Also:
-
-
Method Details
-
getRecurrencePolicySchedule
Schedule of the Recurring Order after the Set Schedule update action.
- Returns:
- recurrencePolicySchedule
-
getOldRecurrencePolicySchedule
Schedule of the Recurring Order before the Set Schedule update action.
- Returns:
- oldRecurrencePolicySchedule
-
setRecurrencePolicySchedule
Schedule of the Recurring Order after the Set Schedule update action.
- Parameters:
recurrencePolicySchedule- value to be set
-
setOldRecurrencePolicySchedule
Schedule of the Recurring Order before the Set Schedule update action.
- Parameters:
oldRecurrencePolicySchedule- value to be set
-
of
factory method- Returns:
- instance of RecurringOrderScheduleSetMessagePayload
-
of
factory method to create a shallow copy RecurringOrderScheduleSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderScheduleSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static RecurringOrderScheduleSetMessagePayload deepCopy(@Nullable RecurringOrderScheduleSetMessagePayload template) factory method to create a deep copy of RecurringOrderScheduleSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderScheduleSetMessagePayload- Returns:
- builder
-
builder
static RecurringOrderScheduleSetMessagePayloadBuilder builder(RecurringOrderScheduleSetMessagePayload template) create builder for RecurringOrderScheduleSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderScheduleSetMessagePayload
default <T> T withRecurringOrderScheduleSetMessagePayload(Function<RecurringOrderScheduleSetMessagePayload, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderScheduleSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-