Interface BusinessUnitAssociateModeChangedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Change Associate Mode update action.
Example to create an instance using the builder pattern
BusinessUnitAssociateModeChangedMessagePayload businessUnitAssociateModeChangedMessagePayload = BusinessUnitAssociateModeChangedMessagePayload.builder()
.associateMode(BusinessUnitAssociateMode.EXPLICIT)
.oldAssociateMode(BusinessUnitAssociateMode.EXPLICIT)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for BusinessUnitAssociateModeChangedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitAssociateModeChangedMessagePayloadcreate builder for BusinessUnitAssociateModeChangedMessagePayload instancecopyDeep()factory method to create a deep copy of BusinessUnitAssociateModeChangedMessagePayload@NotNull BusinessUnitAssociateModeBusinessUnitAssociateMode of the Business Unit after the Change Associate Mode update action.@NotNull BusinessUnitAssociateModeBusinessUnitAssociateMode of the Business Unit before the Change Associate Mode update action.of()factory methodfactory method to create a shallow copy BusinessUnitAssociateModeChangedMessagePayloadvoidsetAssociateMode(BusinessUnitAssociateMode associateMode) BusinessUnitAssociateMode of the Business Unit after the Change Associate Mode update action.voidsetOldAssociateMode(BusinessUnitAssociateMode oldAssociateMode) BusinessUnitAssociateMode of the Business Unit before the Change Associate Mode update action.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitAssociateModeChangedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithBusinessUnitAssociateModeChangedMessagePayload(Function<BusinessUnitAssociateModeChangedMessagePayload, 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
-
BUSINESS_UNIT_ASSOCIATE_MODE_CHANGED
discriminator value for BusinessUnitAssociateModeChangedMessagePayload- See Also:
-
-
Method Details
-
getAssociateMode
BusinessUnitAssociateMode of the Business Unit after the Change Associate Mode update action.
- Returns:
- associateMode
-
getOldAssociateMode
BusinessUnitAssociateMode of the Business Unit before the Change Associate Mode update action.
- Returns:
- oldAssociateMode
-
setAssociateMode
BusinessUnitAssociateMode of the Business Unit after the Change Associate Mode update action.
- Parameters:
associateMode- value to be set
-
setOldAssociateMode
BusinessUnitAssociateMode of the Business Unit before the Change Associate Mode update action.
- Parameters:
oldAssociateMode- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitAssociateModeChangedMessagePayload
-
of
static BusinessUnitAssociateModeChangedMessagePayload of(BusinessUnitAssociateModeChangedMessagePayload template) factory method to create a shallow copy BusinessUnitAssociateModeChangedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static BusinessUnitAssociateModeChangedMessagePayload deepCopy(@Nullable BusinessUnitAssociateModeChangedMessagePayload template) factory method to create a deep copy of BusinessUnitAssociateModeChangedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitAssociateModeChangedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitAssociateModeChangedMessagePayloadBuilder builder(BusinessUnitAssociateModeChangedMessagePayload template) create builder for BusinessUnitAssociateModeChangedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitAssociateModeChangedMessagePayload
default <T> T withBusinessUnitAssociateModeChangedMessagePayload(Function<BusinessUnitAssociateModeChangedMessagePayload, 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<BusinessUnitAssociateModeChangedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-