Interface BusinessUnitAssociatesSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Associates update action.
Example to create an instance using the builder pattern
BusinessUnitAssociatesSetMessagePayload businessUnitAssociatesSetMessagePayload = BusinessUnitAssociatesSetMessagePayload.builder()
.plusAssociates(associatesBuilder -> associatesBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitAssociatesSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitAssociatesSetMessagePayloadcreate builder for BusinessUnitAssociatesSetMessagePayload instancefactory method to create a deep copy of BusinessUnitAssociatesSetMessagePayloadThe list of Associates that was updated on the Business Unit.of()
factory methodof
(BusinessUnitAssociatesSetMessagePayload template) factory method to create a shallow copy BusinessUnitAssociatesSetMessagePayloadvoid
setAssociates
(Associate... associates) The list of Associates that was updated on the Business Unit.void
setAssociates
(List<Associate> associates) The list of Associates that was updated on the Business Unit.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitAssociatesSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitAssociatesSetMessagePayload
(Function<BusinessUnitAssociatesSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
BUSINESS_UNIT_ASSOCIATES_SET
discriminator value for BusinessUnitAssociatesSetMessagePayload- See Also:
-
-
Method Details
-
getAssociates
The list of Associates that was updated on the Business Unit.
- Returns:
- associates
-
setAssociates
The list of Associates that was updated on the Business Unit.
- Parameters:
associates
- values to be set
-
setAssociates
The list of Associates that was updated on the Business Unit.
- Parameters:
associates
- values to be set
-
of
factory method- Returns:
- instance of BusinessUnitAssociatesSetMessagePayload
-
of
factory method to create a shallow copy BusinessUnitAssociatesSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitAssociatesSetMessagePayload deepCopy(@Nullable BusinessUnitAssociatesSetMessagePayload template) factory method to create a deep copy of BusinessUnitAssociatesSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitAssociatesSetMessagePayload- Returns:
- builder
-
builder
static BusinessUnitAssociatesSetMessagePayloadBuilder builder(BusinessUnitAssociatesSetMessagePayload template) create builder for BusinessUnitAssociatesSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitAssociatesSetMessagePayload
default <T> T withBusinessUnitAssociatesSetMessagePayload(Function<BusinessUnitAssociatesSetMessagePayload, 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<BusinessUnitAssociatesSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-