Package com.commercetools.api.models.me
Interface MyBusinessUnitUpdateAction
- All Known Subinterfaces:
MyBusinessUnitAddAddressAction
,MyBusinessUnitAddBillingAddressIdAction
,MyBusinessUnitAddShippingAddressIdAction
,MyBusinessUnitChangeAddressAction
,MyBusinessUnitChangeAssociateAction
,MyBusinessUnitChangeNameAction
,MyBusinessUnitChangeParentUnitAction
,MyBusinessUnitRemoveAddressAction
,MyBusinessUnitRemoveAssociateAction
,MyBusinessUnitRemoveBillingAddressIdAction
,MyBusinessUnitRemoveShippingAddressIdAction
,MyBusinessUnitSetAddressCustomFieldAction
,MyBusinessUnitSetAddressCustomTypeAction
,MyBusinessUnitSetContactEmailAction
,MyBusinessUnitSetCustomFieldAction
,MyBusinessUnitSetCustomTypeAction
,MyBusinessUnitSetDefaultBillingAddressAction
,MyBusinessUnitSetDefaultShippingAddressAction
public interface MyBusinessUnitUpdateAction
MyBusinessUnitUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
MyBusinessUnitUpdateAction myBusinessUnitUpdateAction = MyBusinessUnitUpdateAction.addAddressBuilder()
address(addressBuilder -> addressBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addAddress subtypebuilder for addBillingAddressId subtypebuilder for addShippingAddressId subtypebuilder for changeAddress subtypebuilder for changeAssociate subtypebuilder for changeName subtypebuilder for changeParentUnit subtypestatic MyBusinessUnitUpdateAction
deepCopy
(MyBusinessUnitUpdateAction template) factory method to create a deep copy of MyBusinessUnitUpdateAction@NotNull String
builder for removeAddress subtypebuilder for removeAssociate subtypebuilder for removeBillingAddressId subtypebuilder for removeShippingAddressId subtypebuilder for setAddressCustomField subtypebuilder for setAddressCustomType subtypebuilder for setContactEmail subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setDefaultBillingAddress subtypebuilder for setDefaultShippingAddress subtypestatic com.fasterxml.jackson.core.type.TypeReference<MyBusinessUnitUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getAction
- Returns:
- action
-
deepCopy
factory method to create a deep copy of MyBusinessUnitUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addAddressBuilder
builder for addAddress subtype- Returns:
- builder
-
addBillingAddressIdBuilder
builder for addBillingAddressId subtype- Returns:
- builder
-
addShippingAddressIdBuilder
builder for addShippingAddressId subtype- Returns:
- builder
-
changeAddressBuilder
builder for changeAddress subtype- Returns:
- builder
-
changeAssociateBuilder
builder for changeAssociate subtype- Returns:
- builder
-
changeNameBuilder
builder for changeName subtype- Returns:
- builder
-
changeParentUnitBuilder
builder for changeParentUnit 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
-
setAddressCustomFieldBuilder
builder for setAddressCustomField subtype- Returns:
- builder
-
setAddressCustomTypeBuilder
builder for setAddressCustomType 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
-
withMyBusinessUnitUpdateAction
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
-