Interface CustomerUpdateAction
- All Superinterfaces:
ResourceUpdateAction<CustomerUpdateAction>
- All Known Subinterfaces:
CustomerAddAddressAction
,CustomerAddBillingAddressIdAction
,CustomerAddShippingAddressIdAction
,CustomerAddStoreAction
,CustomerChangeAddressAction
,CustomerChangeEmailAction
,CustomerRemoveAddressAction
,CustomerRemoveBillingAddressIdAction
,CustomerRemoveShippingAddressIdAction
,CustomerRemoveStoreAction
,CustomerSetAddressCustomFieldAction
,CustomerSetAddressCustomTypeAction
,CustomerSetAuthenticationModeAction
,CustomerSetCompanyNameAction
,CustomerSetCustomerGroupAction
,CustomerSetCustomerNumberAction
,CustomerSetCustomFieldAction
,CustomerSetCustomTypeAction
,CustomerSetDateOfBirthAction
,CustomerSetDefaultBillingAddressAction
,CustomerSetDefaultShippingAddressAction
,CustomerSetExternalIdAction
,CustomerSetFirstNameAction
,CustomerSetKeyAction
,CustomerSetLastNameAction
,CustomerSetLocaleAction
,CustomerSetMiddleNameAction
,CustomerSetSalutationAction
,CustomerSetStoresAction
,CustomerSetTitleAction
,CustomerSetVatIdAction
CustomerUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
CustomerUpdateAction customerUpdateAction = CustomerUpdateAction.addAddressBuilder()
address(addressBuilder -> addressBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addAddress subtypebuilder for addBillingAddressId subtypebuilder for addShippingAddressId subtypebuilder for addStore subtypebuilder for changeAddress subtypebuilder for changeEmail subtypestatic CustomerUpdateAction
deepCopy
(CustomerUpdateAction template) factory method to create a deep copy of CustomerUpdateAction@NotNull String
builder for removeAddress subtypebuilder for removeBillingAddressId subtypebuilder for removeShippingAddressId subtypebuilder for removeStore subtypebuilder for setAddressCustomField subtypebuilder for setAddressCustomType subtypebuilder for setAuthenticationMode subtypebuilder for setCompanyName subtypebuilder for setCustomerGroup subtypebuilder for setCustomerNumber subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setDateOfBirth subtypebuilder for setDefaultBillingAddress subtypebuilder for setDefaultShippingAddress subtypebuilder for setExternalId subtypebuilder for setFirstName subtypestatic CustomerSetKeyActionBuilder
builder for setKey subtypebuilder for setLastName subtypebuilder for setLocale subtypebuilder for setMiddleName subtypebuilder for setSalutation subtypebuilder for setStores subtypebuilder for setTitle subtypebuilder for setVatId subtypestatic com.fasterxml.jackson.core.type.TypeReference<CustomerUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withCustomerUpdateAction
(Function<CustomerUpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CustomerUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of CustomerUpdateAction- 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
-
addStoreBuilder
builder for addStore subtype- Returns:
- builder
-
changeAddressBuilder
builder for changeAddress subtype- Returns:
- builder
-
changeEmailBuilder
builder for changeEmail subtype- Returns:
- builder
-
removeAddressBuilder
builder for removeAddress 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
-
setAuthenticationModeBuilder
builder for setAuthenticationMode subtype- Returns:
- builder
-
setCompanyNameBuilder
builder for setCompanyName subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setCustomerGroupBuilder
builder for setCustomerGroup subtype- Returns:
- builder
-
setCustomerNumberBuilder
builder for setCustomerNumber subtype- Returns:
- builder
-
setDateOfBirthBuilder
builder for setDateOfBirth subtype- Returns:
- builder
-
setDefaultBillingAddressBuilder
builder for setDefaultBillingAddress subtype- Returns:
- builder
-
setDefaultShippingAddressBuilder
builder for setDefaultShippingAddress subtype- Returns:
- builder
-
setExternalIdBuilder
builder for setExternalId subtype- Returns:
- builder
-
setFirstNameBuilder
builder for setFirstName subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setLastNameBuilder
builder for setLastName subtype- Returns:
- builder
-
setLocaleBuilder
builder for setLocale subtype- Returns:
- builder
-
setMiddleNameBuilder
builder for setMiddleName subtype- Returns:
- builder
-
setSalutationBuilder
builder for setSalutation subtype- Returns:
- builder
-
setStoresBuilder
builder for setStores subtype- Returns:
- builder
-
setTitleBuilder
builder for setTitle subtype- Returns:
- builder
-
setVatIdBuilder
builder for setVatId subtype- Returns:
- builder
-
withCustomerUpdateAction
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
-