Interface BusinessUnitUpdateAction
- All Superinterfaces:
ResourceUpdateAction<BusinessUnitUpdateAction>
- All Known Subinterfaces:
BusinessUnitAddAddressAction
,BusinessUnitAddAssociateAction
,BusinessUnitAddBillingAddressIdAction
,BusinessUnitAddShippingAddressIdAction
,BusinessUnitAddStoreAction
,BusinessUnitChangeAddressAction
,BusinessUnitChangeApprovalRuleModeAction
,BusinessUnitChangeAssociateAction
,BusinessUnitChangeAssociateModeAction
,BusinessUnitChangeNameAction
,BusinessUnitChangeParentUnitAction
,BusinessUnitChangeStatusAction
,BusinessUnitRemoveAddressAction
,BusinessUnitRemoveAssociateAction
,BusinessUnitRemoveBillingAddressIdAction
,BusinessUnitRemoveShippingAddressIdAction
,BusinessUnitRemoveStoreAction
,BusinessUnitSetAddressCustomFieldAction
,BusinessUnitSetAddressCustomTypeAction
,BusinessUnitSetAssociatesAction
,BusinessUnitSetContactEmailAction
,BusinessUnitSetCustomFieldAction
,BusinessUnitSetCustomTypeAction
,BusinessUnitSetDefaultBillingAddressAction
,BusinessUnitSetDefaultShippingAddressAction
,BusinessUnitSetStoreModeAction
,BusinessUnitSetStoresAction
BusinessUnitUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
BusinessUnitUpdateAction businessUnitUpdateAction = BusinessUnitUpdateAction.addAddressBuilder()
address(addressBuilder -> addressBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addAddress subtypebuilder for addAssociate subtypebuilder for addBillingAddressId subtypebuilder for addShippingAddressId subtypebuilder for addStore subtypebuilder for changeAddress subtypebuilder for changeApprovalRuleMode subtypebuilder for changeAssociate subtypebuilder for changeAssociateMode subtypebuilder for changeName subtypebuilder for changeParentUnit subtypebuilder for changeStatus subtypestatic BusinessUnitUpdateAction
deepCopy
(BusinessUnitUpdateAction template) factory method to create a deep copy of BusinessUnitUpdateAction@NotNull String
builder for removeAddress subtypebuilder for removeAssociate subtypebuilder for removeBillingAddressId subtypebuilder for removeShippingAddressId subtypebuilder for removeStore subtypebuilder for setAddressCustomField subtypebuilder for setAddressCustomType subtypebuilder for setAssociates subtypebuilder for setContactEmail subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setDefaultBillingAddress subtypebuilder for setDefaultShippingAddress subtypebuilder for setStoreMode subtypebuilder for setStores subtypestatic com.fasterxml.jackson.core.type.TypeReference<BusinessUnitUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<BusinessUnitUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of BusinessUnitUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addAddressBuilder
builder for addAddress subtype- Returns:
- builder
-
addAssociateBuilder
builder for addAssociate subtype- Returns:
- builder
-
addBillingAddressIdBuilder
builder for addBillingAddressId subtype- Returns:
- builder
-
addShippingAddressIdBuilder
builder for addShippingAddressId subtype- Returns:
- builder
-
addStoreBuilder
builder for addStore subtype- Returns:
- builder
-
changeAddressBuilder
builder for changeAddress subtype- Returns:
- builder
-
changeApprovalRuleModeBuilder
builder for changeApprovalRuleMode subtype- Returns:
- builder
-
changeAssociateBuilder
builder for changeAssociate subtype- Returns:
- builder
-
changeAssociateModeBuilder
builder for changeAssociateMode subtype- Returns:
- builder
-
changeNameBuilder
builder for changeName subtype- Returns:
- builder
-
changeParentUnitBuilder
builder for changeParentUnit subtype- Returns:
- builder
-
changeStatusBuilder
builder for changeStatus subtype- Returns:
- builder
-
removeAddressBuilder
builder for removeAddress subtype- Returns:
- builder
-
removeAssociateBuilder
builder for removeAssociate subtype- Returns:
- builder
-
removeBillingAddressIdBuilder
builder for removeBillingAddressId subtype- Returns:
- builder
-
removeShippingAddressIdBuilder
builder for removeShippingAddressId subtype- Returns:
- builder
-
removeStoreBuilder
builder for removeStore subtype- Returns:
- builder
-
setAddressCustomFieldBuilder
builder for setAddressCustomField subtype- Returns:
- builder
-
setAddressCustomTypeBuilder
builder for setAddressCustomType subtype- Returns:
- builder
-
setAssociatesBuilder
builder for setAssociates subtype- Returns:
- builder
-
setContactEmailBuilder
builder for setContactEmail subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setDefaultBillingAddressBuilder
builder for setDefaultBillingAddress subtype- Returns:
- builder
-
setDefaultShippingAddressBuilder
builder for setDefaultShippingAddress subtype- Returns:
- builder
-
setStoreModeBuilder
builder for setStoreMode subtype- Returns:
- builder
-
setStoresBuilder
builder for setStores subtype- Returns:
- builder
-
withBusinessUnitUpdateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-