Interface BusinessUnitRemoveAssociateAction
- All Superinterfaces:
BusinessUnitUpdateAction
,ResourceUpdateAction<BusinessUnitUpdateAction>
Removing an Associate from a Business Unit generates a BusinessUnitAssociateRemoved Message.
Example to create an instance using the builder pattern
BusinessUnitRemoveAssociateAction businessUnitRemoveAssociateAction = BusinessUnitRemoveAssociateAction.builder()
.customer(customerBuilder -> customerBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitRemoveAssociateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitRemoveAssociateActionbuilder
(BusinessUnitRemoveAssociateAction template) create builder for BusinessUnitRemoveAssociateAction instancedeepCopy
(BusinessUnitRemoveAssociateAction template) factory method to create a deep copy of BusinessUnitRemoveAssociateAction@NotNull @Valid CustomerResourceIdentifier
Associate to remove.of()
factory methodof
(BusinessUnitRemoveAssociateAction template) factory method to create a shallow copy BusinessUnitRemoveAssociateActionvoid
setCustomer
(CustomerResourceIdentifier customer) Associate to remove.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitRemoveAssociateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.business_unit.BusinessUnitUpdateAction
getAction, withBusinessUnitUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
REMOVE_ASSOCIATE
discriminator value for BusinessUnitRemoveAssociateAction- See Also:
-
-
Method Details
-
getCustomer
Associate to remove.
- Returns:
- customer
-
setCustomer
Associate to remove.
- Parameters:
customer
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitRemoveAssociateAction
-
of
factory method to create a shallow copy BusinessUnitRemoveAssociateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitRemoveAssociateAction deepCopy(@Nullable BusinessUnitRemoveAssociateAction template) factory method to create a deep copy of BusinessUnitRemoveAssociateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitRemoveAssociateAction- Returns:
- builder
-
builder
create builder for BusinessUnitRemoveAssociateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitRemoveAssociateAction
default <T> T withBusinessUnitRemoveAssociateAction(Function<BusinessUnitRemoveAssociateAction, 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<BusinessUnitRemoveAssociateAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-